summaryrefslogtreecommitdiff
path: root/source/groupdb
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
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')
-rw-r--r--source/groupdb/aliasfile.c4
-rw-r--r--source/groupdb/groupfile.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/groupdb/aliasfile.c b/source/groupdb/aliasfile.c
index 00638f94116..c09d6cc23ed 100644
--- a/source/groupdb/aliasfile.c
+++ b/source/groupdb/aliasfile.c
@@ -33,7 +33,7 @@ static char s_readbuf[1024];
static void *startalsfilepwent(BOOL update)
{
- return startfilepwent(lp_smb_alias_file(),
+ return startfileent(lp_smb_alias_file(),
s_readbuf, sizeof(s_readbuf),
&al_file_lock_depth, update);
}
@@ -44,7 +44,7 @@ static void *startalsfilepwent(BOOL update)
static void endalsfilepwent(void *vp)
{
- endfilepwent(vp, &al_file_lock_depth);
+ endfileent(vp, &al_file_lock_depth);
}
/*************************************************************************
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);
}
/*************************************************************************