From 0ad513f42c10266bf4ab61089eb212efd05366f6 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 13 Jul 1999 19:54:40 +0000 Subject: renamed getfilepwent() and endfilepwent() to getfileent() and endfileent() as they are generic "file line-by-line" reading routines. lines with "#" at the front are ignored (as comments). this code started out as the password file reading code. (This used to be commit ef6df590fdf65a6d94b343998bac3a4d48ae07e0) --- source3/groupdb/groupfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/groupdb/groupfile.c') diff --git a/source3/groupdb/groupfile.c b/source3/groupdb/groupfile.c index 0e10b801d8..dba190ce56 100644 --- a/source3/groupdb/groupfile.c +++ b/source3/groupdb/groupfile.c @@ -36,7 +36,7 @@ extern fstring global_sam_name; static void *startgrpfilepwent(BOOL update) { - return startfilepwent(lp_smb_group_file(), + return startfileent(lp_smb_group_file(), s_readbuf, sizeof(s_readbuf), &gp_file_lock_depth, update); } @@ -47,7 +47,7 @@ static void *startgrpfilepwent(BOOL update) static void endgrpfilepwent(void *vp) { - endfilepwent(vp, &gp_file_lock_depth); + endfileent(vp, &gp_file_lock_depth); } /************************************************************************* -- cgit