comparison src/group.c @ 54:125d79c9e586 noffle

[svn] * src/client.c, src/configfile.c, src/content.c, src/control.c, src/database.c, src/dynamicstring.c, src/fetch.c, src/fetchlist.c, src/group.c, src/itemlist.c, src/lock.c, src/log.c, src/noffle.c, src/online.c, src/outgoing.c, src/over.c, src/post.c, src/protocol.c, src/pseudo.c, src/request.c, src/server.c, src/util.c: Added portable.h #include. * src/client.h, src/database.h, src/fetch.c, src/group.h, src/lock.c, src/outgoing.c, src/over.c, src/over.h, src/pseudo.c, src/server.c, src/util.c, src/util.h: Added some #ifdefs to correctly include either time.h or sys/time.h or both, depending on which are found. * src/noffle.c: Changed the return-type of the signal-handlers bugReport() and logSignal() to RETSIGTYPE, which is either void or int, depending on the system you compile on (autoconf #defines the RETSIGTYPE).
author uh1763
date Tue, 09 May 2000 23:28:38 +0100
parents 2842f50feb55
children adf0af5152f7
comparison
equal deleted inserted replaced
53:9f3a4eccce32 54:125d79c9e586
5 the groups we know of. One database record is cached in the global struct 5 the groups we know of. One database record is cached in the global struct
6 grp. Group information is transfered between the grp and the database by 6 grp. Group information is transfered between the grp and the database by
7 loadGrp() and saveGrp(). This is done transparently. Access to the groups 7 loadGrp() and saveGrp(). This is done transparently. Access to the groups
8 database is done by group name, by the functions defined in group.h. 8 database is done by group name, by the functions defined in group.h.
9 9
10 $Id: group.c 49 2000-05-05 21:45:56Z uh1763 $ 10 $Id: group.c 60 2000-05-09 22:28:38Z uh1763 $
11 */ 11 */
12 12
13 #if HAVE_CONFIG_H 13 #if HAVE_CONFIG_H
14 #include <config.h> 14 #include <config.h>
15 #endif 15 #endif
21 #include <fcntl.h> 21 #include <fcntl.h>
22 #include <sys/stat.h> 22 #include <sys/stat.h>
23 #include "configfile.h" 23 #include "configfile.h"
24 #include "log.h" 24 #include "log.h"
25 #include "util.h" 25 #include "util.h"
26 #include "portable.h"
26 27
27 /* currently only used within grp */ 28 /* currently only used within grp */
28 typedef struct 29 typedef struct
29 { 30 {
30 int first; /* number of first article within group */ 31 int first; /* number of first article within group */