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/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/proto.h') 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); -- cgit