comparison src/group.c @ 61:adf0af5152f7 noffle

[svn] Renamed some variables and function names, because they caused compiler warnings because of shadowing global variables from system include files (index, stat, serv).
author enz
date Fri, 12 May 2000 18:19:38 +0100
parents 125d79c9e586
children 38b0a1532a37
comparison
equal deleted inserted replaced
60:defaa632baae 61:adf0af5152f7
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 60 2000-05-09 22:28:38Z uh1763 $ 10 $Id: group.c 67 2000-05-12 17:19:38Z enz $
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
202 return NULL; 202 return NULL;
203 return grp.dsc; 203 return grp.dsc;
204 } 204 }
205 205
206 const char * 206 const char *
207 Grp_serv( const char *name ) 207 Grp_server( const char *name )
208 { 208 {
209 static Str serv = ""; 209 static Str serv = "";
210 210
211 if ( ! loadGrp( name ) ) 211 if ( ! loadGrp( name ) )
212 return "[unknown grp]"; 212 return "[unknown grp]";