freeipa/asn1
Nathaniel McCallum 4bafba06f2 Migrate from #ifndef guards to #pragma once
Using a pragma instead of guards is easier to write, less error prone
and avoids name clashes (a source of very subtle bugs). This pragma
is supported on almost all compilers, including all the compilers we
care about: https://en.wikipedia.org/wiki/Pragma_once#Portability.

This patch does not change the autogenerated files: asn1/asn1c/*.h.

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2016-05-29 14:04:45 +02:00
..
asn1c Add asn1c generated code for keytab controls 2014-11-20 10:52:13 -05:00
configure.ac CONFIGURE: Replace obsolete macros 2016-03-08 20:02:27 +01:00
ipa_asn1.c Fix memory leak in GetKeytabControl asn1 code 2014-11-25 08:23:24 +00:00
ipa_asn1.h Migrate from #ifndef guards to #pragma once 2016-05-29 14:04:45 +02:00
Makefile.am Add asn1c generated code for keytab controls 2014-11-20 10:52:13 -05:00
README Add asn1c generated code for keytab controls 2014-11-20 10:52:13 -05:00

libipaasn1.a is a small static convenience library used by other ipa
binaries and modules. At the moment it is not meant to be a public shared
library and stable interface, but may become one in future.

The only files that should be manually modified are:
* asn1c/ipa.asn1 - when new interfaces are added
* ipa_asn1.[ch] - to add wrappers around interfaces

ipa_asn1.[ch] are the public interface and they SHOULD NOT export generated
structures so that the autogenerated code can change w/o impacting any other
code except the internal library functions.

To regenerate the automatically generated files run the following command:
cd asn1c;
make regenerate

Remember to commit and add any new file to asn1c/Makefile.am