X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=babel%2Fregister.c;fp=babel%2Fregister.c;h=22bbed5b095d1d6ff5e1bc3bb73594c37f40fdc3;hb=6fd0347f330cb24ef6145662023053a1c0f81a64;hp=0000000000000000000000000000000000000000;hpb=7d14a66ee234db0898de6fabb8f850ebc4bb733a;p=projects%2Fchimara%2Fchimara.git diff --git a/babel/register.c b/babel/register.c new file mode 100644 index 0000000..22bbed5 --- /dev/null +++ b/babel/register.c @@ -0,0 +1,36 @@ +/* register.c Register modules for the babel handler api + * + * 2006 by L. Ross Raszewski + * + * This code is freely usable for all purposes. + * + * This work is licensed under the Creative Commons Attribution2.5 License. + * To view a copy of this license, visit + * http://creativecommons.org/licenses/by/2.5/ or send a letter to + * Creative Commons, + * 543 Howard Street, 5th Floor, + * San Francisco, California, 94105, USA. + * + * This file depends on modules.h + * + * The purpose of this file is to create the treaty_registry array. + * This array is a null-terminated list of the known treaty modules. + */ + +#include +#include "modules.h" + + +TREATY treaty_registry[] = { + #define TREATY_REGISTER + #include "modules.h" + NULL + }; + +TREATY container_registry[] = { + #define CONTAINER_REGISTER + #include "modules.h" + NULL + +}; +