mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
4bafba06f2
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> |
||
---|---|---|
.. | ||
asn1c | ||
configure.ac | ||
ipa_asn1.c | ||
ipa_asn1.h | ||
Makefile.am | ||
README |
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