Mercurial > noffle
comparison src/group.c @ 102:38b0a1532a37 noffle
[svn] Only track remote message no when subscribed
author | bears |
---|---|
date | Mon, 05 Jun 2000 09:57:05 +0100 |
parents | adf0af5152f7 |
children | 3c71e28c8eef |
comparison
equal
deleted
inserted
replaced
101:ce8191c38f44 | 102:38b0a1532a37 |
---|---|
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 67 2000-05-12 17:19:38Z enz $ | 10 $Id: group.c 135 2000-06-05 08:57:05Z 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 |
175 Utl_cpyStr( grp.name, name ); | 175 Utl_cpyStr( grp.name, name ); |
176 Utl_cpyStr( grp.serv, "(unknown)" ); | 176 Utl_cpyStr( grp.serv, "(unknown)" ); |
177 grp.dsc[ 0 ] = '\0'; | 177 grp.dsc[ 0 ] = '\0'; |
178 grp.entry.first = 1; | 178 grp.entry.first = 1; |
179 grp.entry.last = 0; | 179 grp.entry.last = 0; |
180 grp.entry.rmtNext = 0; | 180 grp.entry.rmtNext = GRP_RMT_NEXT_NOT_SUBSCRIBED; |
181 grp.entry.created = 0; | 181 grp.entry.created = 0; |
182 grp.entry.lastAccess = 0; | 182 grp.entry.lastAccess = 0; |
183 grp.postAllow = 'y'; | 183 grp.postAllow = 'y'; |
184 saveGrp(); | 184 saveGrp(); |
185 } | 185 } |