about summary refs log tree commit diff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-19 09:50:44 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-19 09:50:44 +0000
commit23bab906b8b67c54fd2ab47f57a2a38c7d967cc8 (patch)
tree8ea3eacf0fb739f05dcd99d5d6b1332ab1ceda3e /include/netdb.h
parent244cd53119c636398de61f20fff4aa74dc6d45aa (diff)
downloadglibc-23bab906b8b67c54fd2ab47f57a2a38c7d967cc8.tar.gz
glibc-23bab906b8b67c54fd2ab47f57a2a38c7d967cc8.tar.xz
glibc-23bab906b8b67c54fd2ab47f57a2a38c7d967cc8.zip
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
	* nis/nis_intern.h: Add prototype for __do_niscall3.

	* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
	match prototype.

	* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.

	* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.

	* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h116
1 files changed, 58 insertions, 58 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 8c861d48cf..141dce505a 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -151,64 +151,64 @@ extern int ruserpass (const char *host, const char **aname,
 
 #include <inet/netgroup.h>
 
-#define DECLARE_NSS_PROTOTYPES(service)						\
-extern enum nss_status _nss_ ## service ## _setprotoent (int);			\
-extern enum nss_status _nss_ ## service ## _endprotoent (void);			\
-extern enum nss_status _nss_ ## service ## _getprotoent_r			\
-		       (struct protoent *proto, char *buffer, size_t buflen,	\
-			int *errnop);						\
-extern enum nss_status _nss_ ## service ## _getprotobyname_r			\
-		       (const char *name, struct protoent *proto,		\
-			char *buffer, size_t buflen, int *errnop);		\
-extern enum nss_status _nss_ ## service ## _getprotobynumber_r			\
-		       (int number, struct protoent *proto,			\
-			char *buffer, size_t buflen, int *errnop);		\
-extern enum nss_status _nss_ ## service ## _sethostent (int);			\
-extern enum nss_status _nss_ ## service ## _endhostent (void);			\
-extern enum nss_status _nss_ ## service ## _gethostent_r			\
-		       (struct hostent *host, char *buffer, size_t buflen,	\
-			int *errnop, int *h_errnop);				\
-extern enum nss_status _nss_ ## service ## _gethostbyname2_r			\
-		       (const char *name, int af, struct hostent *host,		\
-			char *buffer, size_t buflen, int *errnop,		\
-			int *h_errnop);						\
-extern enum nss_status _nss_ ## service ## _gethostbyname_r			\
-		       (const char *name, struct hostent *host, char *buffer,	\
-			size_t buflen, int *errnop, int *h_errnop);		\
-extern enum nss_status _nss_ ## service ## _gethostbyaddr_r			\
-		       (const void *addr, socklen_t addrlen, int af,		\
-			struct hostent *host, char *buffer, size_t buflen,	\
-			int *errnop, int *h_errnop);				\
-extern enum nss_status _nss_ ## service ## _setservent (int);			\
-extern enum nss_status _nss_ ## service ## _endservent (void);			\
-extern enum nss_status _nss_ ## service ## _getservent_r			\
-		       (struct servent *serv, char *buffer, size_t buflen,	\
-			int *errnop);						\
-extern enum nss_status _nss_ ## service ## _getservbyname_r			\
-		       (const char *name, const char *protocol,			\
-			struct servent *serv, char *buffer, size_t buflen,	\
-			int *errnop);						\
-extern enum nss_status _nss_ ## service ## _getservbyport_r			\
-		       (int port, const char *protocol, struct servent *serv,	\
-			char *buffer, size_t buflen, int *errnop);		\
-extern enum nss_status _nss_ ## service ## _setnetgrent				\
-                       (const char *group, struct __netgrent *result);		\
-extern enum nss_status _nss_ ## service ## _endnetgrent				\
-		       (struct __netgrent *result);				\
-extern enum nss_status _nss_ ## service ##_getnetgrent_r			\
-		       (struct __netgrent *result, char *buffer,		\
-			size_t buflen, int *errnop);				\
-extern enum nss_status _nss_## service ##_setnetent (int stayopen);		\
-extern enum nss_status _nss_ ## service ## _endnetent (void);			\
-extern enum nss_status _nss_## service ##_getnetent_r				\
-			(struct netent *net, char *buffer, size_t buflen,	\
-			 int *errnop, int *herrnop);				\
-extern enum nss_status _nss_## service ##_getnetbyname_r			\
-			(const char *name, struct netent *net, char *buffer,	\
-			 size_t buflen, int *errnop, int *herrnop);		\
-extern enum nss_status _nss_## service ##_getnetbyaddr_r			\
-		       (uint32_t addr, int type, struct netent *net,		\
-			char *buffer, size_t buflen, int *errnop,		\
+#define DECLARE_NSS_PROTOTYPES(service)					      \
+extern enum nss_status _nss_ ## service ## _setprotoent (int);		      \
+extern enum nss_status _nss_ ## service ## _endprotoent (void);		      \
+extern enum nss_status _nss_ ## service ## _getprotoent_r		      \
+		       (struct protoent *proto, char *buffer, size_t buflen,  \
+			int *errnop);					      \
+extern enum nss_status _nss_ ## service ## _getprotobyname_r		      \
+		       (const char *name, struct protoent *proto,	      \
+			char *buffer, size_t buflen, int *errnop);	      \
+extern enum nss_status _nss_ ## service ## _getprotobynumber_r		      \
+		       (int number, struct protoent *proto,		      \
+			char *buffer, size_t buflen, int *errnop);	      \
+extern enum nss_status _nss_ ## service ## _sethostent (int);		      \
+extern enum nss_status _nss_ ## service ## _endhostent (void);		      \
+extern enum nss_status _nss_ ## service ## _gethostent_r		      \
+		       (struct hostent *host, char *buffer, size_t buflen,    \
+			int *errnop, int *h_errnop);			      \
+extern enum nss_status _nss_ ## service ## _gethostbyname2_r		      \
+		       (const char *name, int af, struct hostent *host,	      \
+			char *buffer, size_t buflen, int *errnop,	      \
+			int *h_errnop);					      \
+extern enum nss_status _nss_ ## service ## _gethostbyname_r		      \
+		       (const char *name, struct hostent *host, char *buffer, \
+			size_t buflen, int *errnop, int *h_errnop);	      \
+extern enum nss_status _nss_ ## service ## _gethostbyaddr_r		      \
+		       (const void *addr, socklen_t addrlen, int af,	      \
+			struct hostent *host, char *buffer, size_t buflen,    \
+			int *errnop, int *h_errnop);			      \
+extern enum nss_status _nss_ ## service ## _setservent (int);		      \
+extern enum nss_status _nss_ ## service ## _endservent (void);		      \
+extern enum nss_status _nss_ ## service ## _getservent_r		      \
+		       (struct servent *serv, char *buffer, size_t buflen,    \
+			int *errnop);					      \
+extern enum nss_status _nss_ ## service ## _getservbyname_r		      \
+		       (const char *name, const char *protocol,		      \
+			struct servent *serv, char *buffer, size_t buflen,    \
+			int *errnop);					      \
+extern enum nss_status _nss_ ## service ## _getservbyport_r		      \
+		       (int port, const char *protocol, struct servent *serv, \
+			char *buffer, size_t buflen, int *errnop);	      \
+extern enum nss_status _nss_ ## service ## _setnetgrent			      \
+		       (const char *group, struct __netgrent *result);	      \
+extern enum nss_status _nss_ ## service ## _endnetgrent			      \
+		       (struct __netgrent *result);			      \
+extern enum nss_status _nss_ ## service ## _getnetgrent_r		      \
+		       (struct __netgrent *result, char *buffer,	      \
+			size_t buflen, int *errnop);			      \
+extern enum nss_status _nss_ ## service ## _setnetent (int stayopen);	      \
+extern enum nss_status _nss_ ## service ## _endnetent (void);		      \
+extern enum nss_status _nss_ ## service ## _getnetent_r			      \
+			(struct netent *net, char *buffer, size_t buflen,     \
+			 int *errnop, int *herrnop);			      \
+extern enum nss_status _nss_ ## service ## _getnetbyname_r		      \
+			(const char *name, struct netent *net, char *buffer,  \
+			 size_t buflen, int *errnop, int *herrnop);	      \
+extern enum nss_status _nss_ ## service ## _getnetbyaddr_r		      \
+		       (uint32_t addr, int type, struct netent *net,	      \
+			char *buffer, size_t buflen, int *errnop,	      \
 			int *herrnop);
 
 DECLARE_NSS_PROTOTYPES (compat)