]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nscd/nscd_proto.h
alloc_buffer: Return unqualified pointer type in alloc_buffer_next
[thirdparty/glibc.git] / nscd / nscd_proto.h
index 573ca2b2e7d1f9cfb19dc9bc4bf2d19c11138b81..a47b531b5709c97e1c5ce9c7f99e4b6e4a143557 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2000, 2002, 2004, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@suse.de>, 1998.
 
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _NSCD_PROTO_H
 #define _NSCD_PROTO_H 1
@@ -36,40 +35,53 @@ extern int __nss_not_use_nscd_passwd attribute_hidden;
 extern int __nss_not_use_nscd_group attribute_hidden;
 extern int __nss_not_use_nscd_hosts attribute_hidden;
 extern int __nss_not_use_nscd_services attribute_hidden;
+extern int __nss_not_use_nscd_netgroup attribute_hidden;
 
 extern int __nscd_getpwnam_r (const char *name, struct passwd *resultbuf,
                              char *buffer, size_t buflen,
-                             struct passwd **result);
+                             struct passwd **result) attribute_hidden;
 extern int __nscd_getpwuid_r (uid_t uid, struct passwd *resultbuf,
                              char *buffer,  size_t buflen,
-                             struct passwd **result);
+                             struct passwd **result) attribute_hidden;
 extern int __nscd_getgrnam_r (const char *name, struct group *resultbuf,
                              char *buffer, size_t buflen,
-                             struct group **result);
+                             struct group **result) attribute_hidden;
 extern int __nscd_getgrgid_r (gid_t gid, struct group *resultbuf,
                              char *buffer,  size_t buflen,
-                             struct group **result);
+                             struct group **result) attribute_hidden;
 extern int __nscd_gethostbyname_r (const char *name,
                                   struct hostent *resultbuf,
                                   char *buffer, size_t buflen,
-                                  struct hostent **result, int *h_errnop);
+                                  struct hostent **result, int *h_errnop)
+     attribute_hidden;
 extern int __nscd_gethostbyname2_r (const char *name, int af,
                                    struct hostent *resultbuf,
                                    char *buffer, size_t buflen,
-                                   struct hostent **result, int *h_errnop);
+                                   struct hostent **result, int *h_errnop)
+     attribute_hidden;
 extern int __nscd_gethostbyaddr_r (const void *addr, socklen_t len, int type,
                                   struct hostent *resultbuf,
                                   char *buffer, size_t buflen,
-                                  struct hostent **result, int *h_errnop);
+                                  struct hostent **result, int *h_errnop)
+     attribute_hidden;
 extern int __nscd_getai (const char *key, struct nscd_ai_result **result,
-                        int *h_errnop);
+                        int *h_errnop) attribute_hidden;
 extern int __nscd_getgrouplist (const char *user, gid_t group, long int *size,
-                               gid_t **groupsp, long int limit);
+                               gid_t **groupsp, long int limit)
+     attribute_hidden;
 extern int __nscd_getservbyname_r (const char *name, const char *proto,
                                   struct servent *result_buf, char *buf,
-                                  size_t buflen, struct servent **result);
+                                  size_t buflen, struct servent **result)
+     attribute_hidden;
 extern int __nscd_getservbyport_r (int port, const char *proto,
                                   struct servent *result_buf, char *buf,
-                                  size_t buflen, struct servent **result);
+                                  size_t buflen, struct servent **result)
+     attribute_hidden;
+extern int __nscd_innetgr (const char *netgroup, const char *host,
+                          const char *user, const char *domain)
+     attribute_hidden;
+extern int __nscd_setnetgrent (const char *group, struct __netgrent *datap)
+     attribute_hidden;
+
 
 #endif /* _NSCD_PROTO_H */