Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 660590
Collapse All | Expand All

(-)libtirpc-1.0.3-orig/src/auth_des.c (-6 / +6 lines)
Lines 38-50 Link Here
38
#include <string.h>
38
#include <string.h>
39
#include <stdlib.h>
39
#include <stdlib.h>
40
#include <unistd.h>
40
#include <unistd.h>
41
#include <rpc/des_crypt.h>
41
#include <tirpc/rpc/des_crypt.h>
42
#include <syslog.h>
42
#include <syslog.h>
43
#include <rpc/types.h>
43
#include <tirpc/rpc/types.h>
44
#include <rpc/auth.h>
44
#include <tirpc/rpc/auth.h>
45
#include <rpc/auth_des.h>
45
#include <tirpc/rpc/auth_des.h>
46
#include <rpc/clnt.h>
46
#include <tirpc/rpc/clnt.h>
47
#include <rpc/xdr.h>
47
#include <tirpc/rpc/xdr.h>
48
#include <sys/socket.h>
48
#include <sys/socket.h>
49
49
50
#include "nis.h"
50
#include "nis.h"
(-)libtirpc-1.0.3-orig/src/authdes_prot.c (-4 / +4 lines)
Lines 33-43 Link Here
33
 * authdes_prot.c, XDR routines for DES authentication
33
 * authdes_prot.c, XDR routines for DES authentication
34
 */
34
 */
