X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules.h;h=cbb496a61d5e2ceb8b643cd1667b64d6394e31d5;hb=406c308308e4d131475a692cd425cb156e0776f1;hp=9df733f97b609b483d22179e0b3fa59dcdb08059;hpb=8b89857bfaca58d04c19b31a73f1d7d8575940db;p=NeonServV5.git diff --git a/src/modules.h b/src/modules.h index 9df733f..cbb496a 100644 --- a/src/modules.h +++ b/src/modules.h @@ -1,4 +1,4 @@ -/* modules.h - NeonServ v5.3 +/* modules.h - NeonServ v5.4 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -16,6 +16,7 @@ */ #ifndef _modules_h #define _modules_h +#include "main.h" #define MODINFO_STATE_STARTED 0x01 #define MODINFO_STATE_PROTECTED 0x02 @@ -43,6 +44,8 @@ void loop_modules(); void stop_modules(); int module_loaded(int module_id); +/* MODULAR ACCESSIBLE */ char *get_module_name(int module_id); + int ext_load_module(char *name); int ext_unload_module(char *name); int ext_reload_module(char *name);