X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FModuleFunctions.h;fp=src%2FModuleFunctions.h;h=51281d3f5362450e6eba270d8d3bc06c1e05516c;hb=ee3a72eb4a412a0a504d070db1b41c6907f7604d;hp=0000000000000000000000000000000000000000;hpb=939c6051a3ee85e3b3877fde35bdbf36ecb94fbc;p=NeonServV5.git diff --git a/src/ModuleFunctions.h b/src/ModuleFunctions.h new file mode 100644 index 0000000..51281d3 --- /dev/null +++ b/src/ModuleFunctions.h @@ -0,0 +1,34 @@ +/* ModuleFunctions.h - NeonServ v5.4 + * Copyright (C) 2011-2012 Philipp Kreil (pk910) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef _ModuleFunctions_h +#define _ModuleFunctions_h +#include "overall.h" + +#ifndef DND_FUNCTIONS +struct ModuleInfo; +struct ChanNode; + +void init_modulefunctions(); +void scan_module(struct ModuleInfo *module); +void free_module_functions(struct ModuleInfo *module); + +/* MODULAR ACCESSIBLE */ void module_global_cmd_register_neonbackup(char *chan); +/* MODULAR ACCESSIBLE */ void module_global_cmd_unregister_neonbackup(char *chan); +/* MODULAR ACCESSIBLE */ void module_neonbackup_recover_chan(struct ChanNode *chan); + +#endif +#endif