Mercurial > noffle
diff 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 |
line wrap: on
line diff
--- a/src/group.h Tue Dec 18 15:24:49 2001 +0000 +++ b/src/group.h Tue Dec 18 15:27:08 2001 +0000 @@ -3,7 +3,7 @@ Groups database - $Id: group.h 310 2001-10-20 13:23:46Z bears $ + $Id: group.h 358 2001-12-18 15:27:08Z mirkol $ */ #ifndef GRP_H @@ -117,7 +117,7 @@ void Grp_setLastPostTime( const char *name ); -/* Begin iterating trough the names of all groups. Store name of first +/* Begin iterating through the names of all groups. Store name of first group (or NULL if there aren't any) in name. Returns whether there are any groups. */ Bool @@ -129,4 +129,10 @@ Bool Grp_nextGrp( const char **name ); +/* Check group name for validity. Returns false if the group name is + invalid. It should be called before Grp_create() or before deleting an + overview file. This function doesn't call Grp_exists(), though. */ +Bool +Grp_isValidGroupName( const char *name ); + #endif