Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/tirpc
File: netconfig.h
#ifndef _NETCONFIG_H_
[0] Fix | Delete
#define _NETCONFIG_H_
[1] Fix | Delete
[2] Fix | Delete
#ifdef HAVE_FEATURES_H
[3] Fix | Delete
#include <features.h>
[4] Fix | Delete
#endif
[5] Fix | Delete
[6] Fix | Delete
#define NETCONFIG "/etc/netconfig"
[7] Fix | Delete
#define NETPATH "NETPATH"
[8] Fix | Delete
[9] Fix | Delete
struct netconfig {
[10] Fix | Delete
char *nc_netid; /* Network ID */
[11] Fix | Delete
unsigned long nc_semantics; /* Semantics (see below) */
[12] Fix | Delete
unsigned long nc_flag; /* Flags (see below) */
[13] Fix | Delete
char *nc_protofmly; /* Protocol family */
[14] Fix | Delete
char *nc_proto; /* Protocol name */
[15] Fix | Delete
char *nc_device; /* Network device pathname */
[16] Fix | Delete
unsigned long nc_nlookups; /* Number of directory lookup libs */
[17] Fix | Delete
char **nc_lookups; /* Names of the libraries */
[18] Fix | Delete
unsigned long nc_unused[9]; /* reserved */
[19] Fix | Delete
};
[20] Fix | Delete
[21] Fix | Delete
typedef struct {
[22] Fix | Delete
struct netconfig **nc_head;
[23] Fix | Delete
struct netconfig **nc_curr;
[24] Fix | Delete
} NCONF_HANDLE;
[25] Fix | Delete
[26] Fix | Delete
/*
[27] Fix | Delete
* nc_semantics values
[28] Fix | Delete
*/
[29] Fix | Delete
#define NC_TPI_CLTS 1
[30] Fix | Delete
#define NC_TPI_COTS 2
[31] Fix | Delete
#define NC_TPI_COTS_ORD 3
[32] Fix | Delete
#define NC_TPI_RAW 4
[33] Fix | Delete
[34] Fix | Delete
/*
[35] Fix | Delete
* nc_flag values
[36] Fix | Delete
*/
[37] Fix | Delete
#define NC_NOFLAG 0x00
[38] Fix | Delete
#define NC_VISIBLE 0x01
[39] Fix | Delete
#define NC_BROADCAST 0x02
[40] Fix | Delete
[41] Fix | Delete
/*
[42] Fix | Delete
* nc_protofmly values
[43] Fix | Delete
*/
[44] Fix | Delete
#define NC_NOPROTOFMLY "-"
[45] Fix | Delete
#define NC_LOOPBACK "loopback"
[46] Fix | Delete
#define NC_INET "inet"
[47] Fix | Delete
#define NC_INET6 "inet6"
[48] Fix | Delete
#define NC_IMPLINK "implink"
[49] Fix | Delete
#define NC_PUP "pup"
[50] Fix | Delete
#define NC_CHAOS "chaos"
[51] Fix | Delete
#define NC_NS "ns"
[52] Fix | Delete
#define NC_NBS "nbs"
[53] Fix | Delete
#define NC_ECMA "ecma"
[54] Fix | Delete
#define NC_DATAKIT "datakit"
[55] Fix | Delete
#define NC_CCITT "ccitt"
[56] Fix | Delete
#define NC_SNA "sna"
[57] Fix | Delete
#define NC_DECNET "decnet"
[58] Fix | Delete
#define NC_DLI "dli"
[59] Fix | Delete
#define NC_LAT "lat"
[60] Fix | Delete
#define NC_HYLINK "hylink"
[61] Fix | Delete
#define NC_APPLETALK "appletalk"
[62] Fix | Delete
#define NC_NIT "nit"
[63] Fix | Delete
#define NC_IEEE802 "ieee802"
[64] Fix | Delete
#define NC_OSI "osi"
[65] Fix | Delete
#define NC_X25 "x25"
[66] Fix | Delete
#define NC_OSINET "osinet"
[67] Fix | Delete
#define NC_GOSIP "gosip"
[68] Fix | Delete
[69] Fix | Delete
/*
[70] Fix | Delete
* nc_proto values
[71] Fix | Delete
*/
[72] Fix | Delete
#define NC_NOPROTO "-"
[73] Fix | Delete
#define NC_TCP "tcp"
[74] Fix | Delete
#define NC_UDP "udp"
[75] Fix | Delete
#define NC_ICMP "icmp"
[76] Fix | Delete
[77] Fix | Delete
#ifdef __cplusplus
[78] Fix | Delete
extern "C" {
[79] Fix | Delete
#endif
[80] Fix | Delete
[81] Fix | Delete
extern void *setnetconfig (void);
[82] Fix | Delete
extern struct netconfig *getnetconfig (void *);
[83] Fix | Delete
extern struct netconfig *getnetconfigent (const char *);
[84] Fix | Delete
extern void freenetconfigent (struct netconfig *);
[85] Fix | Delete
extern int endnetconfig (void *);
[86] Fix | Delete
[87] Fix | Delete
extern void *setnetpath (void);
[88] Fix | Delete
extern struct netconfig *getnetpath (void *);
[89] Fix | Delete
extern int endnetpath (void *);
[90] Fix | Delete
[91] Fix | Delete
extern void nc_perror (const char *);
[92] Fix | Delete
extern char *nc_sperror (void);
[93] Fix | Delete
[94] Fix | Delete
#ifdef __cplusplus
[95] Fix | Delete
}
[96] Fix | Delete
#endif
[97] Fix | Delete
[98] Fix | Delete
#endif /* _NETCONFIG_H_ */
[99] Fix | Delete
[100] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function