summaryrefslogtreecommitdiff
path: root/src/common/core.h
diff options
context:
space:
mode:
authorMysterious <mysteriousragnarok@hotmail.com>2013-02-14 18:56:08 -0800
committerMysterious <mysteriousragnarok@hotmail.com>2013-02-14 18:56:08 -0800
commit7fa99e3524cb9cafdc797bcfc779ae5e0f730c8e (patch)
tree3a6cb20957b1486d92f7f017e0e6048951112d87 /src/common/core.h
parent52e8c428bfc64a2285710256496331bfff19b651 (diff)
parent74c31098137aae3e0bfc962e4685a7050409df78 (diff)
downloadhercules-7fa99e3524cb9cafdc797bcfc779ae5e0f730c8e.tar.gz
hercules-7fa99e3524cb9cafdc797bcfc779ae5e0f730c8e.tar.bz2
hercules-7fa99e3524cb9cafdc797bcfc779ae5e0f730c8e.tar.xz
hercules-7fa99e3524cb9cafdc797bcfc779ae5e0f730c8e.zip
Merge pull request #4 from HerculesWS/master
Merging Hercules Changes
Diffstat (limited to 'src/common/core.h')
-rw-r--r--src/common/core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/core.h b/src/common/core.h
index f619d821f..8007e6036 100644
--- a/src/common/core.h
+++ b/src/common/core.h
@@ -16,6 +16,8 @@ extern char **arg_v;
extern int buildbotflag;
#endif
+#define HERC_UNKNOWN_VER '\x02'
+
/// @see E_CORE_ST
extern int runflag;
extern char *SERVER_NAME;
@@ -31,7 +33,8 @@ enum {
extern char SERVER_TYPE;
extern int parse_console(const char* buf);
-extern const char *get_svn_revision(void);
+const char *get_svn_revision(void);
+const char *get_git_hash (void);
extern int do_init(int,char**);
extern void set_server_type(void);
extern void do_abort(void);