| 1 | /* register.c Register modules for the babel handler api |
| 2 | * |
| 3 | * 2006 by L. Ross Raszewski |
| 4 | * |
| 5 | * This code is freely usable for all purposes. |
| 6 | * |
| 7 | * This work is licensed under the Creative Commons Attribution 4.0 License. |
| 8 | * To view a copy of this license, visit |
| 9 | * https://creativecommons.org/licenses/by/4.0/ or send a letter to |
| 10 | * Creative Commons, |
| 11 | * PO Box 1866, |
| 12 | * Mountain View, CA 94042, USA. |
| 13 | * |
| 14 | * This file depends on modules.h |
| 15 | * |
| 16 | * The purpose of this file is to create the treaty_registry array. |
| 17 | * This array is a null-terminated list of the known treaty modules. |
| 18 | */ |
| 19 | |
| 20 | #include <stdlib.h> |
| 21 | #include "modules.h" |
| 22 | |
| 23 | |
| 24 | TREATY treaty_registry[] = { |
| 25 | #define TREATY_REGISTER |
| 26 | #include "modules.h" |
| 27 | NULL |
| 28 | }; |
| 29 | |
| 30 | TREATY container_registry[] = { |
| 31 | #define CONTAINER_REGISTER |
| 32 | #include "modules.h" |
| 33 | NULL |
| 34 | |
| 35 | }; |
| 36 |