summaryrefslogtreecommitdiff
path: root/ychat-0.1/msgs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ychat-0.1/msgs.h')
-rw-r--r--ychat-0.1/msgs.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/ychat-0.1/msgs.h b/ychat-0.1/msgs.h
new file mode 100644
index 0000000..65a71e1
--- /dev/null
+++ b/ychat-0.1/msgs.h
@@ -0,0 +1,39 @@
+#ifndef MSGS_H
+#define MSGS_H
+
+// message templates.
+// will post "nickname enters the chat" into the room.
+#define USERENTR " enters the chat<br>\n"
+#define USERLEAV " leaves the chat<br>\n"
+
+// several error messages which will apear by the clients.
+#define E_NONICK "You need to specify a nick name<br><br>"
+#define E_NOTONL "An error occured. Your nick is not online<br><br>"
+#define E_ONLINE "The nick you have specified is already online. Try another nick.<br><br>"
+
+// all the custom messages for verbosity outputs. this messages may not
+// be used for html-template value substituation except the CONTACT and
+// DESCRIP variables. the verbosity output will appear in the standard
+// output of the server.
+// alphabetical ordered.
+#define CFILEOK "Parsing config file "
+#define CFILENO "Failed opening config file "
+#define CONNECT "Receiving connection "
+#define CONTACT "EMail: Snooper@yChat.org, ICQ: 11655527 "
+#define DESCRIP "yChat++ Basic Copyright (C) 2003 Paul C. Buetow "
+#define DOWNMSG "Shutting down "
+#define LOGINPR "Login procedure succeeded for nick "
+#define NEWROOM "Adding room "
+#define REQUEST "Request string "
+#define SEPERAT "----------------------------------------- "
+#define SOCKCRT "Creating server socket "
+#define SOCKERR "Could not create socket. Trying next port "
+#define SOCKRDY "Server socket is ready. See port above "
+#define STARTMS "Starting up "
+#define TECACHE "Caching template "
+#define THREAD1 "Spawning thread ( Mode 1 ) "
+#define THREAD2 "Spawning thread ( Mode 2 ) "
+#define THRPOOL "Refilling thread pool "
+#define VERSION "Version Basic 0.1b (030320) "
+
+#endif