/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _MINT_H_RPCGEN
#define _MINT_H_RPCGEN
#define RPCGEN_VERSION 199506
#include <rpc/rpc.h>
#ifndef _flick_mint_h
#define _flick_mint_h
#include <rpc/types.h>
#include <rpc/xdr.h>
typedef int mint_ref;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_ref(XDR *, mint_ref*);
#elif __STDC__
extern bool_t xdr_mint_ref(XDR *, mint_ref*);
#else /* Old Style C */
bool_t xdr_mint_ref();
#endif /* Old Style C */
#define mint_ref_null -1
#define mint_slot_index_null -1
typedef struct mint_const_u *mint_const;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const(XDR *, mint_const*);
#elif __STDC__
extern bool_t xdr_mint_const(XDR *, mint_const*);
#else /* Old Style C */
bool_t xdr_mint_const();
#endif /* Old Style C */
enum mint_const_kind {
MINT_CONST_INT = 1,
MINT_CONST_CHAR = 2,
MINT_CONST_FLOAT = 3,
MINT_CONST_STRUCT = 4,
MINT_CONST_ARRAY = 5,
};
typedef enum mint_const_kind mint_const_kind;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_kind(XDR *, mint_const_kind*);
#elif __STDC__
extern bool_t xdr_mint_const_kind(XDR *, mint_const_kind*);
#else /* Old Style C */
bool_t xdr_mint_const_kind();
#endif /* Old Style C */
enum mint_const_category {
MINT_CONST_LITERAL = 1,
MINT_CONST_SYMBOLIC = 2,
};
typedef enum mint_const_category mint_const_category;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_category(XDR *, mint_const_category*);
#elif __STDC__
extern bool_t xdr_mint_const_category(XDR *, mint_const_category*);
#else /* Old Style C */
bool_t xdr_mint_const_category();
#endif /* Old Style C */
struct mint_const_int_u {
mint_const_category kind;
union {
long value;
char *name;
} mint_const_int_u_u;
};
typedef struct mint_const_int_u mint_const_int_u;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_int_u(XDR *, mint_const_int_u*);
#elif __STDC__
extern bool_t xdr_mint_const_int_u(XDR *, mint_const_int_u*);
#else /* Old Style C */
bool_t xdr_mint_const_int_u();
#endif /* Old Style C */
struct mint_const_char_u {
mint_const_category kind;
union {
char value;
char *name;
} mint_const_char_u_u;
};
typedef struct mint_const_char_u mint_const_char_u;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_char_u(XDR *, mint_const_char_u*);
#elif __STDC__
extern bool_t xdr_mint_const_char_u(XDR *, mint_const_char_u*);
#else /* Old Style C */
bool_t xdr_mint_const_char_u();
#endif /* Old Style C */
struct mint_const_float_u {
mint_const_category kind;
union {
double value;
char *name;
} mint_const_float_u_u;
};
typedef struct mint_const_float_u mint_const_float_u;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_float_u(XDR *, mint_const_float_u*);
#elif __STDC__
extern bool_t xdr_mint_const_float_u(XDR *, mint_const_float_u*);
#else /* Old Style C */
bool_t xdr_mint_const_float_u();
#endif /* Old Style C */
typedef struct {
u_int mint_const_struct_len;
mint_const *mint_const_struct_val;
} mint_const_struct;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_struct(XDR *, mint_const_struct*);
#elif __STDC__
extern bool_t xdr_mint_const_struct(XDR *, mint_const_struct*);
#else /* Old Style C */
bool_t xdr_mint_const_struct();
#endif /* Old Style C */
typedef struct {
u_int mint_const_array_len;
mint_const *mint_const_array_val;
} mint_const_array;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_array(XDR *, mint_const_array*);
#elif __STDC__
extern bool_t xdr_mint_const_array(XDR *, mint_const_array*);
#else /* Old Style C */
bool_t xdr_mint_const_array();
#endif /* Old Style C */
struct mint_const_u {
mint_const_kind kind;
union {
mint_const_int_u const_int;
mint_const_char_u const_char;
mint_const_float_u const_float;
mint_const_struct const_struct;
mint_const_array const_array;
} mint_const_u_u;
};
typedef struct mint_const_u mint_const_u;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_const_u(XDR *, mint_const_u*);
#elif __STDC__
extern bool_t xdr_mint_const_u(XDR *, mint_const_u*);
#else /* Old Style C */
bool_t xdr_mint_const_u();
#endif /* Old Style C */
enum mint_def_kind {
MINT_VOID = 0,
MINT_BOOLEAN = 1,
MINT_INTEGER = 2,
MINT_SCALAR = 3,
MINT_FLOAT = 4,
MINT_CHAR = 5,
MINT_ARRAY = 6,
MINT_STRUCT = 7,
MINT_UNION = 8,
MINT_INTERFACE = 9,
MINT_SYSTEM_EXCEPTION = 10,
MINT_ANY = 11,
MINT_TYPE_TAG = 12,
MINT_TYPED = 13,
};
typedef enum mint_def_kind mint_def_kind;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_def_kind(XDR *, mint_def_kind*);
#elif __STDC__
extern bool_t xdr_mint_def_kind(XDR *, mint_def_kind*);
#else /* Old Style C */
bool_t xdr_mint_def_kind();
#endif /* Old Style C */
struct mint_integer_def {
int min;
u_int range;
};
typedef struct mint_integer_def mint_integer_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_integer_def(XDR *, mint_integer_def*);
#elif __STDC__
extern bool_t xdr_mint_integer_def(XDR *, mint_integer_def*);
#else /* Old Style C */
bool_t xdr_mint_integer_def();
#endif /* Old Style C */
typedef u_int mint_scalar_flags;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_scalar_flags(XDR *, mint_scalar_flags*);
#elif __STDC__
extern bool_t xdr_mint_scalar_flags(XDR *, mint_scalar_flags*);
#else /* Old Style C */
bool_t xdr_mint_scalar_flags();
#endif /* Old Style C */
#define MINT_SCALAR_FLAG_NONE 0
#define MINT_SCALAR_FLAG_SIGNED 1
#define MINT_SCALAR_FLAG_UNSIGNED 2
struct mint_scalar_def {
int bits;
mint_scalar_flags flags;
};
typedef struct mint_scalar_def mint_scalar_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_scalar_def(XDR *, mint_scalar_def*);
#elif __STDC__
extern bool_t xdr_mint_scalar_def(XDR *, mint_scalar_def*);
#else /* Old Style C */
bool_t xdr_mint_scalar_def();
#endif /* Old Style C */
typedef u_int mint_char_flags;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_char_flags(XDR *, mint_char_flags*);
#elif __STDC__
extern bool_t xdr_mint_char_flags(XDR *, mint_char_flags*);
#else /* Old Style C */
bool_t xdr_mint_char_flags();
#endif /* Old Style C */
#define MINT_CHAR_FLAG_NONE 0
#define MINT_CHAR_FLAG_SIGNED 1
#define MINT_CHAR_FLAG_UNSIGNED 2
struct mint_char_def {
int bits;
mint_char_flags flags;
};
typedef struct mint_char_def mint_char_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_char_def(XDR *, mint_char_def*);
#elif __STDC__
extern bool_t xdr_mint_char_def(XDR *, mint_char_def*);
#else /* Old Style C */
bool_t xdr_mint_char_def();
#endif /* Old Style C */
struct mint_float_def {
int bits;
};
typedef struct mint_float_def mint_float_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_float_def(XDR *, mint_float_def*);
#elif __STDC__
extern bool_t xdr_mint_float_def(XDR *, mint_float_def*);
#else /* Old Style C */
bool_t xdr_mint_float_def();
#endif /* Old Style C */
struct mint_array_def {
mint_ref element_type;
mint_ref length_type;
};
typedef struct mint_array_def mint_array_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_array_def(XDR *, mint_array_def*);
#elif __STDC__
extern bool_t xdr_mint_array_def(XDR *, mint_array_def*);
#else /* Old Style C */
bool_t xdr_mint_array_def();
#endif /* Old Style C */
struct mint_struct_def {
struct {
u_int slots_len;
mint_ref *slots_val;
} slots;
};
typedef struct mint_struct_def mint_struct_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_struct_def(XDR *, mint_struct_def*);
#elif __STDC__
extern bool_t xdr_mint_struct_def(XDR *, mint_struct_def*);
#else /* Old Style C */
bool_t xdr_mint_struct_def();
#endif /* Old Style C */
struct mint_union_case {
mint_const val;
mint_ref var;
};
typedef struct mint_union_case mint_union_case;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_union_case(XDR *, mint_union_case*);
#elif __STDC__
extern bool_t xdr_mint_union_case(XDR *, mint_union_case*);
#else /* Old Style C */
bool_t xdr_mint_union_case();
#endif /* Old Style C */
struct mint_union_def {
mint_ref discrim;
struct {
u_int cases_len;
mint_union_case *cases_val;
} cases;
mint_ref dfault;
};
typedef struct mint_union_def mint_union_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_union_def(XDR *, mint_union_def*);
#elif __STDC__
extern bool_t xdr_mint_union_def(XDR *, mint_union_def*);
#else /* Old Style C */
bool_t xdr_mint_union_def();
#endif /* Old Style C */
struct mint_typed_def {
mint_ref tag;
mint_ref ref;
};
typedef struct mint_typed_def mint_typed_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_typed_def(XDR *, mint_typed_def*);
#elif __STDC__
extern bool_t xdr_mint_typed_def(XDR *, mint_typed_def*);
#else /* Old Style C */
bool_t xdr_mint_typed_def();
#endif /* Old Style C */
enum mint_interface_right {
MINT_INTERFACE_NAME = 0,
MINT_INTERFACE_INVOKE = 1,
MINT_INTERFACE_INVOKE_ONCE = 2,
MINT_INTERFACE_SERVICE = 3,
};
typedef enum mint_interface_right mint_interface_right;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_interface_right(XDR *, mint_interface_right*);
#elif __STDC__
extern bool_t xdr_mint_interface_right(XDR *, mint_interface_right*);
#else /* Old Style C */
bool_t xdr_mint_interface_right();
#endif /* Old Style C */
struct mint_interface_def {
mint_interface_right right;
};
typedef struct mint_interface_def mint_interface_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_interface_def(XDR *, mint_interface_def*);
#elif __STDC__
extern bool_t xdr_mint_interface_def(XDR *, mint_interface_def*);
#else /* Old Style C */
bool_t xdr_mint_interface_def();
#endif /* Old Style C */
struct mint_def {
mint_def_kind kind;
union {
mint_integer_def integer_def;
mint_scalar_def scalar_def;
mint_float_def float_def;
mint_char_def char_def;
mint_array_def array_def;
mint_struct_def struct_def;
mint_union_def union_def;
mint_interface_def interface_def;
mint_typed_def typed_def;
} mint_def_u;
};
typedef struct mint_def mint_def;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_def(XDR *, mint_def*);
#elif __STDC__
extern bool_t xdr_mint_def(XDR *, mint_def*);
#else /* Old Style C */
bool_t xdr_mint_def();
#endif /* Old Style C */
struct mint_standard_refs {
mint_ref void_ref;
mint_ref bool_ref;
mint_ref signed8_ref;
mint_ref signed16_ref;
mint_ref signed32_ref;
mint_ref signed64_ref;
mint_ref unsigned8_ref;
mint_ref unsigned16_ref;
mint_ref unsigned32_ref;
mint_ref unsigned64_ref;
mint_ref char8_ref;
mint_ref float32_ref;
mint_ref float64_ref;
mint_ref interface_name_ref;
mint_ref interface_invoke_ref;
mint_ref interface_invoke_once_ref;
mint_ref interface_service_ref;
mint_ref system_exception_ref;
};
typedef struct mint_standard_refs mint_standard_refs;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_standard_refs(XDR *, mint_standard_refs*);
#elif __STDC__
extern bool_t xdr_mint_standard_refs(XDR *, mint_standard_refs*);
#else /* Old Style C */
bool_t xdr_mint_standard_refs();
#endif /* Old Style C */
struct mint_1 {
struct {
u_int defs_len;
mint_def *defs_val;
} defs;
mint_standard_refs standard_refs;
};
typedef struct mint_1 mint_1;
#ifdef __cplusplus
extern "C" bool_t xdr_mint_1(XDR *, mint_1*);
#elif __STDC__
extern bool_t xdr_mint_1(XDR *, mint_1*);
#else /* Old Style C */
bool_t xdr_mint_1();
#endif /* Old Style C */
#endif /* _flick_mint_h */
#endif /* !_MINT_H_RPCGEN */
syntax highlighted by Code2HTML, v. 0.9.1