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