summaryrefslogtreecommitdiff
path: root/source/groupdb/groupfile.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-13 19:54:40 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-13 19:54:40 +0000
commitef6df590fdf65a6d94b343998bac3a4d48ae07e0 (patch)
tree27c5c61343fce32257ee2d0e8680980ffa9ce0e4 /source/groupdb/groupfile.c
parent5d1fad53c2bdfef63930e0b9d5cc460c9740066e (diff)
downloadsamba-ef6df590fdf65a6d94b343998bac3a4d48ae07e0.tar.gz
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.
Diffstat (limited to 'source/groupdb/groupfile.c')
-rw-r--r--source/groupdb/groupfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/groupdb/groupfile.c b/source/groupdb/groupfile.c
index 0e10b801d81..dba190ce569 100644
--- a/source/groupdb/groupfile.c
+++ b/source/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);
}
/*************************************************************************