[BZ #3427]
[glibc.git] / include / rpc / clnt.h
blob1e72e22bcb61a426b93859a32641f39a2e75b69c
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 *clntunix_create_internal (struct sockaddr_un *__raddr,
25 u_long __program, u_long __version,
26 int *__sockp, u_int __sendsz,
27 u_int __recvsz) attribute_hidden;
29 libc_hidden_proto (clnt_sperrno)
30 libc_hidden_proto (clnt_spcreateerror)
31 libc_hidden_proto (clnt_perror)
32 libc_hidden_proto (clnt_sperror)
33 libc_hidden_proto (_rpc_dtablesize)
35 #endif