summaryrefslogtreecommitdiff
path: root/glob.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:46 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:46 +0200
commit07706f56cd421bf8b101a5c0fe44674d36e161a0 (patch)
treebec8b45765788370fbd148d68e05d8b437e60670 /glob.h
parent56187184e11b085b82584d3b088c62f427aae83c (diff)
tagging ychat-0.5.1ychat-0.5.1
Diffstat (limited to 'glob.h')
-rwxr-xr-xglob.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/glob.h b/glob.h
index 37741f8..6f89ef1 100755
--- a/glob.h
+++ b/glob.h
@@ -23,7 +23,12 @@
// definition for verbosity level 0 ( normal outputs ). see vmsg.h for custumizing all
// the messages. this messages will only printed out by the master thread.
-#define _VERBOSE
+#define VERBOSE
+
+// Defines the amount of newlines which have to send to the client's
+// chat stream the first log-in. ( prevents white screen because of buffers
+// or proxies ).
+#define PUSHSTR 1000
//////////////////////////////////////////////////////////////////////////////////////////
@@ -47,10 +52,17 @@ enum rang
// some custom typedefs for datatypes which are needed often.
typedef map<string, string> map_string;
+typedef int function( void *v_arg );
struct container
{
void* elem[3];
};
+struct dynmod
+{
+ function *the_func ;
+ void *the_module;
+};
+
#endif