35
35
36
#include <rpc/types.h>
36
#include <tirpc/rpc/types.h>
37
37
38
#include <rpc/xdr.h>
38
#include <tirpc/rpc/xdr.h>
39
#include <rpc/auth.h>
39
#include <tirpc/rpc/auth.h>
40
#include <rpc/auth_des.h>
40
#include <tirpc/rpc/auth_des.h>
41
41
42
#define ATTEMPT(xdr_op) if (!(xdr_op)) return (FALSE)
42
#define ATTEMPT(xdr_op) if (!(xdr_op)) return (FALSE)
43
43
(-)libtirpc-1.0.3-orig/src/auth_gss.c (-6 / +6 lines)
Lines 41-52 Link Here
41
#include <unistd.h>
41
#include <unistd.h>
42
#include <string.h>
42
#include <string.h>
43
#include <errno.h>
43
#include <errno.h>
44
#include <rpc/types.h>
44
#include <tirpc/rpc/types.h>
45
#include <rpc/xdr.h>
45
#include <tirpc/rpc/xdr.h>
46
#include <rpc/auth.h>
46
#include <tirpc/rpc/auth.h>
47
#include <rpc/auth_gss.h>
47
#include <tirpc/rpc/auth_gss.h>
48
#include <rpc/rpcsec_gss.h>
48
#include <tirpc/rpc/rpcsec_gss.h>
49
#include <rpc/clnt.h>
49
#include <tirpc/rpc/clnt.h>
50
#include <netinet/in.h>
50
#include <netinet/in.h>
51
#include <reentrant.h>
51
#include <reentrant.h>
52
52
(-)libtirpc-1.0.3-orig/src/authgss_prot.c (-5 / +5 lines)
Lines 38-48 Link Here
38
#include <stdlib.h>
38
#include <stdlib.h>
39
#include <stdarg.h>
39
#include <stdarg.h>
40
#include <string.h>
40
#include <string.h>
41
#include <rpc/types.h>
41
#include <tirpc/rpc/types.h>
42
#include <rpc/xdr.h>
42
#include <tirpc/rpc/xdr.h>
43
#include <rpc/auth.h>
43
#include <tirpc/rpc/auth.h>
44
#include <rpc/auth_gss.h>
44
#include <tirpc/rpc/auth_gss.h>
45
#include <rpc/rpc.h>
45
#include <tirpc/rpc/rpc.h>
46
#include <ctype.h>
46
#include <ctype.h>
47
#include <gssapi/gssapi.h>
47
#include <gssapi/gssapi.h>
48
48
(-)libtirpc-1.0.3-orig/src/auth_none.c (-3 / +3 lines)
Lines 46-54 __FBSDID("$FreeBSD: src/lib/libc/rpc/aut Link Here
46
#include <reentrant.h>
46
#include <reentrant.h>
47
#include <assert.h>
47
#include <assert.h>
48
#include <stdlib.h>
48
#include <stdlib.h>
49
#include <rpc/types.h>
49
#include <tirpc/rpc/types.h>
50
#include <rpc/xdr.h>
50
#include <tirpc/rpc/xdr.h>
51
#include <rpc/auth.h>
51
#include <tirpc/rpc/auth.h>
52
52
53
#define MAX_MARSHAL_SIZE 20
53
#define MAX_MARSHAL_SIZE 20
54
54
(-)libtirpc-1.0.3-orig/src/auth_time.c (-3 / +3 lines)
Lines 39-47 Link Here
39
#include <sys/socket.h>
39
#include <sys/socket.h>
40
#include <netinet/in.h>
40
#include <netinet/in.h>
41
#include <arpa/inet.h>
41
#include <arpa/inet.h>
42
#include <rpc/rpc.h>
42
#include <tirpc/rpc/rpc.h>
43
#include <rpc/rpc_com.h>
43
#include <tirpc/rpc/rpc_com.h>
44
#include <rpc/rpcb_prot.h>
44
#include <tirpc/rpc/rpcb_prot.h>
45
//#include <clnt_soc.h>
45
//#include <clnt_soc.h>
46
#include <sys/select.h>
46
#include <sys/select.h>
47
47
(-)libtirpc-1.0.3-orig/src/auth_unix.c (-5 / +5 lines)
Lines 50-60 Link Here
50
#include <string.h>
50
#include <string.h>
51
#include <errno.h>
51
#include <errno.h>
52
52
53
#include <rpc/clnt.h>
53
#include <tirpc/rpc/clnt.h>
54
#include <rpc/types.h>
54
#include <tirpc/rpc/types.h>
55
#include <rpc/xdr.h>
55
#include <tirpc/rpc/xdr.h>
56
#include <rpc/auth.h>
56
#include <tirpc/rpc/auth.h>
57
#include <rpc/auth_unix.h>
57
#include <tirpc/rpc/auth_unix.h>
58
58
59
/* auth_unix.c */
59
/* auth_unix.c */
60
static void authunix_nextverf (AUTH *);
60
static void authunix_nextverf (AUTH *);
(-)libtirpc-1.0.3-orig/src/authunix_prot.c (-4 / +4 lines)
Lines 36-45 Link Here
36
36
37
#include <assert.h>
37
#include <assert.h>
38
38
39
#include <rpc/types.h>
39
#include <tirpc/rpc/types.h>
40
#include <rpc/xdr.h>
40
#include <tirpc/rpc/xdr.h>
41
#include <rpc/auth.h>
41
#include <tirpc/rpc/auth.h>
42
#include <rpc/auth_unix.h>
42
#include <tirpc/rpc/auth_unix.h>
43
43
44
/*
44
/*
45
 * XDR for unix authentication parameters.
45
 * XDR for unix authentication parameters.
(-)libtirpc-1.0.3-orig/src/binddynport.c (-1 / +1 lines)
Lines 38-44 Link Here
38
#include <errno.h>
38
#include <errno.h>
39
#include <string.h>
39
#include <string.h>
40
40
41
#include <rpc/rpc.h>
41
#include <tirpc/rpc/rpc.h>
42
42
43
#include "reentrant.h"
43
#include "reentrant.h"
44
#include "rpc_com.h"
44
#include "rpc_com.h"
(-)libtirpc-1.0.3-orig/src/bindresvport.c (-1 / +1 lines)
Lines 43-49 Link Here
43
#include <string.h>
43
#include <string.h>
44
#include <unistd.h>
44
#include <unistd.h>
45
45
46
#include <rpc/rpc.h>
46
#include <tirpc/rpc/rpc.h>
47
47
48
#include <string.h>
48
#include <string.h>
49
#include <reentrant.h>
49
#include <reentrant.h>
(-)libtirpc-1.0.3-orig/src/clnt_bcast.c (-5 / +5 lines)
Lines 46-58 Link Here
46
#include <netinet/in.h>
46
#include <netinet/in.h>
47
#include <ifaddrs.h>
47
#include <ifaddrs.h>
48
#include <poll.h>
48
#include <poll.h>
49
#include <rpc/rpc.h>
49
#include <tirpc/rpc/rpc.h>
50
#ifdef PORTMAP
50
#ifdef PORTMAP
51
#include <rpc/pmap_prot.h>
51
#include <tirpc/rpc/pmap_prot.h>
52
#include <rpc/pmap_clnt.h>
52
#include <tirpc/rpc/pmap_clnt.h>
53
#include <rpc/pmap_rmt.h>
53
#include <tirpc/rpc/pmap_rmt.h>
54
#endif				/* PORTMAP */
54
#endif				/* PORTMAP */
55
#include <rpc/nettype.h>
55
#include <tirpc/rpc/nettype.h>
56
#include <arpa/inet.h>
56
#include <arpa/inet.h>
57
#include <stdio.h>
57
#include <stdio.h>
58
#include <errno.h>
58
#include <errno.h>
(-)libtirpc-1.0.3-orig/src/clnt_dg.c (-3 / +3 lines)
Lines 42-51 Link Here
42
#include <sys/time.h>
42
#include <sys/time.h>
43
43
44
#include <sys/ioctl.h>
44
#include <sys/ioctl.h>
45
#include <rpc/clnt.h>
45
#include <tirpc/rpc/clnt.h>
46
#include <arpa/inet.h>
46
#include <arpa/inet.h>
47
#include <rpc/rpc.h>
47
#include <tirpc/rpc/rpc.h>
48
#include <rpc/xdr.h>
48
#include <tirpc/rpc/xdr.h>
49
#include <errno.h>
49
#include <errno.h>
50
#include <stdlib.h>
50
#include <stdlib.h>
51
#include <string.h>
51
#include <string.h>
(-)libtirpc-1.0.3-orig/src/clnt_generic.c (-2 / +2 lines)
Lines 38-45 Link Here
38
#include <errno.h>
38
#include <errno.h>
39
#include <netdb.h>
39
#include <netdb.h>
40
#include <syslog.h>
40
#include <syslog.h>
41
#include <rpc/rpc.h>
41
#include <tirpc/rpc/rpc.h>
42
#include <rpc/nettype.h>
42
#include <tirpc/rpc/nettype.h>
43
#include <string.h>
43
#include <string.h>
44
#include <stdlib.h>
44
#include <stdlib.h>
45
#include <unistd.h>
45
#include <unistd.h>
(-)libtirpc-1.0.3-orig/src/clnt_perror.c (-4 / +4 lines)
Lines 36-45 Link Here
36
#include <stdlib.h>
36
#include <stdlib.h>
37
#include <string.h>
37
#include <string.h>
38
38
39
#include <rpc/rpc.h>
39
#include <tirpc/rpc/rpc.h>
40
#include <rpc/types.h>
40
#include <tirpc/rpc/types.h>
41
#include <rpc/auth.h>
41
#include <tirpc/rpc/auth.h>
42
#include <rpc/clnt.h>
42
#include <tirpc/rpc/clnt.h>
43
43
44
static char *buf;
44
static char *buf;
45
45
(-)libtirpc-1.0.3-orig/src/clnt_raw.c (-2 / +2 lines)
Lines 43-50 Link Here
43
#include <stdio.h>
43
#include <stdio.h>
44
#include <stdlib.h>
44
#include <stdlib.h>
45
45
46
#include <rpc/rpc.h>
46
#include <tirpc/rpc/rpc.h>
47
#include <rpc/raw.h>
47
#include <tirpc/rpc/raw.h>
48
48
49
extern mutex_t clntraw_lock;
49
extern mutex_t clntraw_lock;
50
50
(-)libtirpc-1.0.3-orig/src/clnt_simple.c (-2 / +2 lines)
Lines 39-51 Link Here
39
#include <sys/param.h>
39
#include <sys/param.h>
40
#include <stdio.h>
40
#include <stdio.h>
41
#include <errno.h>
41
#include <errno.h>
42
#include <rpc/rpc.h>
42
#include <tirpc/rpc/rpc.h>
43
#include <string.h>
43
#include <string.h>
44
#include <stdlib.h>
44
#include <stdlib.h>
45
#include <fcntl.h>
45
#include <fcntl.h>
46
#include <unistd.h>
46
#include <unistd.h>
47
47
48
#include <rpc/clnt.h>
48
#include <tirpc/rpc/clnt.h>
49
49
50
#ifndef MAXHOSTNAMELEN
50
#ifndef MAXHOSTNAMELEN
51
#define	MAXHOSTNAMELEN 64
51
#define	MAXHOSTNAMELEN 64
(-)libtirpc-1.0.3-orig/src/clnt_vc.c (-1 / +1 lines)
Lines 64-70 Link Here
64
#include <unistd.h>
64
#include <unistd.h>
65
#include <signal.h>
65
#include <signal.h>
66
66
67
#include <rpc/rpc.h>
67
#include <tirpc/rpc/rpc.h>
68
#include "rpc_com.h"
68
#include "rpc_com.h"
69
69
70
#define MCALL_MSG_SIZE 24
70
#define MCALL_MSG_SIZE 24
(-)libtirpc-1.0.3-orig/src/crypt_client.c (-4 / +4 lines)
Lines 33-44 Link Here
33
33
34
#include <err.h>
34
#include <err.h>
35
#include <sys/types.h>
35
#include <sys/types.h>
36
#include <rpc/des_crypt.h>
36
#include <tirpc/rpc/des_crypt.h>
37
#include <rpc/des.h>
37
#include <tirpc/rpc/des.h>
38
#include <string.h>
38
#include <string.h>
39
#include <rpcsvc/crypt.h>
39
#include <tirpc/rpcsvc/crypt.h>
40
40
41
#include <netconfig.h>
41
#include <tirpc/netconfig.h>
42
42
43
int
43
int
44
_des_crypt_call(buf, len, dparms)
44
_des_crypt_call(buf, len, dparms)
(-)libtirpc-1.0.3-orig/src/des_crypt.c (-3 / +3 lines)
Lines 31-39 Link Here
31
 */
31
 */
32
32
33
#include <sys/types.h>
33
#include <sys/types.h>
34
#include <rpc/types.h>
34
#include <tirpc/rpc/types.h>
35
#include <rpc/des_crypt.h>
35
#include <tirpc/rpc/des_crypt.h>
36
#include <rpc/des.h>
36
#include <tirpc/rpc/des.h>
37
#if 0
37
#if 0
38
#ifndef lint
38
#ifndef lint
39
static char sccsid[] = "@(#)des_crypt.c	2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI";
39
static char sccsid[] = "@(#)des_crypt.c	2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI";
(-)libtirpc-1.0.3-orig/src/des_impl.c (-1 / +1 lines)
Lines 7-13 Link Here
7
#include <string.h>
7
#include <string.h>
8
#include <stdint.h>
8
#include <stdint.h>
9
#include <sys/types.h>
9
#include <sys/types.h>
10
#include <rpc/des.h>
10
#include <tirpc/rpc/des.h>
11
11
12
12
13
static const uint32_t des_SPtrans[8][64] =
13
static const uint32_t des_SPtrans[8][64] =
(-)libtirpc-1.0.3-orig/src/getnetconfig.c (-2 / +2 lines)
Lines 34-44 Link Here
34
#include <reentrant.h>
34
#include <reentrant.h>
35
#include <stdio.h>
35
#include <stdio.h>
36
#include <errno.h>
36
#include <errno.h>
37
#include <netconfig.h>
37
#include <tirpc/netconfig.h>
38
#include <stddef.h>
38
#include <stddef.h>
39
#include <stdlib.h>
39
#include <stdlib.h>
40
#include <string.h>
40
#include <string.h>
41
#include <rpc/rpc.h>
41
#include <tirpc/rpc/rpc.h>
42
#include <unistd.h>
42
#include <unistd.h>
43
#include "rpc_com.h"
43
#include "rpc_com.h"
44
44
(-)libtirpc-1.0.3-orig/src/getnetpath.c (-1 / +1 lines)
Lines 32-38 Link Here
32
32
33
#include <stdio.h>
33
#include <stdio.h>
34
#include <errno.h>
34
#include <errno.h>
35
#include <netconfig.h>
35
#include <tirpc/netconfig.h>
36
#include <stdlib.h>
36
#include <stdlib.h>
37
#include <string.h>
37
#include <string.h>
38
#include <syslog.h>
38
#include <syslog.h>
(-)libtirpc-1.0.3-orig/src/getpublickey.c (-2 / +2 lines)
Lines 36-43 Link Here
36
 */
36
 */
37
#include <stdio.h>
37
#include <stdio.h>
38
#include <pwd.h>
38
#include <pwd.h>
39
#include <rpc/rpc.h>
39
#include <tirpc/rpc/rpc.h>
40
#include <rpc/key_prot.h>
40
#include <tirpc/rpc/key_prot.h>
41
#ifdef YP
41
#ifdef YP
42
#include <rpcsvc/yp_prot.h>
42
#include <rpcsvc/yp_prot.h>
43
#include <rpcsvc/ypclnt.h>
43
#include <rpcsvc/ypclnt.h>
(-)libtirpc-1.0.3-orig/src/getrpcent.c (-1 / +1 lines)
Lines 45-51 Link Here
45
#include <stdlib.h>
45
#include <stdlib.h>
46
#include <string.h>
46
#include <string.h>
47
47
48
#include <rpc/rpc.h>
48
#include <tirpc/rpc/rpc.h>
49
#ifdef YP
49
#ifdef YP
50
#include <rpcsvc/yp_prot.h>
50
#include <rpcsvc/yp_prot.h>
51
#include <rpcsvc/ypclnt.h>
51
#include <rpcsvc/ypclnt.h>
(-)libtirpc-1.0.3-orig/src/getrpcport.c (-2 / +2 lines)
Lines 39-46 Link Here
39
#include <stdio.h>
39
#include <stdio.h>
40
#include <string.h>
40
#include <string.h>
41
41
42
#include <rpc/rpc.h>
42
#include <tirpc/rpc/rpc.h>
43
#include <rpc/pmap_clnt.h>
43
#include <tirpc/rpc/pmap_clnt.h>
44
44
45
int
45
int
46
getrpcport(host, prognum, versnum, proto)
46
getrpcport(host, prognum, versnum, proto)
(-)libtirpc-1.0.3-orig/src/key_call.c (-5 / +5 lines)
Lines 46-57 Link Here
46
#include <stdlib.h>
46
#include <stdlib.h>
47
#include <unistd.h>
47
#include <unistd.h>
48
#include <errno.h>
48
#include <errno.h>
49
#include <rpc/rpc.h>
49
#include <tirpc/rpc/rpc.h>
50
#include <rpc/auth.h>
50
#include <tirpc/rpc/auth.h>
51
#include <rpc/auth_unix.h>
51
#include <tirpc/rpc/auth_unix.h>
52
#include <rpc/key_prot.h>
52
#include <tirpc/rpc/key_prot.h>
53
#include <string.h>
53
#include <string.h>
54
#include <netconfig.h>
54
#include <tirpc/netconfig.h>
55
#include <sys/utsname.h>
55
#include <sys/utsname.h>
56
#include <stdlib.h>
56
#include <stdlib.h>
57
#include <signal.h>
57
#include <signal.h>
(-)libtirpc-1.0.3-orig/src/key_prot_xdr.c (-1 / +1 lines)
Lines 3-9 Link Here
3
 * It was generated using rpcgen.
3
 * It was generated using rpcgen.
4
 */
4
 */
5
5
6
#include <rpc/key_prot.h>
6
#include <tirpc/rpc/key_prot.h>
7
/*
7
/*
8
 * Copyright (c) 2009, Sun Microsystems, Inc.
8
 * Copyright (c) 2009, Sun Microsystems, Inc.
9
 * All rights reserved.
9
 * All rights reserved.
(-)libtirpc-1.0.3-orig/src/mt_misc.c (-1 / +1 lines)
Lines 1-7 Link Here
1
1
2
#include <pthread.h>
2
#include <pthread.h>
3
#include <reentrant.h>
3
#include <reentrant.h>
4
#include <rpc/rpc.h>
4
#include <tirpc/rpc/rpc.h>
5
#include <sys/time.h>
5
#include <sys/time.h>
6
#include <stdlib.h>
6
#include <stdlib.h>
7
#include <string.h>
7
#include <string.h>
(-)libtirpc-1.0.3-orig/src/netname.c (-1 / +1 lines)
Lines 35-41 Link Here
35
 */
35
 */
36
36
37
#include <sys/param.h>
37
#include <sys/param.h>
38
#include <rpc/rpc.h>
38
#include <tirpc/rpc/rpc.h>
39
#include "rpc_com.h"
39
#include "rpc_com.h"
40
#ifdef YP
40
#ifdef YP
41
#include <rpcsvc/yp_prot.h>
41
#include <rpcsvc/yp_prot.h>
(-)libtirpc-1.0.3-orig/src/netnamer.c (-1 / +1 lines)
Lines 33-39 Link Here
33
 * architecture.
33
 * architecture.
34
 */
34
 */
35
#include <sys/param.h>
35
#include <sys/param.h>
36
#include <rpc/rpc.h>
36
#include <tirpc/rpc/rpc.h>
37
#include "rpc_com.h"
37
#include "rpc_com.h"
38
#ifdef YP
38
#ifdef YP
39
#include <rpcsvc/yp_prot.h>
39
#include <rpcsvc/yp_prot.h>
(-)libtirpc-1.0.3-orig/src/pmap_clnt.c (-4 / +4 lines)
Lines 38-47 Link Here
38
#include <sys/stat.h>
38
#include <sys/stat.h>
39
#include <unistd.h>
39
#include <unistd.h>
40
40
41
#include <rpc/rpc.h>
41
#include <tirpc/rpc/rpc.h>
42
#include <rpc/pmap_prot.h>
42
#include <tirpc/rpc/pmap_prot.h>
43
#include <rpc/pmap_clnt.h>
43
#include <tirpc/rpc/pmap_clnt.h>
44
#include <rpc/nettype.h>
44
#include <tirpc/rpc/nettype.h>
45
#include <netinet/in.h>
45
#include <netinet/in.h>
46
46
47
#include <stdio.h>
47
#include <stdio.h>
(-)libtirpc-1.0.3-orig/src/pmap_getmaps.c (-3 / +3 lines)
Lines 48-56 Link Here
48
#include <stdio.h>
48
#include <stdio.h>
49
#include <unistd.h>
49
#include <unistd.h>
50
50
51
#include <rpc/rpc.h>
51
#include <tirpc/rpc/rpc.h>
52
#include <rpc/pmap_prot.h>
52
#include <tirpc/rpc/pmap_prot.h>
53
#include <rpc/pmap_clnt.h>
53
#include <tirpc/rpc/pmap_clnt.h>
54
//#include <clnt_soc.h>
54
//#include <clnt_soc.h>
55
#define NAMELEN 255
55
#define NAMELEN 255
56
#define MAX_BROADCAST_SIZE 1400
56
#define MAX_BROADCAST_SIZE 1400
(-)libtirpc-1.0.3-orig/src/pmap_getport.c (-3 / +3 lines)
Lines 41-49 Link Here
41
#include <assert.h>
41
#include <assert.h>
42
#include <unistd.h>
42
#include <unistd.h>
43
43
44
#include <rpc/rpc.h>
44
#include <tirpc/rpc/rpc.h>
45
#include <rpc/pmap_prot.h>
45
#include <tirpc/rpc/pmap_prot.h>
46
#include <rpc/pmap_clnt.h>
46
#include <tirpc/rpc/pmap_clnt.h>
47
47
48
static const struct timeval timeout = { 5, 0 };
48
static const struct timeval timeout = { 5, 0 };
49
static const struct timeval tottimeout = { 60, 0 };
49
static const struct timeval tottimeout = { 60, 0 };
(-)libtirpc-1.0.3-orig/src/pmap_prot2.c (-3 / +3 lines)
Lines 35-43 Link Here
35
35
36
#include <assert.h>
36
#include <assert.h>
37
37
38
#include <rpc/types.h>
38
#include <tirpc/rpc/types.h>
39
#include <rpc/xdr.h>
39
#include <tirpc/rpc/xdr.h>
40
#include <rpc/pmap_prot.h>
40
#include <tirpc/rpc/pmap_prot.h>
41
41
42
42
43
/*
43
/*
(-)libtirpc-1.0.3-orig/src/pmap_prot.c (-3 / +3 lines)
Lines 35-43 Link Here
35
35
36
#include <assert.h>
36
#include <assert.h>
37
37
38
#include <rpc/types.h>
38
#include <tirpc/rpc/types.h>
39
#include <rpc/xdr.h>
39
#include <tirpc/rpc/xdr.h>
40
#include <rpc/pmap_prot.h>
40
#include <tirpc/rpc/pmap_prot.h>
41
41
42
42
43
bool_t
43
bool_t
(-)libtirpc-1.0.3-orig/src/pmap_rmt.c (-4 / +4 lines)
Lines 50-59 Link Here
50
#include <string.h>
50
#include <string.h>
51
#include <unistd.h>
51
#include <unistd.h>
52
52
53
#include <rpc/rpc.h>
53
#include <tirpc/rpc/rpc.h>
54
#include <rpc/pmap_prot.h>
54
#include <tirpc/rpc/pmap_prot.h>
55
#include <rpc/pmap_clnt.h>
55
#include <tirpc/rpc/pmap_clnt.h>
56
#include <rpc/pmap_rmt.h>
56
#include <tirpc/rpc/pmap_rmt.h>
57
57
58
// For the clnttcp_create function
58
// For the clnttcp_create function
59
//#include <clnt_soc.h>
59
//#include <clnt_soc.h>
(-)libtirpc-1.0.3-orig/src/rpcb_clnt.c (-5 / +5 lines)
Lines 36-48 Link Here
36
#include <sys/socket.h>
36
#include <sys/socket.h>
37
#include <sys/un.h>
37
#include <sys/un.h>
38
#include <sys/utsname.h>
38
#include <sys/utsname.h>
39
#include <rpc/rpc.h>
39
#include <tirpc/rpc/rpc.h>
40
#include <rpc/rpcb_prot.h>
40
#include <tirpc/rpc/rpcb_prot.h>
41
#include <rpc/nettype.h>
41
#include <tirpc/rpc/nettype.h>
42
#include <netconfig.h>
42
#include <tirpc/netconfig.h>
43
#ifdef PORTMAP
43
#ifdef PORTMAP
44
#include <netinet/in.h>		/* FOR IPPROTO_TCP/UDP definitions */
44
#include <netinet/in.h>		/* FOR IPPROTO_TCP/UDP definitions */
45
#include <rpc/pmap_prot.h>
45
#include <tirpc/rpc/pmap_prot.h>
46
#endif				/* PORTMAP */
46
#endif				/* PORTMAP */
47
#include <stdio.h>
47
#include <stdio.h>
48
#include <errno.h>
48
#include <errno.h>
(-)libtirpc-1.0.3-orig/src/rpcb_prot.c (-4 / +4 lines)
Lines 37-46 Link Here
37
 * Copyright (C) 1984, 1988, Sun Microsystems, Inc.
37
 * Copyright (C) 1984, 1988, Sun Microsystems, Inc.
38
 */
38
 */
39
39
40
#include <rpc/rpc.h>
40
#include <tirpc/rpc/rpc.h>
41
#include <rpc/types.h>
41
#include <tirpc/rpc/types.h>
42
#include <rpc/xdr.h>
42
#include <tirpc/rpc/xdr.h>
43
#include <rpc/rpcb_prot.h>
43
#include <tirpc/rpc/rpcb_prot.h>
44
#include "rpc_com.h"
44
#include "rpc_com.h"
45
45
46
bool_t
46
bool_t
(-)libtirpc-1.0.3-orig/src/rpcb_st_xdr.c (-1 / +1 lines)
Lines 36-42 Link Here
36
 */
36
 */
37
37
38
38
39
#include <rpc/rpc.h>
39
#include <tirpc/rpc/rpc.h>
40
#include "rpc_com.h"
40
#include "rpc_com.h"
41
41
42
/* Link list of all the stats about getport and getaddr */
42
/* Link list of all the stats about getport and getaddr */
(-)libtirpc-1.0.3-orig/src/rpc_callmsg.c (-2 / +2 lines)
Lines 37-44 Link Here
37
#include <stdlib.h>
37
#include <stdlib.h>
38
#include <string.h>
38
#include <string.h>
39
39
40
#include <rpc/rpc.h>
40
#include <tirpc/rpc/rpc.h>
41
#include <rpc/xdr.h>
41
#include <tirpc/rpc/xdr.h>
42
42
43
#include <sys/select.h>
43
#include <sys/select.h>
44
44
(-)libtirpc-1.0.3-orig/src/rpc_com.h (-2 / +2 lines)
Lines 33-46 Link Here
33
 * rpc_com.h, Common definitions for both the server and client side.
33
 * rpc_com.h, Common definitions for both the server and client side.
34
 * All for the topmost layer of rpc
34
 * All for the topmost layer of rpc
35
 *
35
 *
36
 * In Sun's tirpc distribution, this was installed as <rpc/rpc_com.h>,
36
 * In Sun's tirpc distribution, this was installed as <tirpc/rpc/rpc_com.h>,
37
 * but as it contains only non-exported interfaces, it was moved here.
37
 * but as it contains only non-exported interfaces, it was moved here.
38
 */
38
 */
39
39
40
#ifndef _TIRPC_RPCCOM_H
40
#ifndef _TIRPC_RPCCOM_H
41
#define	_TIRPC_RPCCOM_H
41
#define	_TIRPC_RPCCOM_H
42
42
43
#include <rpc/rpc_com.h>
43
#include <tirpc/rpc/rpc_com.h>
44
44
45
#ifdef __cplusplus
45
#ifdef __cplusplus
46
extern "C" {
46
extern "C" {
(-)libtirpc-1.0.3-orig/src/rpc_commondata.c (-1 / +1 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#include <rpc/rpc.h>
29
#include <tirpc/rpc/rpc.h>
30
30
31
31
32
/*
32
/*
(-)libtirpc-1.0.3-orig/src/rpc_dtablesize.c (-2 / +2 lines)
Lines 28-35 Link Here
28
28
29
#include <unistd.h>
29
#include <unistd.h>
30
#include <sys/select.h>
30
#include <sys/select.h>
31
#include <rpc/clnt.h>
31
#include <tirpc/rpc/clnt.h>
32
#include <rpc/rpc_com.h>
32
#include <tirpc/rpc/rpc_com.h>
33
33
34
/*
34
/*
35
 * Cache the result of getdtablesize(), so we don't have to do an
35
 * Cache the result of getdtablesize(), so we don't have to do an
(-)libtirpc-1.0.3-orig/src/rpc_generic.c (-4 / +4 lines)
Lines 44-59 Link Here
44
#include <sys/resource.h>
44
#include <sys/resource.h>
45
#include <netinet/in.h>
45
#include <netinet/in.h>
46
#include <arpa/inet.h>
46
#include <arpa/inet.h>
47
#include <rpc/rpc.h>
47
#include <tirpc/rpc/rpc.h>
48
#include <ctype.h>
48
#include <ctype.h>
49
#include <stddef.h>
49
#include <stddef.h>
50
#include <stdio.h>
50
#include <stdio.h>
51
#include <netdb.h>
51
#include <netdb.h>
52
#include <netconfig.h>
52
#include <tirpc/netconfig.h>
53
#include <stdlib.h>
53
#include <stdlib.h>
54
#include <string.h>
54
#include <string.h>
55
#include <syslog.h>
55
#include <syslog.h>
56
#include <rpc/nettype.h>
56
#include <tirpc/rpc/nettype.h>
57
#include "rpc_com.h"
57
#include "rpc_com.h"
58
58
59
struct handle {
59
struct handle {
Lines 189-195 strlocase(p) Link Here
189
#endif
189
#endif
190
190
191
/*
191
/*
192
 * Returns the type of the network as defined in <rpc/nettype.h>
192
 * Returns the type of the network as defined in <tirpc/rpc/nettype.h>
193
 * If nettype is NULL, it defaults to NETPATH.
193
 * If nettype is NULL, it defaults to NETPATH.
194
 */
194
 */
195
static int
195
static int
(-)libtirpc-1.0.3-orig/src/rpc_gss_utils.c (-2 / +2 lines)
Lines 30-37 Link Here
30
#include <errno.h>
30
#include <errno.h>
31
#include <reentrant.h>
31
#include <reentrant.h>
32
32
33
#include <rpc/auth_gss.h>
33
#include <tirpc/rpc/auth_gss.h>
34
#include <rpc/rpcsec_gss.h>
34
#include <tirpc/rpc/rpcsec_gss.h>
35
35
36
#include <gssapi/gssapi_krb5.h>
36
#include <gssapi/gssapi_krb5.h>
37
37
(-)libtirpc-1.0.3-orig/src/rpc_prot.c (-1 / +1 lines)
Lines 43-49 Link Here
43
43
44
#include <assert.h>
44
#include <assert.h>
45
45
46
#include <rpc/rpc.h>
46
#include <tirpc/rpc/rpc.h>
47
47
48
static void accepted(enum accept_stat, struct rpc_err *);
48
static void accepted(enum accept_stat, struct rpc_err *);
49
static void rejected(enum reject_stat, struct rpc_err *);
49
static void rejected(enum reject_stat, struct rpc_err *);
(-)libtirpc-1.0.3-orig/src/rpc_soc.c (-4 / +4 lines)
Lines 48-57 Link Here
48
#include <sys/types.h>
48
#include <sys/types.h>
49
#include <sys/socket.h>
49
#include <sys/socket.h>
50
#include <stdio.h>
50
#include <stdio.h>
51
#include <rpc/rpc.h>
51
#include <tirpc/rpc/rpc.h>
52
#include <rpc/pmap_clnt.h>
52
#include <tirpc/rpc/pmap_clnt.h>
53
#include <rpc/pmap_prot.h>
53
#include <tirpc/rpc/pmap_prot.h>
54
#include <rpc/nettype.h>
54
#include <tirpc/rpc/nettype.h>
55
#include <syslog.h>
55
#include <syslog.h>
56
#include <netinet/in.h>
56
#include <netinet/in.h>
57
#include <netdb.h>
57
#include <netdb.h>
(-)libtirpc-1.0.3-orig/src/svc_auth.c (-2 / +2 lines)
Lines 37-44 Link Here
37
#include <pthread.h>
37
#include <pthread.h>
38
#include <reentrant.h>
38
#include <reentrant.h>
39
#include <sys/types.h>
39
#include <sys/types.h>
40
#include <rpc/rpc.h>
40
#include <tirpc/rpc/rpc.h>
41
#include <rpc/auth_des.h>
41
#include <tirpc/rpc/auth_des.h>
42
#include <stdlib.h>
42
#include <stdlib.h>
43
43
44
/*
44
/*
(-)libtirpc-1.0.3-orig/src/svc_auth_des.c (-8 / +8 lines)
Lines 50-65 Link Here
50
#include <stdlib.h>
50
#include <stdlib.h>
51
#include <stdio.h>
51
#include <stdio.h>
52
#include <unistd.h>
52
#include <unistd.h>
53
#include <rpc/des_crypt.h>
53
#include <tirpc/rpc/des_crypt.h>
54
#include <sys/param.h>
54
#include <sys/param.h>
55
#include <netinet/in.h>
55
#include <netinet/in.h>
56
#include <rpc/types.h>
56
#include <tirpc/rpc/types.h>
57
#include <rpc/xdr.h>
57
#include <tirpc/rpc/xdr.h>
58
#include <rpc/auth.h>
58
#include <tirpc/rpc/auth.h>
59
#include <rpc/auth_des.h>
59
#include <tirpc/rpc/auth_des.h>
60
#include <rpc/svc.h>
60
#include <tirpc/rpc/svc.h>
61
#include <rpc/rpc_msg.h>
61
#include <tirpc/rpc/rpc_msg.h>
62
#include <rpc/svc_auth.h>
62
#include <tirpc/rpc/svc_auth.h>
63
#if defined(__FreeBSD__) || defined(__NetBSD__)
63
#if defined(__FreeBSD__) || defined(__NetBSD__)
64
#include <libc_private.h>
64
#include <libc_private.h>
65
#endif
65
#endif
(-)libtirpc-1.0.3-orig/src/svc_auth_gss.c (-4 / +4 lines)
Lines 43-52 Link Here
43
#include <pwd.h>
43
#include <pwd.h>
44
#include <grp.h>
44
#include <grp.h>
45
45
46
#include <rpc/rpc.h>
46
#include <tirpc/rpc/rpc.h>
47
#include <rpc/auth_gss.h>
47
#include <tirpc/rpc/auth_gss.h>
48
#include <rpc/svc_auth_gss.h>
48
#include <tirpc/rpc/svc_auth_gss.h>
49
#include <rpc/rpcsec_gss.h>
49
#include <tirpc/rpc/rpcsec_gss.h>
50
50
51
#ifdef HAVE_GSSAPI_GSSAPI_EXT_H
51
#ifdef HAVE_GSSAPI_GSSAPI_EXT_H
52
/* MIT Kerberos */
52
/* MIT Kerberos */
(-)libtirpc-1.0.3-orig/src/svc_auth_none.c (-1 / +1 lines)
Lines 35-41 Link Here
35
  $Id: svc_auth_none.c,v 1.1 2004/10/22 17:24:30 bfields Exp $
35
  $Id: svc_auth_none.c,v 1.1 2004/10/22 17:24:30 bfields Exp $
36
 */
36
 */
37
37
38
#include <rpc/rpc.h>
38
#include <tirpc/rpc/rpc.h>
39
39
40
static bool_t	svcauth_none_destroy();
40
static bool_t	svcauth_none_destroy();
41
static bool_t   svcauth_none_wrap();
41
static bool_t   svcauth_none_wrap();
(-)libtirpc-1.0.3-orig/src/svc_auth_unix.c (-1 / +1 lines)
Lines 41-47 Link Here
41
#include <stdio.h>
41
#include <stdio.h>
42
#include <string.h>
42
#include <string.h>
43
43
44
#include <rpc/rpc.h>
44
#include <tirpc/rpc/rpc.h>
45
45
46
extern SVCAUTH svc_auth_none;
46
extern SVCAUTH svc_auth_none;
47
47
(-)libtirpc-1.0.3-orig/src/svc.c (-2 / +2 lines)
Lines 46-54 Link Here
46
#include <stdlib.h>
46
#include <stdlib.h>
47
#include <string.h>
47
#include <string.h>
48
48
49
#include <rpc/rpc.h>
49
#include <tirpc/rpc/rpc.h>
50
#ifdef PORTMAP
50
#ifdef PORTMAP
51
#include <rpc/pmap_clnt.h>
51
#include <tirpc/rpc/pmap_clnt.h>
52
#endif /* PORTMAP */
52
#endif /* PORTMAP */
53
53
54
#include "rpc_com.h"
54
#include "rpc_com.h"
(-)libtirpc-1.0.3-orig/src/svc_dg.c (-3 / +3 lines)
Lines 41-54 Link Here
41
#include <reentrant.h>
41
#include <reentrant.h>
42
#include <sys/types.h>
42
#include <sys/types.h>
43
#include <sys/socket.h>
43
#include <sys/socket.h>
44
#include <rpc/rpc.h>
44
#include <tirpc/rpc/rpc.h>
45
#include <rpc/svc_dg.h>
45
#include <tirpc/rpc/svc_dg.h>
46
#include <errno.h>
46
#include <errno.h>
47
#include <unistd.h>
47
#include <unistd.h>
48
#include <stdio.h>
48
#include <stdio.h>
49
#include <stdlib.h>
49
#include <stdlib.h>
50
#include <string.h>
50
#include <string.h>
51
#include <netconfig.h>
51
#include <tirpc/netconfig.h>
52
#include <err.h>
52
#include <err.h>
53
53
54
#include "rpc_com.h"
54
#include "rpc_com.h"
(-)libtirpc-1.0.3-orig/src/svc_generic.c (-3 / +3 lines)
Lines 40-47 Link Here
40
#include <sys/types.h>
40
#include <sys/types.h>
41
#include <sys/socket.h>
41
#include <sys/socket.h>
42
#include <netinet/in.h>
42
#include <netinet/in.h>
43
#include <rpc/rpc.h>
43
#include <tirpc/rpc/rpc.h>
44
#include <rpc/nettype.h>
44
#include <tirpc/rpc/nettype.h>
45
#include <stdio.h>
45
#include <stdio.h>
46
#include <errno.h>
46
#include <errno.h>
47
#include <stdlib.h>
47
#include <stdlib.h>
Lines 50-56 Link Here
50
#include <err.h>
50
#include <err.h>
51
51
52
#include "rpc_com.h"
52
#include "rpc_com.h"
53
#include <rpc/svc.h>
53
#include <tirpc/rpc/svc.h>
54
54
55
extern int __svc_vc_setflag(SVCXPRT *, int);
55
extern int __svc_vc_setflag(SVCXPRT *, int);
56
extern int __binddynport(int fd);
56
extern int __binddynport(int fd);
(-)libtirpc-1.0.3-orig/src/svc_raw.c (-2 / +2 lines)
Lines 39-47 Link Here
39
 */
39
 */
40
#include <pthread.h>
40
#include <pthread.h>
41
#include <reentrant.h>
41
#include <reentrant.h>
42
#include <rpc/rpc.h>
42
#include <tirpc/rpc/rpc.h>
43
#include <sys/types.h>
43
#include <sys/types.h>
44
#include <rpc/raw.h>
44
#include <tirpc/rpc/raw.h>
45
#include <stdlib.h>
45
#include <stdlib.h>
46
46
47
#ifndef UDPMSGSIZE
47
#ifndef UDPMSGSIZE
(-)libtirpc-1.0.3-orig/src/svc_run.c (-1 / +1 lines)
Lines 40-46 Link Here
40
#include <sys/poll.h>
40
#include <sys/poll.h>
41
41
42
42
43
#include <rpc/rpc.h>
43
#include <tirpc/rpc/rpc.h>
44
#include "rpc_com.h"
44
#include "rpc_com.h"
45
#include <sys/select.h>
45
#include <sys/select.h>
46
46
(-)libtirpc-1.0.3-orig/src/svc_simple.c (-2 / +2 lines)
Lines 44-51 Link Here
44
#include <pthread.h>
44
#include <pthread.h>
45
#include <reentrant.h>
45
#include <reentrant.h>
46
#include <sys/types.h>
46
#include <sys/types.h>
47
#include <rpc/rpc.h>
47
#include <tirpc/rpc/rpc.h>
48
#include <rpc/nettype.h>
48
#include <tirpc/rpc/nettype.h>
49
#include <stdio.h>
49
#include <stdio.h>
50
#include <stdlib.h>
50
#include <stdlib.h>
51
#include <string.h>
51
#include <string.h>
(-)libtirpc-1.0.3-orig/src/svc_vc.c (-1 / +1 lines)
Lines 56-62 Link Here
56
#include <string.h>
56
#include <string.h>
57
#include <unistd.h>
57
#include <unistd.h>
58
58
59
#include <rpc/rpc.h>
59
#include <tirpc/rpc/rpc.h>
60
60
61
#include "rpc_com.h"
61
#include "rpc_com.h"
62
62
(-)libtirpc-1.0.3-orig/src/xdr_array.c (-2 / +2 lines)
Lines 43-50 Link Here
43
#include <stdlib.h>
43
#include <stdlib.h>
44
#include <string.h>
44
#include <string.h>
45
45
46
#include <rpc/types.h>
46
#include <tirpc/rpc/types.h>
47
#include <rpc/xdr.h>
47
#include <tirpc/rpc/xdr.h>
48
#include "un-namespace.h"
48
#include "un-namespace.h"
49
49
50
/*
50
/*
(-)libtirpc-1.0.3-orig/src/xdr.c (-4 / +4 lines)
Lines 42-51 Link Here
42
#include <stdlib.h>
42
#include <stdlib.h>
43
#include <string.h>
43
#include <string.h>
44
44
45
#include <rpc/rpc.h>
45
#include <tirpc/rpc/rpc.h>
46
#include <rpc/types.h>
46
#include <tirpc/rpc/types.h>
47
#include <rpc/xdr.h>
47
#include <tirpc/rpc/xdr.h>
48
#include <rpc/rpc_com.h>
48
#include <tirpc/rpc/rpc_com.h>
49
49
50
typedef quad_t          longlong_t;     /* ANSI long long type */
50
typedef quad_t          longlong_t;     /* ANSI long long type */
51
typedef u_quad_t        u_longlong_t;   /* ANSI unsigned long long type */
51
typedef u_quad_t        u_longlong_t;   /* ANSI unsigned long long type */
(-)libtirpc-1.0.3-orig/src/xdr_float.c (-2 / +2 lines)
Lines 43-50 Link Here
43
43
44
#include <stdio.h>
44
#include <stdio.h>
45
45
46
#include <rpc/types.h>
46
#include <tirpc/rpc/types.h>
47
#include <rpc/xdr.h>
47
#include <tirpc/rpc/xdr.h>
48
#include "un-namespace.h"
48
#include "un-namespace.h"
49
49
50
/*
50
/*
(-)libtirpc-1.0.3-orig/src/xdr_mem.c (-2 / +2 lines)
Lines 44-51 Link Here
44
44
45
#include <string.h>
45
#include <string.h>
46
46
47
#include <rpc/types.h>
47
#include <tirpc/rpc/types.h>
48
#include <rpc/xdr.h>
48
#include <tirpc/rpc/xdr.h>
49
#include "un-namespace.h"
49
#include "un-namespace.h"
50
50
51
static void xdrmem_destroy(XDR *);
51
static void xdrmem_destroy(XDR *);
(-)libtirpc-1.0.3-orig/src/xdr_rec.c (-6 / +6 lines)
Lines 54-65 Link Here
54
#include <stdlib.h>
54
#include <stdlib.h>
55
#include <string.h>
55
#include <string.h>
56
56
57
#include <rpc/types.h>
57
#include <tirpc/rpc/types.h>
58
#include <rpc/xdr.h>
58
#include <tirpc/rpc/xdr.h>
59
#include <rpc/auth.h>
59
#include <tirpc/rpc/auth.h>
60
#include <rpc/svc_auth.h>
60
#include <tirpc/rpc/svc_auth.h>
61
#include <rpc/svc.h>
61
#include <tirpc/rpc/svc.h>
62
#include <rpc/clnt.h>
62
#include <tirpc/rpc/clnt.h>
63
#include <stddef.h>
63
#include <stddef.h>
64
#include "rpc_com.h"
64
#include "rpc_com.h"
65
static bool_t	xdrrec_getlong(XDR *, long *);
65
static bool_t	xdrrec_getlong(XDR *, long *);
(-)libtirpc-1.0.3-orig/src/xdr_reference.c (-2 / +2 lines)
Lines 41-48 Link Here
41
#include <stdlib.h>
41
#include <stdlib.h>
42
#include <string.h>
42
#include <string.h>
43
43
44
#include <rpc/types.h>
44
#include <tirpc/rpc/types.h>
45
#include <rpc/xdr.h>
45
#include <tirpc/rpc/xdr.h>
46
46
47
#if defined(__FreeBSD__) || defined(__NetBSD__)
47
#if defined(__FreeBSD__) || defined(__NetBSD__)
48
#include <libc_private.h>
48
#include <libc_private.h>
(-)libtirpc-1.0.3-orig/src/xdr_sizeof.c (-2 / +2 lines)
Lines 35-42 Link Here
35
 */
35
 */
36
36
37
37
38
#include <rpc/types.h>
38
#include <tirpc/rpc/types.h>
39
#include <rpc/xdr.h>
39
#include <tirpc/rpc/xdr.h>
40
#include <sys/types.h>
40
#include <sys/types.h>
41
#include <stdlib.h>
41
#include <stdlib.h>
42
#include <stdint.h>
42
#include <stdint.h>
(-)libtirpc-1.0.3-orig/src/xdr_stdio.c (-2 / +2 lines)
Lines 40-47 Link Here
40
#include <stdio.h>
40
#include <stdio.h>
41
41
42
#include <arpa/inet.h>
42
#include <arpa/inet.h>
43
#include <rpc/types.h>
43
#include <tirpc/rpc/types.h>
44
#include <rpc/xdr.h>
44
#include <tirpc/rpc/xdr.h>
45
#include "un-namespace.h"
45
#include "un-namespace.h"
46
46
47
static void xdrstdio_destroy(XDR *);
47
static void xdrstdio_destroy(XDR *);
(-)libtirpc-1.0.3-orig/tirpc/rpc/auth_des.h (-1 / +1 lines)
Lines 42-48 Link Here
42
#ifndef _TI_AUTH_DES_
42
#ifndef _TI_AUTH_DES_
43
#define _TI_AUTH_DES_
43
#define _TI_AUTH_DES_
44
44
45
#include <rpc/auth.h>
45
#include <tirpc/rpc/auth.h>
46
46
47
/*
47
/*
48
 * There are two kinds of "names": fullnames and nicknames
48
 * There are two kinds of "names": fullnames and nicknames
(-)libtirpc-1.0.3-orig/tirpc/rpc/auth_gss.h (-1 / +1 lines)
Lines 37-43 Link Here
37
#ifndef _TIRPC_AUTH_GSS_H
37
#ifndef _TIRPC_AUTH_GSS_H
38
#define _TIRPC_AUTH_GSS_H
38
#define _TIRPC_AUTH_GSS_H
39
39
40
#include <rpc/clnt.h>
40
#include <tirpc/rpc/clnt.h>
41
#include <gssapi/gssapi.h>
41
#include <gssapi/gssapi.h>
42
42
43
/* RPCSEC_GSS control procedures. */
43
/* RPCSEC_GSS control procedures. */
(-)libtirpc-1.0.3-orig/tirpc/rpc/auth.h (-2 / +2 lines)
Lines 46-53 Link Here
46
#ifndef _TIRPC_AUTH_H
46
#ifndef _TIRPC_AUTH_H
47
#define  _TIRPC_AUTH_H
47
#define  _TIRPC_AUTH_H
48
48
49
#include <rpc/xdr.h>
49
#include <tirpc/rpc/xdr.h>
50
#include <rpc/clnt_stat.h>
50
#include <tirpc/rpc/clnt_stat.h>
51
#include <sys/socket.h>
51
#include <sys/socket.h>
52
#include <sys/types.h>
52
#include <sys/types.h>
53
53
(-)libtirpc-1.0.3-orig/tirpc/rpc/clnt.h (-4 / +4 lines)
Lines 39-48 Link Here
39
#ifndef _TIRPC_CLNT_H_
39
#ifndef _TIRPC_CLNT_H_
40
#define _TIRPC_CLNT_H_
40
#define _TIRPC_CLNT_H_
41
41
42
#include <rpc/clnt_stat.h>
42
#include <tirpc/rpc/clnt_stat.h>
43
#include <rpc/auth.h>
43
#include <tirpc/rpc/auth.h>
44
44
45
#include <netconfig.h>
45
#include <tirpc/netconfig.h>
46
#include <sys/un.h>
46
#include <sys/un.h>
47
47
48
/*
48
/*
Lines 562-567 extern enum clnt_stat rpc_broadcast_exp( Link Here
562
#endif
562
#endif
563
563
564
/* For backward compatibility */
564
/* For backward compatibility */
565
#include <rpc/clnt_soc.h>
565
#include <tirpc/rpc/clnt_soc.h>
566
566
567
#endif /* !_TIRPC_CLNT_H_ */
567
#endif /* !_TIRPC_CLNT_H_ */
(-)libtirpc-1.0.3-orig/tirpc/rpc/des_crypt.h (-1 / +1 lines)
Lines 43-49 Link Here
43
#ifndef _DES_DES_CRYPT_H
43
#ifndef _DES_DES_CRYPT_H
44
#define _DES_DES_CRYPT_H
44
#define _DES_DES_CRYPT_H
45
45
46
#include <rpc/rpc.h>
46
#include <tirpc/rpc/rpc.h>
47
47
48
#define DES_MAXDATA 8192	/* max bytes encrypted in one call */
48
#define DES_MAXDATA 8192	/* max bytes encrypted in one call */
49
#define DES_DIRMASK (1 << 0)
49
#define DES_DIRMASK (1 << 0)
(-)libtirpc-1.0.3-orig/tirpc/rpc/key_prot.h (-1 / +1 lines)
Lines 6-12 Link Here
6
#ifndef _KEY_PROT_H_RPCGEN
6
#ifndef _KEY_PROT_H_RPCGEN
7
#define _KEY_PROT_H_RPCGEN
7
#define _KEY_PROT_H_RPCGEN
8
8
9
#include <rpc/rpc.h>
9
#include <tirpc/rpc/rpc.h>
10
10
11
11
12
#ifdef __cplusplus
12
#ifdef __cplusplus
(-)libtirpc-1.0.3-orig/tirpc/rpc/nettype.h (-1 / +1 lines)
Lines 41-47 Link Here
41
#ifndef	_TIRPC_NETTYPE_H
41
#ifndef	_TIRPC_NETTYPE_H
42
#define	_TIRPC_NETTYPE_H
42
#define	_TIRPC_NETTYPE_H
43
43
44
#include <netconfig.h>
44
#include <tirpc/netconfig.h>
45
45
46
#define	_RPC_NONE	0
46
#define	_RPC_NONE	0
47
#define	_RPC_NETPATH	1
47
#define	_RPC_NETPATH	1
(-)libtirpc-1.0.3-orig/tirpc/rpc/pmap_clnt.h (-3 / +3 lines)
Lines 64-72 Link Here
64
#ifndef _RPC_PMAP_CLNT_H_
64
#ifndef _RPC_PMAP_CLNT_H_
65
#define _RPC_PMAP_CLNT_H_
65
#define _RPC_PMAP_CLNT_H_
66
66
67
#include <rpc/types.h>
67
#include <tirpc/rpc/types.h>
68
#include <rpc/xdr.h>
68
#include <tirpc/rpc/xdr.h>
69
#include <rpc/clnt.h>
69
#include <tirpc/rpc/clnt.h>
70
70
71
#ifdef __cplusplus
71
#ifdef __cplusplus
72
extern "C" {
72
extern "C" {
(-)libtirpc-1.0.3-orig/tirpc/rpc/rpcb_clnt.h (-2 / +2 lines)
Lines 57-64 Link Here
57
/* #pragma ident	"@(#)rpcb_clnt.h	1.13	94/04/25 SMI" */
57
/* #pragma ident	"@(#)rpcb_clnt.h	1.13	94/04/25 SMI" */
58
/* rpcb_clnt.h 1.3 88/12/05 SMI */
58
/* rpcb_clnt.h 1.3 88/12/05 SMI */
59
59
60
#include <rpc/types.h>
60
#include <tirpc/rpc/types.h>
61
#include <rpc/rpcb_prot.h>
61
#include <tirpc/rpc/rpcb_prot.h>
62
#ifdef __cplusplus
62
#ifdef __cplusplus
63
extern "C" {
63
extern "C" {
64
#endif
64
#endif
(-)libtirpc-1.0.3-orig/tirpc/rpc/rpcb_prot.h (-1 / +1 lines)
Lines 6-12 Link Here
6
#ifndef _RPCB_PROT_H_RPCGEN
6
#ifndef _RPCB_PROT_H_RPCGEN
7
#define _RPCB_PROT_H_RPCGEN
7
#define _RPCB_PROT_H_RPCGEN
8
8
9
#include <rpc/rpc.h>
9
#include <tirpc/rpc/rpc.h>
10
10
11
#ifndef IXDR_GET_INT32
11
#ifndef IXDR_GET_INT32
12
#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))
12
#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))
(-)libtirpc-1.0.3-orig/tirpc/rpc/rpc.h (-14 / +14 lines)
Lines 35-76 Link Here
35
#ifndef _TIRPC_RPC_H
35
#ifndef _TIRPC_RPC_H
36
#define _TIRPC_RPC_H
36
#define _TIRPC_RPC_H
37
37
38
#include <rpc/types.h>		/* some typedefs */
38
#include <tirpc/rpc/types.h>		/* some typedefs */
39
#include <sys/socket.h>
39
#include <sys/socket.h>
40
#include <netinet/in.h>
40
#include <netinet/in.h>
41
41
42
/* external data representation interfaces */
42
/* external data representation interfaces */
43
#include <rpc/xdr.h>		/* generic (de)serializer */
43
#include <tirpc/rpc/xdr.h>		/* generic (de)serializer */
44
44
45
/* Client side only authentication */
45
/* Client side only authentication */
46
#include <rpc/auth.h>		/* generic authenticator (client side) */
46
#include <tirpc/rpc/auth.h>		/* generic authenticator (client side) */
47
47
48
/* Client side (mostly) remote procedure call */
48
/* Client side (mostly) remote procedure call */
49
#include <rpc/clnt.h>		/* generic rpc stuff */
49
#include <tirpc/rpc/clnt.h>		/* generic rpc stuff */
50
50
51
/* semi-private protocol headers */
51
/* semi-private protocol headers */
52
#include <rpc/rpc_msg.h>	/* protocol for rpc messages */
52
#include <tirpc/rpc/rpc_msg.h>	/* protocol for rpc messages */
53
#include <rpc/auth_unix.h>	/* protocol for unix style cred */
53
#include <tirpc/rpc/auth_unix.h>	/* protocol for unix style cred */
54
54
55
/*
55
/*
56
 *  Uncomment-out the next line if you are building the rpc library with
56
 *  Uncomment-out the next line if you are building the rpc library with
57
 *  DES Authentication (see the README file in the secure_rpc/ directory).
57
 *  DES Authentication (see the README file in the secure_rpc/ directory).
58
 */
58
 */
59
#include <rpc/auth_des.h>	/* protocol for des style cred */
59
#include <tirpc/rpc/auth_des.h>	/* protocol for des style cred */
60
60
61
/* Server side only remote procedure callee */
61
/* Server side only remote procedure callee */
62
#include <rpc/svc_auth.h>	/* service side authenticator */
62
#include <tirpc/rpc/svc_auth.h>	/* service side authenticator */
63
#include <rpc/svc.h>		/* service manager and multiplexer */
63
#include <tirpc/rpc/svc.h>		/* service manager and multiplexer */
64
64
65
/* Portmapper client, server, and protocol headers */
65
/* Portmapper client, server, and protocol headers */
66
#include <rpc/pmap_clnt.h>
66
#include <tirpc/rpc/pmap_clnt.h>
67
#include <rpc/pmap_prot.h>
67
#include <tirpc/rpc/pmap_prot.h>
68
68
69
#ifndef _KERNEL
69
#ifndef _KERNEL
70
#include <rpc/rpcb_clnt.h>	/* rpcbind interface functions */
70
#include <tirpc/rpc/rpcb_clnt.h>	/* rpcbind interface functions */
71
#include <rpc/svc_mt.h>
71
#include <tirpc/rpc/svc_mt.h>
72
#endif
72
#endif
73
#include <rpc/rpcent.h>
73
#include <tirpc/rpc/rpcent.h>
74
74
75
#ifndef UDPMSGSIZE
75
#ifndef UDPMSGSIZE
76
#define UDPMSGSIZE 8800
76
#define UDPMSGSIZE 8800
(-)libtirpc-1.0.3-orig/tirpc/rpc/rpc_msg.h (-1 / +1 lines)
Lines 45-51 Link Here
45
#define RPC_MSG_VERSION		((u_int32_t) 2)
45
#define RPC_MSG_VERSION		((u_int32_t) 2)
46
#define RPC_SERVICE_PORT	((u_short) 2048)
46
#define RPC_SERVICE_PORT	((u_short) 2048)
47
47
48
#include <rpc/auth.h>
48
#include <tirpc/rpc/auth.h>
49
49
50
/*
50
/*
51
 * Bottom up definition of an rpc message.
51
 * Bottom up definition of an rpc message.
(-)libtirpc-1.0.3-orig/tirpc/rpc/rpcsec_gss.h (-2 / +2 lines)
Lines 31-38 Link Here
31
31
32
#include <sys/types.h>
32
#include <sys/types.h>
33
33
34
#include <rpc/auth.h>
34
#include <tirpc/rpc/auth.h>
35
#include <rpc/clnt.h>
35
#include <tirpc/rpc/clnt.h>
36
36
37
#include <gssapi/gssapi.h>
37
#include <gssapi/gssapi.h>
38
38
(-)libtirpc-1.0.3-orig/tirpc/rpc/svc_auth_gss.h (-1 / +1 lines)
Lines 29-35 Link Here
29
#ifndef _TIRPC_SVC_AUTH_GSS_H
29
#ifndef _TIRPC_SVC_AUTH_GSS_H
30
#define _TIRPC_SVC_AUTH_GSS_H
30
#define _TIRPC_SVC_AUTH_GSS_H
31
31
32
#include <rpc/svc_auth.h>
32
#include <tirpc/rpc/svc_auth.h>
33
#include <gssapi/gssapi.h>
33
#include <gssapi/gssapi.h>
34
34
35
/*
35
/*
(-)libtirpc-1.0.3-orig/tirpc/rpc/svc.h (-1 / +1 lines)
Lines 460-466 int __rpc_get_local_uid(SVCXPRT *_transp Link Here
460
460
461
461
462
/* for backward compatibility */
462
/* for backward compatibility */
463
#include <rpc/svc_soc.h>
463
#include <tirpc/rpc/svc_soc.h>
464
464
465
465
466
466
(-)libtirpc-1.0.3-orig/tirpc/rpc/types.h (-1 / +1 lines)
Lines 90-96 typedef __caddr_t caddr_t; Link Here
90
#include <sys/time.h>
90
#include <sys/time.h>
91
#include <sys/param.h>
91
#include <sys/param.h>
92
#include <stdlib.h>
92
#include <stdlib.h>
93
#include <netconfig.h>
93
#include <tirpc/netconfig.h>
94
94
95
/*
95
/*
96
 * The netbuf structure is defined here, because FreeBSD / NetBSD only use
96
 * The netbuf structure is defined here, because FreeBSD / NetBSD only use
(-)libtirpc-1.0.3-orig/tirpc/rpc/xdr.h (-1 / +1 lines)
Lines 43-49 Link Here
43
#include <stdio.h>
43
#include <stdio.h>
44
#include <netinet/in.h>
44
#include <netinet/in.h>
45
45
46
#include <rpc/types.h>
46
#include <tirpc/rpc/types.h>
47
47
48
/*
48
/*
49
 * XDR provides a conventional way for converting between C data
49
 * XDR provides a conventional way for converting between C data
(-)libtirpc-1.0.3-orig/tirpc/rpcsvc/crypt.h (-1 / +1 lines)
Lines 6-12 Link Here
6
#ifndef _CRYPT_H_RPCGEN
6
#ifndef _CRYPT_H_RPCGEN
7
#define _CRYPT_H_RPCGEN
7
#define _CRYPT_H_RPCGEN
8
8
9
#include <rpc/rpc.h>
9
#include <tirpc/rpc/rpc.h>
10
10
11
#ifndef IXDR_GET_INT32
11
#ifndef IXDR_GET_INT32
12
#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))
12
#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))
(-)libtirpc-1.0.3-orig/tirpc/rpcsvc/nis.h (-2 / +2 lines)
Lines 33-40 Link Here
33
#define _RPCSVC_NIS_H 1
33
#define _RPCSVC_NIS_H 1
34
34
35
#include <features.h>
35
#include <features.h>
36
#include <rpc/rpc.h>
36
#include <tirpc/rpc/rpc.h>
37
#include <rpcsvc/nis_tags.h>
37
#include <tirpc/rpcsvc/nis_tags.h>
38
38
39
__BEGIN_DECLS
39
__BEGIN_DECLS
40
40

Return to bug 660590