/usr/include/drac.h is in drac-dev 1.12-8+b2.
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 | /*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _DRAC_H_RPCGEN
#define _DRAC_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef CLIENT
#include <rpc/rpc.h>
#endif
struct drac_add_parm {
u_long ip_addr;
};
typedef struct drac_add_parm drac_add_parm;
struct drac_add_parm6 {
char ip_addr6[16];
};
typedef struct drac_add_parm6 drac_add_parm6;
enum addstat {
ADD_SUCCESS = 0,
ADD_PERM = 1,
ADD_SYSERR = 2,
ADD_UNKOWN = 3,
};
typedef enum addstat addstat;
#define DRACPROG 900101
#define DRACVERS 1
#if defined(__STDC__) || defined(__cplusplus)
#define DRACPROC_ADD 1
extern addstat * dracproc_add_1(drac_add_parm *, CLIENT *);
extern addstat * dracproc_add_1_svc(drac_add_parm *, struct svc_req *);
extern int dracprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
#define DRACPROC_ADD 1
extern addstat * dracproc_add_1();
extern addstat * dracproc_add_1_svc();
extern int dracprog_1_freeresult ();
#endif /* K&R C */
#define DRACVERS6 2
#if defined(__STDC__) || defined(__cplusplus)
extern addstat * dracproc_add_2(drac_add_parm6 *, CLIENT *);
extern addstat * dracproc_add_2_svc(drac_add_parm6 *, struct svc_req *);
extern int dracprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
extern addstat * dracproc_add_2();
extern addstat * dracproc_add_2_svc();
extern int dracprog_2_freeresult ();
#endif /* K&R C */
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_drac_add_parm (XDR *, drac_add_parm*);
extern bool_t xdr_drac_add_parm6 (XDR *, drac_add_parm6*);
extern bool_t xdr_addstat (XDR *, addstat*);
#else /* K&R C */
extern bool_t xdr_drac_add_parm ();
extern bool_t xdr_drac_add_parm6 ();
extern bool_t xdr_addstat ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_DRAC_H_RPCGEN */
|