Mercurial > hg
comparison mcabber/src/server.c @ 28:0cd8025eebee
[/trunk] Changeset 44 by mikael
* Some more fixes.
* We can now build with GNU99 gcc extensions.
author | mikael |
---|---|
date | Mon, 28 Mar 2005 10:36:47 +0000 |
parents | 77e6bd2ccde6 |
children |
comparison
equal
deleted
inserted
replaced
27:77e6bd2ccde6 | 28:0cd8025eebee |
---|---|
2 #include <netdb.h> | 2 #include <netdb.h> |
3 #include <stdio.h> | 3 #include <stdio.h> |
4 #include <stdlib.h> | 4 #include <stdlib.h> |
5 #include <string.h> | 5 #include <string.h> |
6 #include <sys/poll.h> | 6 #include <sys/poll.h> |
7 #include <sys/types.h> | |
8 #include <sys/socket.h> | |
9 #include <sys/select.h> | |
7 | 10 |
8 #include "list.h" | 11 #include "list.h" |
9 #include "parsecfg.h" | 12 #include "parsecfg.h" |
10 #include "screen.h" | 13 #include "screen.h" |
11 #include "socket.h" | 14 #include "socket.h" |
14 #include "harddefines.h" | 17 #include "harddefines.h" |
15 #include "utils.h" | 18 #include "utils.h" |
16 #include "buddies.h" | 19 #include "buddies.h" |
17 | 20 |
18 #define JABBERPORT 5222 | 21 #define JABBERPORT 5222 |
19 | |
20 | 22 |
21 /* Desc: poll data from server | 23 /* Desc: poll data from server |
22 * | 24 * |
23 * In : socket | 25 * In : socket |
24 * Out : pending buffer (or NULL if no incoming data) | 26 * Out : pending buffer (or NULL if no incoming data) |