about summary refs log tree commit diff
path: root/include/grp.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 19:58:36 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 19:58:36 +0000
commited073f0e6249dc1bcecb3f72fa941d01b516be3f (patch)
tree8dfe5133dfe2d1516103f7f46cca1ff44bdb4f01 /include/grp.h
parent27ee0a559513db0d0e650761b6f4268b39199c74 (diff)
downloadglibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.gz
glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.xz
glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.zip
Add prototype for foo.
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/grp.h b/include/grp.h
index bb5a0408b5..6b13ea1b3d 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -4,6 +4,8 @@
 /* Now define the internal interfaces.  */
 extern int __getgrent_r (struct group *__resultbuf, char *buffer,
 			 size_t __buflen, struct group **__result);
+extern int __old_getgrent_r (struct group *__resultbuf, char *buffer,
+			     size_t __buflen, struct group **__result);
 extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
 			  char *buffer, size_t __buflen,
 			  struct group **__result);
@@ -12,11 +14,22 @@ extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
 extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf,
 			 char *__buffer, size_t __buflen,
 			 struct group **__result);
+extern int __old_getgrgid_r (__gid_t __gid, struct group *__resultbuf,
+			     char *__buffer, size_t __buflen,
+			     struct group **__result);
 
 /* Search for an entry with a matching group name.  */
 extern int __getgrnam_r (__const char *__name, struct group *__resultbuf,
 			 char *__buffer, size_t __buflen,
 			 struct group **__result);
+extern int __old_getgrnam_r (__const char *__name, struct group *__resultbuf,
+			     char *__buffer, size_t __buflen,
+			     struct group **__result);
+
+struct parser_data;
+extern int _nss_files_parse_grent (char *line, struct group *result,
+				   struct parser_data *data,
+				   size_t datalen, int *errnop);
 
 #define DECLARE_NSS_PROTOTYPES(service)					   \
 extern enum nss_status _nss_ ## service ## _setgrent (int);		   \