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