X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodcmd.h;h=4ba89a96a4090ed2df73fc3f135673c589242bf6;hb=5eee43a7cfa37d5dd8d8a612a94de09a048b30c0;hp=7df181c7e5992ac4712b3996b8bfd9817fb0ab6c;hpb=ea3d053ce9a94ec944710faa11de948dc48b5d76;p=NeonServV5.git diff --git a/src/modcmd.h b/src/modcmd.h index 7df181c..4ba89a9 100644 --- a/src/modcmd.h +++ b/src/modcmd.h @@ -1,4 +1,4 @@ -/* modcmd.h - NeonServ v5.0 +/* modcmd.h - NeonServ v5.2 * Copyright (C) 2011 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -30,6 +30,10 @@ #define CMDFLAG_CHAN_PARAM 0x0080 #define CMDFLAG_LOG 0x0100 #define CMDFLAG_OPLOG 0x0200 +#define CMDFLAG_EMPTY_ARGS 0x0400 +#define CMDFLAG_REQUIRED 0x0800 +#define CMDFLAG_TEMPONARY_BIND 0x1000 +#define CMDFLAG_FUNCMD 0x2000 struct ClientSocket; struct UserNode; @@ -87,5 +91,9 @@ void bind_set_parameters(int botid, char *cmd, char *parameters); void bind_set_global_access(int botid, char *cmd, int gaccess); void bind_set_channel_access(int botid, char *cmd, char *chanaccess); struct cmd_binding *find_cmd_binding(int botid, char *cmd); +void bind_unbound_required_functions(int botid); + +void register_command_alias(int botid, char *alias); +struct cmd_binding *getAllBinds(struct cmd_binding *last); #endif \ No newline at end of file