83d4c6ddb59b4c922db7d654871397f71a846888
				
			
			
		
	 Nicolas Williams
		
	
	83d4c6ddb5
	
	
	asn1: Circular types and Topo. sort declarations
			Nicolas Williams
		
	
	83d4c6ddb5
	
	
	asn1: Circular types and Topo. sort declarations
		
			
			Many external ASN.1 modules that we have imported over time define types
like this:
  Foo ::= SEQUENCE { bar Bar }
  Bar ::= SEQUENCE { aMember INTEGER }
and before this change one had to re-order the definitions so that the
one for `Bar` came first.  No more.
We can now have out of order definitions in ASN.1 modules and the
compiler will topologically sort output C type declarations so that one
no longer has to manually sort types in ASN.1 modules when importing
them.
Besides that, it is now possible to create circular data types using
OPTIONAL since we generate such fields as pointers (which can then be
pointers to incomplete struct declarations):
  Circular ::= SEQUENCE {
          name UTF8String,
          next Circular OPTIONAL
  }
Circular types aren't necessarily useful, but they have been used in the
past.  E.g., the rpc.mountd protocol uses a circular type as a linked
list -- it should just have used an array, of course, as that's
semantically equivalent but more space efficient in its encoding, but
the point is that such types exist out there.
		
	
Heimdal
Heimdal is an implementation of:
- ASN.1/DER,
- PKIX, and
- Kerberos.
For information how to install see here.
There are man pages for most of the commands.
Bug reports and bugs are appreciated. Use GitHub issues.
For more information see the project homepage https://heimdal.software/heimdal/ or the mailing lists:
heimdal-announce@heimdal.software low-volume announcement heimdal-discuss@heimdal.software high-volume discussion
send mail to heimdal-announce-subscribe@heimdal.software and heimdal-discuss-subscribe@heimdal.software respectively to subscribe.
Build Status
Description
				
					Languages
				
				
								
								
									C
								
								92.1%
							
						
							
								
								
									Roff
								
								2.8%
							
						
							
								
								
									Shell
								
								2.3%
							
						
							
								
								
									Makefile
								
								0.7%
							
						
							
								
								
									M4
								
								0.5%
							
						
							
								
								
									Other
								
								1.4%