summaryrefslogtreecommitdiff
path: root/src/common/showmsg.h
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-01-15 12:11:08 +0530
committerDastgir <dastgirpojee@rocketmail.com>2015-01-15 12:11:08 +0530
commit06166cac023cefa193926de5a47dd7bc11f298b3 (patch)
tree3e235122b16652e9262736e82d0f0804680aae22 /src/common/showmsg.h
parent9fbeb05aa054b5ed9641460d2639f30812edd957 (diff)
parent3c032b6766ded92ef032862ff3b812cad0eacefd (diff)
downloadhercules-06166cac023cefa193926de5a47dd7bc11f298b3.tar.gz
hercules-06166cac023cefa193926de5a47dd7bc11f298b3.tar.bz2
hercules-06166cac023cefa193926de5a47dd7bc11f298b3.tar.xz
hercules-06166cac023cefa193926de5a47dd7bc11f298b3.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/common/showmsg.h')
-rw-r--r--src/common/showmsg.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/showmsg.h b/src/common/showmsg.h
index f3fb50257..48e763c25 100644
--- a/src/common/showmsg.h
+++ b/src/common/showmsg.h
@@ -76,11 +76,6 @@
#define CL_SPACE " " // space equivalent of the print messages
-extern int stdout_with_ansisequence; //If the color ANSI sequences are to be used. [flaviojs]
-extern int msg_silent; //Specifies how silent the console is. [Skotlex]
-extern int console_msg_log; //Specifies what error messages to log. [Ind]
-extern char timestamp_format[20]; //For displaying Timestamps [Skotlex]
-
enum msg_type {
MSG_NONE,
MSG_STATUS,
@@ -93,8 +88,15 @@ enum msg_type {
MSG_FATALERROR
};
-extern void ClearScreen(void);
#ifdef HERCULES_CORE
+extern int stdout_with_ansisequence; //If the color ANSI sequences are to be used. [flaviojs]
+extern int msg_silent; //Specifies how silent the console is. [Skotlex]
+extern int console_msg_log; //Specifies what error messages to log. [Ind]
+extern char timestamp_format[20]; //For displaying Timestamps [Skotlex]
+
+extern void ClearScreen(void);
+extern int vShowMessage_(enum msg_type flag, const char *string, va_list ap);
+
extern void ShowMessage(const char *, ...) __attribute__((format(printf, 1, 2)));
extern void ShowStatus(const char *, ...) __attribute__((format(printf, 1, 2)));
extern void ShowSQL(const char *, ...) __attribute__((format(printf, 1, 2)));
@@ -117,6 +119,4 @@ extern void ClearScreen(void);
HPExport void (*ShowFatalError) (const char *, ...) __attribute__((format(printf, 1, 2)));
#endif
-extern int vShowMessage_(enum msg_type flag, const char *string, va_list ap);
-
#endif /* COMMON_SHOWMSG_H */