comparison src/group.h @ 228:1ad2602f57db noffle

[svn] see Changelog Dec 18 2001
author mirkol
date Tue, 18 Dec 2001 15:27:08 +0000
parents 28488e0e3630
children 93d5d8b098da
comparison
equal deleted inserted replaced
227:c48d7e881a21 228:1ad2602f57db
1 /* 1 /*
2 group.h 2 group.h
3 3
4 Groups database 4 Groups database
5 5
6 $Id: group.h 310 2001-10-20 13:23:46Z bears $ 6 $Id: group.h 358 2001-12-18 15:27:08Z mirkol $
7 */ 7 */
8 8
9 #ifndef GRP_H 9 #ifndef GRP_H
10 #define GRP_H 10 #define GRP_H
11 11
115 Grp_setPostAllow( const char *name, char postAllow ); 115 Grp_setPostAllow( const char *name, char postAllow );
116 116
117 void 117 void
118 Grp_setLastPostTime( const char *name ); 118 Grp_setLastPostTime( const char *name );
119 119
120 /* Begin iterating trough the names of all groups. Store name of first 120 /* Begin iterating through the names of all groups. Store name of first
121 group (or NULL if there aren't any) in name. Returns whether there are 121 group (or NULL if there aren't any) in name. Returns whether there are
122 any groups. */ 122 any groups. */
123 Bool 123 Bool
124 Grp_firstGrp( const char **name ); 124 Grp_firstGrp( const char **name );
125 125
127 group (or NULL if there aren't any more) in name. Returns TRUE on 127 group (or NULL if there aren't any more) in name. Returns TRUE on
128 success, FALSE when there are no more groups. */ 128 success, FALSE when there are no more groups. */
129 Bool 129 Bool
130 Grp_nextGrp( const char **name ); 130 Grp_nextGrp( const char **name );
131 131
132 /* Check group name for validity. Returns false if the group name is
133 invalid. It should be called before Grp_create() or before deleting an
134 overview file. This function doesn't call Grp_exists(), though. */
135 Bool
136 Grp_isValidGroupName( const char *name );
137
132 #endif 138 #endif