/usr/powerpc64le-linux-gnu/include/rpcsvc/rex.h is in libc6-dev-ppc64el-cross 2.23-0ubuntu3cross1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | /*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _REX_H_RPCGEN
#define _REX_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
#define STRINGSIZE 1024
typedef char *rexstring;
#define SIGINT 2
#define REX_INTERACTIVE 1
struct rex_start {
struct {
u_int rst_cmd_len;
rexstring *rst_cmd_val;
} rst_cmd;
rexstring rst_host;
rexstring rst_fsname;
rexstring rst_dirwithin;
struct {
u_int rst_env_len;
rexstring *rst_env_val;
} rst_env;
u_int rst_port0;
u_int rst_port1;
u_int rst_port2;
u_int rst_flags;
};
typedef struct rex_start rex_start;
struct rex_result {
int rlt_stat;
rexstring rlt_message;
};
typedef struct rex_result rex_result;
struct sgttyb {
u_int four;
char chars[4];
u_int flags;
};
typedef struct sgttyb sgttyb;
#define B0 0
#define B50 1
#define B75 2
#define B110 3
#define B134 4
#define B150 5
#define B200 6
#define B300 7
#define B600 8
#define B1200 9
#define B1800 10
#define B2400 11
#define B4800 12
#define B9600 13
#define B19200 14
#define B38400 15
#define TANDEM 0x00000001
#define CBREAK 0x00000002
#define LCASE 0x00000004
#define ECHO 0x00000008
#define CRMOD 0x00000010
#define RAW 0x00000020
#define ODDP 0x00000040
#define EVENP 0x00000080
#define ANYP 0x000000c0
#define NLDELAY 0x00000300
#define NL0 0x00000000
#define NL1 0x00000100
#define NL2 0x00000200
#define NL3 0x00000300
#define TBDELAY 0x00000c00
#define TAB0 0x00000000
#define TAB1 0x00000400
#define TAB2 0x00000800
#define XTABS 0x00000c00
#define CRDELAY 0x00003000
#define CR0 0x00000000
#define CR1 0x00001000
#define CR2 0x00002000
#define CR3 0x00003000
#define VTDELAY 0x00004000
#define FF0 0x00000000
#define FF1 0x00004000
#define BSDELAY 0x00008000
#define BS0 0x00000000
#define BS1 0x00008000
#define CRTBS 0x00010000
#define PRTERA 0x00020000
#define CRTERA 0x00040000
#define TILDE 0x00080000
#define MDMBUF 0x00100000
#define LITOUT 0x00200000
#define TOSTOP 0x00400000
#define FLUSHO 0x00800000
#define NOHANG 0x01000000
#define L001000 0x02000000
#define CRTKIL 0x04000000
#define PASS8 0x08000000
#define CTLECH 0x10000000
#define PENDIN 0x20000000
#define DECCTQ 0x40000000
#define NOFLSH 0x80000000
struct tchars {
u_int six;
char chars[6];
};
typedef struct tchars tchars;
struct ltchars {
u_int six;
char chars[6];
u_int mode;
};
typedef struct ltchars ltchars;
struct rex_ttysize {
int ts_lines;
int ts_cols;
};
typedef struct rex_ttysize rex_ttysize;
struct rex_ttymode {
sgttyb basic;
tchars more;
ltchars yetmore;
u_int andmore;
};
typedef struct rex_ttymode rex_ttymode;
#define LCRTBS 0x0001
#define LPRTERA 0x0002
#define LCRTERA 0x0004
#define LTILDE 0x0008
#define LMDMBUF 0x0010
#define LLITOUT 0x0020
#define LTOSTOP 0x0040
#define LFLUSHO 0x0080
#define LNOHANG 0x0100
#define LL001000 0x0200
#define LCRTKIL 0x0400
#define LPASS8 0x0800
#define LCTLECH 0x1000
#define LPENDIN 0x2000
#define LDECCTQ 0x4000
#define LNOFLSH 0x8000
#define REXPROG 100017
#define REXVERS 1
#if defined(__STDC__) || defined(__cplusplus)
#define REXPROC_START 1
extern rex_result * rexproc_start_1(rex_start *, CLIENT *);
extern rex_result * rexproc_start_1_svc(rex_start *, struct svc_req *);
#define REXPROC_WAIT 2
extern rex_result * rexproc_wait_1(void *, CLIENT *);
extern rex_result * rexproc_wait_1_svc(void *, struct svc_req *);
#define REXPROC_MODES 3
extern void * rexproc_modes_1(rex_ttymode *, CLIENT *);
extern void * rexproc_modes_1_svc(rex_ttymode *, struct svc_req *);
#define REXPROC_WINCH 4
extern void * rexproc_winch_1(rex_ttysize *, CLIENT *);
extern void * rexproc_winch_1_svc(rex_ttysize *, struct svc_req *);
#define REXPROC_SIGNAL 5
extern void * rexproc_signal_1(int *, CLIENT *);
extern void * rexproc_signal_1_svc(int *, struct svc_req *);
extern int rexprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
#define REXPROC_START 1
extern rex_result * rexproc_start_1();
extern rex_result * rexproc_start_1_svc();
#define REXPROC_WAIT 2
extern rex_result * rexproc_wait_1();
extern rex_result * rexproc_wait_1_svc();
#define REXPROC_MODES 3
extern void * rexproc_modes_1();
extern void * rexproc_modes_1_svc();
#define REXPROC_WINCH 4
extern void * rexproc_winch_1();
extern void * rexproc_winch_1_svc();
#define REXPROC_SIGNAL 5
extern void * rexproc_signal_1();
extern void * rexproc_signal_1_svc();
extern int rexprog_1_freeresult ();
#endif /* K&R C */
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_rexstring (XDR *, rexstring*);
extern bool_t xdr_rex_start (XDR *, rex_start*);
extern bool_t xdr_rex_result (XDR *, rex_result*);
extern bool_t xdr_sgttyb (XDR *, sgttyb*);
extern bool_t xdr_tchars (XDR *, tchars*);
extern bool_t xdr_ltchars (XDR *, ltchars*);
extern bool_t xdr_rex_ttysize (XDR *, rex_ttysize*);
extern bool_t xdr_rex_ttymode (XDR *, rex_ttymode*);
#else /* K&R C */
extern bool_t xdr_rexstring ();
extern bool_t xdr_rex_start ();
extern bool_t xdr_rex_result ();
extern bool_t xdr_sgttyb ();
extern bool_t xdr_tchars ();
extern bool_t xdr_ltchars ();
extern bool_t xdr_rex_ttysize ();
extern bool_t xdr_rex_ttymode ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_REX_H_RPCGEN */
|