summaryrefslogtreecommitdiff
path: root/src/glob.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-21 16:20:55 +0000
committerPaul Buetow <paul@buetow.org>2010-11-21 16:20:55 +0000
commit6fde6b0fe90abde84011202edd40fe46eb06af44 (patch)
treeef760338c50b4df3ae9cca96347bca962fdbec7e /src/glob.h
parent55b08bd93257d32df76efc4e8e3f49311c39ee82 (diff)
Diffstat (limited to 'src/glob.h')
-rw-r--r--src/glob.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/glob.h b/src/glob.h
index f1d6c95..58ce936 100644
--- a/src/glob.h
+++ b/src/glob.h
@@ -1,12 +1,11 @@
/*:*
*: File: ./src/glob.h
*:
- *: yChat; Homepage: ychat.buetow.org; Version 0.9.0-CURRENT
+ *: yChat; Homepage: www.yChat.org; Version 0.8.3-CURRENT
*:
*: Copyright (C) 2003 Paul C. Buetow, Volker Richter
*: Copyright (C) 2004 Paul C. Buetow
*: Copyright (C) 2005 EXA Digital Solutions GbR
- *: Copyright (C) 2006, 2007 Paul C. Buetow
*:
*: This program is free software; you can redistribute it and/or
*: modify it under the terms of the GNU General Public License
@@ -42,23 +41,18 @@
//<<*
/* FIRST THE YCHAT ONLY OPTIONS */
-#ifdef HAVE_LIBMYSQLCLIENT
-#ifdef HAVE_MYSQL_MYSQL_H
+#ifdef HAVE_LIBMYSQLCLIENT
+#ifdef HAVE_MYSQL_MYSQL_H
#define USE_MYSQL
#define DATABASE
#define DATA_PRINT_QUERIES
#endif
#endif
-#define PUSHSTR 1000
-
-/* The backlog argument defines the maximum length the queue of pending
- connections may grow to.
-*/
-#define BACKLOG 128*8
+#define PUSHSTR 500
#ifdef HAVE_LIBSSL
-#ifdef HAVE_OPENSSL_SSL_H
+#ifdef HAVE_OPENSSL_SSL_H
#define OPENSSL
#endif
#endif
@@ -81,11 +75,11 @@
#endif
#define POSTBUF 1024
-#define READBUF 2048
+#define READBUF 2048
#define READSOCK 2048
-#define SERVMSG
+//#define SERVMSG
//#define CTCSEGV
-#define VERBOSE
+//#define VERBOSE
using namespace std;
@@ -102,8 +96,7 @@ struct dynmod
void *the_module;
};
-typedef enum method_
-{
+typedef enum method_ {
METH_RETSTRING
} method;