Mercurial > noffle
comparison src/group.c @ 197:24d4cd032da5 noffle
[svn] * AUTHORS,INSTALL,NEWS,README,TODO,docs/NOTES,src/client.c,src/protocol.c,
src/protocol.h,src/server.c: Merge with latest 1.0 branch. I do not
intend to do any further merges from the 1.0 branch; future changes to
1.0 should be carried over by hand if necessary.
* src/configfile.c,src/content.c,src/control.c,src/database.c,
src/dynamicstring.c,src/fetch.c,src/filter.c,src/group.c,
src/itemlist.c,src/lock.c,src/outgoing.c,src/over.c,src/post.c,
src/pseudo.c,src/request.c,src/util.c: Minor includes rearrangement.
author | bears |
---|---|
date | Wed, 31 Oct 2001 11:44:53 +0000 |
parents | 021d145e34e9 |
children | 1ad2602f57db |
comparison
equal
deleted
inserted
replaced
196:60a70c16d79c | 197:24d4cd032da5 |
---|---|
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 312 2001-10-22 13:41:43Z bears $ | 10 $Id: group.c 316 2001-10-31 11:44:53Z bears $ |
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 |
16 | 16 |
17 #include <stdio.h> | 17 #include <stdio.h> |
18 #include "group.h" | |
19 #include <gdbm.h> | 18 #include <gdbm.h> |
20 #include <errno.h> | 19 #include <errno.h> |
21 #include <fcntl.h> | 20 #include <fcntl.h> |
22 #include <sys/stat.h> | 21 #include <sys/stat.h> |
23 #include "configfile.h" | 22 #include "configfile.h" |
23 #include "group.h" | |
24 #include "log.h" | 24 #include "log.h" |
25 #include "util.h" | 25 #include "util.h" |
26 #include "portable.h" | 26 #include "portable.h" |
27 | 27 |
28 /* currently only used within grp */ | 28 /* currently only used within grp */ |