projects
/
TransparentIRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added SSL backend for IOMultiplexer
[TransparentIRC.git]
/
src
/
overall.h
diff --git
a/src/overall.h
b/src/overall.h
index 7345c79e0789c8cbec527c5ad624cdf14e575a07..8c2d5276f34b41859d4cec6a75325342aaa4c150 100644
(file)
--- a/
src/overall.h
+++ b/
src/overall.h
@@
-25,6
+25,8
@@
#define IO_READ_BUFLEN 1024
#define IO_MAX_TIMEOUT 10
#define LINELEN 512
#define IO_READ_BUFLEN 1024
#define IO_MAX_TIMEOUT 10
#define LINELEN 512
+#define CMDLEN 512
+#define MAXNUMPARAMS 200
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-44,6
+46,7
@@
#include <netdb.h>
#include <sys/wait.h>
#include <errno.h>
#include <netdb.h>
#include <sys/wait.h>
#include <errno.h>
+#include <fcntl.h>
#endif
#include <unistd.h>
#include <getopt.h>
#endif
#include <unistd.h>
#include <getopt.h>
@@
-82,7
+85,4
@@
#define COMPILER "Unknown"
#endif
#define COMPILER "Unknown"
#endif
-#define timeval_is_bigger(x,y) ((x->tv_sec > y->tv_sec) || (x->tv_sec == y->tv_sec && x->tv_usec > y->tv_usec))
-#define timeval_is_smaler(x,y) ((x->tv_sec < y->tv_sec) || (x->tv_sec == y->tv_sec && x->tv_usec < y->tv_usec))
-
#endif
#endif