configure tweaks, support $libc_add_on_config_subdirs
[glibc/pb-stable.git] / include / rpc / clnt.h
blob75d88a65ca05b9aad380306fab8aeeadc2ed0a22
1 #ifndef _RPC_CLNT_H
2 #include <sunrpc/rpc/clnt.h>
4 /* Now define the internal interfaces. */
5 extern int _openchild (const char *command, FILE **fto, FILE **ffrom);
7 extern CLIENT *clnt_create_internal (__const char *__host,
8 __const u_long __prog,
9 __const u_long __vers,
10 __const char *__prot) attribute_hidden;
11 extern CLIENT *clnttcp_create_internal (struct sockaddr_in *__raddr,
12 u_long __prog, u_long __version,
13 int *__sockp, u_int __sendsz,
14 u_int __recvsz) attribute_hidden;
15 extern CLIENT *clntudp_create_internal (struct sockaddr_in *__raddr,
16 u_long __program, u_long __version,
17 struct timeval __wait_resend,
18 int *__sockp) attribute_hidden;
19 extern CLIENT *clntudp_bufcreate_internal (struct sockaddr_in *__raddr,
20 u_long __program, u_long __version,
21 struct timeval __wait_resend,
22 int *__sockp, u_int __sendsz,
23 u_int __recvsz) attribute_hidden;
24 extern CLIENT *__libc_clntudp_bufcreate (struct sockaddr_in *__raddr,
25 u_long __program, u_long __version,
26 struct timeval __wait_resend,
27 int *__sockp, u_int __sendsz,
28 u_int __recvsz, int __flags);
29 extern CLIENT *__libc_clntudp_bufcreate_internal (struct sockaddr_in *__raddr,
30 u_long __program,
31 u_long __version,
32 struct timeval __wait_resend,
33 int *__sockp, u_int __sendsz,
34 u_int __recvsz, int __flags)
35 attribute_hidden;
36 extern CLIENT *clntunix_create_internal (struct sockaddr_un *__raddr,
37 u_long __program, u_long __version,
38 int *__sockp, u_int __sendsz,
39 u_int __recvsz) attribute_hidden;
41 libc_hidden_proto (clnt_sperrno)
42 libc_hidden_proto (clnt_spcreateerror)
43 libc_hidden_proto (clnt_perror)
44 libc_hidden_proto (clnt_sperror)
45 libc_hidden_proto (_rpc_dtablesize)
47 #endif