summaryrefslogtreecommitdiff
path: root/src/common/console.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-09-15 15:53:01 +0200
committerHaru <haru@dotalux.com>2015-10-11 00:24:21 +0200
commitb1dd87824f4fa0bca7817a030f71a7aca2dd7c6e (patch)
tree1e0f0fa89714f095461e40b83b3a0eed95dd83ff /src/common/console.h
parent4d806399aa529431f6c2a347930d91177d8a2bfa (diff)
downloadhercules-b1dd87824f4fa0bca7817a030f71a7aca2dd7c6e.tar.gz
hercules-b1dd87824f4fa0bca7817a030f71a7aca2dd7c6e.tar.bz2
hercules-b1dd87824f4fa0bca7817a030f71a7aca2dd7c6e.tar.xz
hercules-b1dd87824f4fa0bca7817a030f71a7aca2dd7c6e.zip
Changed console->input->cmd_list to a VECTOR and renamed to console->input->command_list
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/console.h')
-rw-r--r--src/common/console.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/console.h b/src/common/console.h
index ffb4a165b..35a83da52 100644
--- a/src/common/console.h
+++ b/src/common/console.h
@@ -5,6 +5,7 @@
#define COMMON_CONSOLE_H
#include "common/hercules.h"
+#include "common/db.h"
#include "common/mutex.h"
#include "common/spinlock.h"
#include "common/sql.h"
@@ -51,10 +52,9 @@ struct console_input_interface {
ramutex *ptmutex;/* parse thread mutex */
racond *ptcond;/* parse thread cond */
/* */
- struct CParseEntry **cmd_list;
+ VECTOR_DECL(struct CParseEntry *) command_list;
struct CParseEntry **cmds;
unsigned int cmd_count;
- unsigned int cmd_list_count;
/* */
Sql *SQL;
/* */