summaryrefslogtreecommitdiff
path: root/source3/include
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
commit0ad513f42c10266bf4ab61089eb212efd05366f6 (patch)
treef0994c930cbf4ef4ef8c5b90c9096b920c0a28a9 /source3/include
parentd2b2dff2e854a73a8b80eb4b23f19a540ce3afe1 (diff)
downloadsamba-0ad513f42c10266bf4ab61089eb212efd05366f6.tar.gz
samba-0ad513f42c10266bf4ab61089eb212efd05366f6.tar.bz2
samba-0ad513f42c10266bf4ab61089eb212efd05366f6.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 182c74ed6f..97398c553c 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -490,9 +490,9 @@ BOOL become_user_permanently(uid_t uid, gid_t gid);
BOOL do_file_lock(int fd, int waitsecs, int type);
BOOL file_lock(int fd, int type, int secs, int *plock_depth);
BOOL file_unlock(int fd, int *plock_depth);
-void *startfilepwent(char *pfile, char *s_readbuf, int bufsize,
+void *startfileent(char *pfile, char *s_readbuf, int bufsize,
int *file_lock_depth, BOOL update);
-void endfilepwent(void *vp, int *file_lock_depth);
+void endfileent(void *vp, int *file_lock_depth);
SMB_BIG_UINT getfilepwpos(void *vp);
BOOL setfilepwpos(void *vp, SMB_BIG_UINT tok);
int getfileline(void *vp, char *linebuf, int linebuf_size);