/usr/include/glusterfs/rpc/portmap-xdr.h is in glusterfs-common 3.8.8-1.
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 | /*
Copyright (c) 2007-2016 Red Hat, Inc. <http://www.redhat.com>
This file is part of GlusterFS.
This file is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3 or
later), or the GNU General Public License, version 2 (GPLv2), in all
cases as published by the Free Software Foundation.
*/
#include "compat.h"
#if defined(__GNUC__)
#if __GNUC__ >= 4
#if !defined(__clang__)
#if !defined(__NetBSD__)
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif
#else
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wunused-value"
#endif
#endif
#endif
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _PORTMAP_XDR_H_RPCGEN
#define _PORTMAP_XDR_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
struct pmap_port_by_brick_req {
char *brick;
};
typedef struct pmap_port_by_brick_req pmap_port_by_brick_req;
struct pmap_port_by_brick_rsp {
int op_ret;
int op_errno;
int status;
int port;
};
typedef struct pmap_port_by_brick_rsp pmap_port_by_brick_rsp;
struct pmap_brick_by_port_req {
int port;
};
typedef struct pmap_brick_by_port_req pmap_brick_by_port_req;
struct pmap_brick_by_port_rsp {
int op_ret;
int op_errno;
int status;
char *brick;
};
typedef struct pmap_brick_by_port_rsp pmap_brick_by_port_rsp;
struct pmap_signup_req {
char *brick;
int port;
};
typedef struct pmap_signup_req pmap_signup_req;
struct pmap_signup_rsp {
int op_ret;
int op_errno;
};
typedef struct pmap_signup_rsp pmap_signup_rsp;
struct pmap_signin_req {
char *brick;
int port;
};
typedef struct pmap_signin_req pmap_signin_req;
struct pmap_signin_rsp {
int op_ret;
int op_errno;
};
typedef struct pmap_signin_rsp pmap_signin_rsp;
struct pmap_signout_req {
char *brick;
int port;
int rdma_port;
};
typedef struct pmap_signout_req pmap_signout_req;
struct pmap_signout_rsp {
int op_ret;
int op_errno;
};
typedef struct pmap_signout_rsp pmap_signout_rsp;
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_pmap_port_by_brick_req (XDR *, pmap_port_by_brick_req*);
extern bool_t xdr_pmap_port_by_brick_rsp (XDR *, pmap_port_by_brick_rsp*);
extern bool_t xdr_pmap_brick_by_port_req (XDR *, pmap_brick_by_port_req*);
extern bool_t xdr_pmap_brick_by_port_rsp (XDR *, pmap_brick_by_port_rsp*);
extern bool_t xdr_pmap_signup_req (XDR *, pmap_signup_req*);
extern bool_t xdr_pmap_signup_rsp (XDR *, pmap_signup_rsp*);
extern bool_t xdr_pmap_signin_req (XDR *, pmap_signin_req*);
extern bool_t xdr_pmap_signin_rsp (XDR *, pmap_signin_rsp*);
extern bool_t xdr_pmap_signout_req (XDR *, pmap_signout_req*);
extern bool_t xdr_pmap_signout_rsp (XDR *, pmap_signout_rsp*);
#else /* K&R C */
extern bool_t xdr_pmap_port_by_brick_req ();
extern bool_t xdr_pmap_port_by_brick_rsp ();
extern bool_t xdr_pmap_brick_by_port_req ();
extern bool_t xdr_pmap_brick_by_port_rsp ();
extern bool_t xdr_pmap_signup_req ();
extern bool_t xdr_pmap_signup_rsp ();
extern bool_t xdr_pmap_signin_req ();
extern bool_t xdr_pmap_signin_rsp ();
extern bool_t xdr_pmap_signout_req ();
extern bool_t xdr_pmap_signout_rsp ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_PORTMAP_XDR_H_RPCGEN */
|