/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _AOI_H_RPCGEN
#define _AOI_H_RPCGEN
#define RPCGEN_VERSION 199506
#include <rpc/rpc.h>
#ifndef _flick_aoi_h
#define _flick_aoi_h
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <mom/meta.h>
typedef int aoi_ref;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_ref(XDR *, aoi_ref*);
#elif __STDC__
extern bool_t xdr_aoi_ref(XDR *, aoi_ref*);
#else /* Old Style C */
bool_t xdr_aoi_ref();
#endif /* Old Style C */
#define aoi_ref_null -1
typedef struct aoi_type_u *aoi_type;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_type(XDR *, aoi_type*);
#elif __STDC__
extern bool_t xdr_aoi_type(XDR *, aoi_type*);
#else /* Old Style C */
bool_t xdr_aoi_type();
#endif /* Old Style C */
typedef struct aoi_const_u *aoi_const;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const(XDR *, aoi_const*);
#elif __STDC__
extern bool_t xdr_aoi_const(XDR *, aoi_const*);
#else /* Old Style C */
bool_t xdr_aoi_const();
#endif /* Old Style C */
typedef long aoi_const_int;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_int(XDR *, aoi_const_int*);
#elif __STDC__
extern bool_t xdr_aoi_const_int(XDR *, aoi_const_int*);
#else /* Old Style C */
bool_t xdr_aoi_const_int();
#endif /* Old Style C */
typedef char aoi_const_char;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_char(XDR *, aoi_const_char*);
#elif __STDC__
extern bool_t xdr_aoi_const_char(XDR *, aoi_const_char*);
#else /* Old Style C */
bool_t xdr_aoi_const_char();
#endif /* Old Style C */
typedef double aoi_const_float;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_float(XDR *, aoi_const_float*);
#elif __STDC__
extern bool_t xdr_aoi_const_float(XDR *, aoi_const_float*);
#else /* Old Style C */
bool_t xdr_aoi_const_float();
#endif /* Old Style C */
typedef struct {
u_int aoi_const_struct_len;
aoi_const *aoi_const_struct_val;
} aoi_const_struct;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_struct(XDR *, aoi_const_struct*);
#elif __STDC__
extern bool_t xdr_aoi_const_struct(XDR *, aoi_const_struct*);
#else /* Old Style C */
bool_t xdr_aoi_const_struct();
#endif /* Old Style C */
typedef struct {
u_int aoi_const_array_len;
aoi_const *aoi_const_array_val;
} aoi_const_array;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_array(XDR *, aoi_const_array*);
#elif __STDC__
extern bool_t xdr_aoi_const_array(XDR *, aoi_const_array*);
#else /* Old Style C */
bool_t xdr_aoi_const_array();
#endif /* Old Style C */
enum aoi_const_kind {
AOI_CONST_INT = 1,
AOI_CONST_CHAR = 2,
AOI_CONST_FLOAT = 3,
AOI_CONST_STRUCT = 4,
AOI_CONST_ARRAY = 5,
};
typedef enum aoi_const_kind aoi_const_kind;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_kind(XDR *, aoi_const_kind*);
#elif __STDC__
extern bool_t xdr_aoi_const_kind(XDR *, aoi_const_kind*);
#else /* Old Style C */
bool_t xdr_aoi_const_kind();
#endif /* Old Style C */
struct aoi_const_u {
aoi_const_kind kind;
union {
aoi_const_int const_int;
aoi_const_char const_char;
aoi_const_float const_float;
aoi_const_struct const_struct;
aoi_const_array const_array;
} aoi_const_u_u;
};
typedef struct aoi_const_u aoi_const_u;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_u(XDR *, aoi_const_u*);
#elif __STDC__
extern bool_t xdr_aoi_const_u(XDR *, aoi_const_u*);
#else /* Old Style C */
bool_t xdr_aoi_const_u();
#endif /* Old Style C */
struct aoi_field {
char *name;
aoi_type type;
};
typedef struct aoi_field aoi_field;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_field(XDR *, aoi_field*);
#elif __STDC__
extern bool_t xdr_aoi_field(XDR *, aoi_field*);
#else /* Old Style C */
bool_t xdr_aoi_field();
#endif /* Old Style C */
struct aoi_const_def {
aoi_type type;
aoi_const value;
};
typedef struct aoi_const_def aoi_const_def;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_const_def(XDR *, aoi_const_def*);
#elif __STDC__
extern bool_t xdr_aoi_const_def(XDR *, aoi_const_def*);
#else /* Old Style C */
bool_t xdr_aoi_const_def();
#endif /* Old Style C */
struct aoi_integer {
int min;
u_int range;
};
typedef struct aoi_integer aoi_integer;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_integer(XDR *, aoi_integer*);
#elif __STDC__
extern bool_t xdr_aoi_integer(XDR *, aoi_integer*);
#else /* Old Style C */
bool_t xdr_aoi_integer();
#endif /* Old Style C */
typedef u_int aoi_scalar_flags;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_scalar_flags(XDR *, aoi_scalar_flags*);
#elif __STDC__
extern bool_t xdr_aoi_scalar_flags(XDR *, aoi_scalar_flags*);
#else /* Old Style C */
bool_t xdr_aoi_scalar_flags();
#endif /* Old Style C */
#define AOI_SCALAR_FLAG_NONE 0
#define AOI_SCALAR_FLAG_SIGNED 1
#define AOI_SCALAR_FLAG_UNSIGNED 2
struct aoi_scalar {
int bits;
aoi_scalar_flags flags;
};
typedef struct aoi_scalar aoi_scalar;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_scalar(XDR *, aoi_scalar*);
#elif __STDC__
extern bool_t xdr_aoi_scalar(XDR *, aoi_scalar*);
#else /* Old Style C */
bool_t xdr_aoi_scalar();
#endif /* Old Style C */
struct aoi_float {
int bits;
};
typedef struct aoi_float aoi_float;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_float(XDR *, aoi_float*);
#elif __STDC__
extern bool_t xdr_aoi_float(XDR *, aoi_float*);
#else /* Old Style C */
bool_t xdr_aoi_float();
#endif /* Old Style C */
typedef u_int aoi_char_flags;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_char_flags(XDR *, aoi_char_flags*);
#elif __STDC__
extern bool_t xdr_aoi_char_flags(XDR *, aoi_char_flags*);
#else /* Old Style C */
bool_t xdr_aoi_char_flags();
#endif /* Old Style C */
#define AOI_CHAR_FLAG_NONE 0
#define AOI_CHAR_FLAG_SIGNED 1
#define AOI_CHAR_FLAG_UNSIGNED 2
struct aoi_char {
int bits;
aoi_char_flags flags;
};
typedef struct aoi_char aoi_char;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_char(XDR *, aoi_char*);
#elif __STDC__
extern bool_t xdr_aoi_char(XDR *, aoi_char*);
#else /* Old Style C */
bool_t xdr_aoi_char();
#endif /* Old Style C */
typedef u_int aoi_array_flags;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_array_flags(XDR *, aoi_array_flags*);
#elif __STDC__
extern bool_t xdr_aoi_array_flags(XDR *, aoi_array_flags*);
#else /* Old Style C */
bool_t xdr_aoi_array_flags();
#endif /* Old Style C */
#define AOI_ARRAY_FLAG_NONE 0x00000000
#define AOI_ARRAY_FLAG_NULL_TERMINATED_STRING 0x00000001
#define AOI_ARRAY_FLAG_OPAQUE 0x00000002
#define AOI_ARRAY_FLAG_ALL 0x00000003
struct aoi_array {
aoi_type element_type;
aoi_type length_type;
aoi_array_flags flgs;
};
typedef struct aoi_array aoi_array;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_array(XDR *, aoi_array*);
#elif __STDC__
extern bool_t xdr_aoi_array(XDR *, aoi_array*);
#else /* Old Style C */
bool_t xdr_aoi_array();
#endif /* Old Style C */
typedef aoi_field aoi_struct_slot;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_struct_slot(XDR *, aoi_struct_slot*);
#elif __STDC__
extern bool_t xdr_aoi_struct_slot(XDR *, aoi_struct_slot*);
#else /* Old Style C */
bool_t xdr_aoi_struct_slot();
#endif /* Old Style C */
struct aoi_struct {
struct {
u_int slots_len;
aoi_struct_slot *slots_val;
} slots;
};
typedef struct aoi_struct aoi_struct;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_struct(XDR *, aoi_struct*);
#elif __STDC__
extern bool_t xdr_aoi_struct(XDR *, aoi_struct*);
#else /* Old Style C */
bool_t xdr_aoi_struct();
#endif /* Old Style C */
struct aoi_union_case {
aoi_const val;
aoi_field var;
};
typedef struct aoi_union_case aoi_union_case;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_union_case(XDR *, aoi_union_case*);
#elif __STDC__
extern bool_t xdr_aoi_union_case(XDR *, aoi_union_case*);
#else /* Old Style C */
bool_t xdr_aoi_union_case();
#endif /* Old Style C */
struct aoi_union {
aoi_field discriminator;
char *union_label;
struct {
u_int cases_len;
aoi_union_case *cases_val;
} cases;
aoi_field *dfault;
};
typedef struct aoi_union aoi_union;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_union(XDR *, aoi_union*);
#elif __STDC__
extern bool_t xdr_aoi_union(XDR *, aoi_union*);
#else /* Old Style C */
bool_t xdr_aoi_union();
#endif /* Old Style C */
enum aoi_direction {
AOI_DIR_IN = 1,
AOI_DIR_OUT = 2,
AOI_DIR_INOUT = 3,
AOI_DIR_RET = 4,
};
typedef enum aoi_direction aoi_direction;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_direction(XDR *, aoi_direction*);
#elif __STDC__
extern bool_t xdr_aoi_direction(XDR *, aoi_direction*);
#else /* Old Style C */
bool_t xdr_aoi_direction();
#endif /* Old Style C */
struct aoi_parameter {
char *name;
aoi_direction direction;
aoi_type type;
};
typedef struct aoi_parameter aoi_parameter;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_parameter(XDR *, aoi_parameter*);
#elif __STDC__
extern bool_t xdr_aoi_parameter(XDR *, aoi_parameter*);
#else /* Old Style C */
bool_t xdr_aoi_parameter();
#endif /* Old Style C */
typedef u_int aoi_op_flags;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_op_flags(XDR *, aoi_op_flags*);
#elif __STDC__
extern bool_t xdr_aoi_op_flags(XDR *, aoi_op_flags*);
#else /* Old Style C */
bool_t xdr_aoi_op_flags();
#endif /* Old Style C */
#define AOI_OP_FLAG_NONE 0x00000000
#define AOI_OP_FLAG_ONEWAY 0x00000001
#define AOI_OP_FLAG_IDEMPOTENT 0x00000002
#define AOI_OP_FLAG_SETTER 0x00000004
#define AOI_OP_FLAG_GETTER 0x00000008
struct aoi_operation {
char *name;
aoi_const request_code;
aoi_const reply_code;
aoi_op_flags flags;
struct {
u_int params_len;
aoi_parameter *params_val;
} params;
aoi_type return_type;
struct {
u_int exceps_len;
aoi_type *exceps_val;
} exceps;
};
typedef struct aoi_operation aoi_operation;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_operation(XDR *, aoi_operation*);
#elif __STDC__
extern bool_t xdr_aoi_operation(XDR *, aoi_operation*);
#else /* Old Style C */
bool_t xdr_aoi_operation();
#endif /* Old Style C */
struct aoi_attribute {
char *name;
aoi_const read_request_code;
aoi_const read_reply_code;
aoi_const write_request_code;
aoi_const write_reply_code;
aoi_type type;
bool_t readonly;
};
typedef struct aoi_attribute aoi_attribute;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_attribute(XDR *, aoi_attribute*);
#elif __STDC__
extern bool_t xdr_aoi_attribute(XDR *, aoi_attribute*);
#else /* Old Style C */
bool_t xdr_aoi_attribute();
#endif /* Old Style C */
typedef aoi_field aoi_exception_slot;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_exception_slot(XDR *, aoi_exception_slot*);
#elif __STDC__
extern bool_t xdr_aoi_exception_slot(XDR *, aoi_exception_slot*);
#else /* Old Style C */
bool_t xdr_aoi_exception_slot();
#endif /* Old Style C */
struct aoi_exception {
struct {
u_int slots_len;
aoi_exception_slot *slots_val;
} slots;
};
typedef struct aoi_exception aoi_exception;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_exception(XDR *, aoi_exception*);
#elif __STDC__
extern bool_t xdr_aoi_exception(XDR *, aoi_exception*);
#else /* Old Style C */
bool_t xdr_aoi_exception();
#endif /* Old Style C */
enum aoi_idl_id {
AOI_IDL_CORBA = 1,
AOI_IDL_MIG = 2,
AOI_IDL_SUN = 3,
AOI_IDL_DCE = 4,
};
typedef enum aoi_idl_id aoi_idl_id;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_idl_id(XDR *, aoi_idl_id*);
#elif __STDC__
extern bool_t xdr_aoi_idl_id(XDR *, aoi_idl_id*);
#else /* Old Style C */
bool_t xdr_aoi_idl_id();
#endif /* Old Style C */
struct aoi_interface {
aoi_idl_id idl;
aoi_type code_type;
aoi_const code;
struct {
u_int parents_len;
aoi_type *parents_val;
} parents;
aoi_type op_code_type;
struct {
u_int ops_len;
aoi_operation *ops_val;
} ops;
struct {
u_int attribs_len;
aoi_attribute *attribs_val;
} attribs;
struct {
u_int excepts_len;
aoi_type *excepts_val;
} excepts;
};
typedef struct aoi_interface aoi_interface;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_interface(XDR *, aoi_interface*);
#elif __STDC__
extern bool_t xdr_aoi_interface(XDR *, aoi_interface*);
#else /* Old Style C */
bool_t xdr_aoi_interface();
#endif /* Old Style C */
struct aoi_enum {
char *enum_label;
struct {
u_int defs_len;
struct aoi_field *defs_val;
} defs;
};
typedef struct aoi_enum aoi_enum;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_enum(XDR *, aoi_enum*);
#elif __STDC__
extern bool_t xdr_aoi_enum(XDR *, aoi_enum*);
#else /* Old Style C */
bool_t xdr_aoi_enum();
#endif /* Old Style C */
struct aoi_optional {
aoi_type type;
};
typedef struct aoi_optional aoi_optional;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_optional(XDR *, aoi_optional*);
#elif __STDC__
extern bool_t xdr_aoi_optional(XDR *, aoi_optional*);
#else /* Old Style C */
bool_t xdr_aoi_optional();
#endif /* Old Style C */
struct aoi_typed {
aoi_type tag;
aoi_type type;
};
typedef struct aoi_typed aoi_typed;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_typed(XDR *, aoi_typed*);
#elif __STDC__
extern bool_t xdr_aoi_typed(XDR *, aoi_typed*);
#else /* Old Style C */
bool_t xdr_aoi_typed();
#endif /* Old Style C */
enum aoi_kind {
AOI_INDIRECT = 1,
AOI_INTEGER = 2,
AOI_SCALAR = 3,
AOI_FLOAT = 4,
AOI_CHAR = 5,
AOI_ARRAY = 6,
AOI_STRUCT = 7,
AOI_UNION = 8,
AOI_INTERFACE = 9,
AOI_EXCEPTION = 10,
AOI_ENUM = 11,
AOI_VOID = 12,
AOI_CONST = 13,
AOI_NAMESPACE = 14,
AOI_OPTIONAL = 15,
AOI_FWD_INTRFC = 16,
AOI_ANY = 17,
AOI_TYPE_TAG = 18,
AOI_TYPED = 19,
AOI_ERROR = 20,
};
typedef enum aoi_kind aoi_kind;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_kind(XDR *, aoi_kind*);
#elif __STDC__
extern bool_t xdr_aoi_kind(XDR *, aoi_kind*);
#else /* Old Style C */
bool_t xdr_aoi_kind();
#endif /* Old Style C */
struct aoi_type_u {
aoi_kind kind;
union {
aoi_ref indirect_ref;
aoi_integer integer_def;
aoi_scalar scalar_def;
aoi_float float_def;
aoi_char char_def;
aoi_array array_def;
aoi_struct struct_def;
aoi_union union_def;
aoi_interface interface_def;
aoi_exception exception_def;
aoi_enum enum_def;
aoi_const_def const_def;
aoi_optional optional_def;
aoi_ref fwd_intrfc_def;
aoi_typed typed_def;
} aoi_type_u_u;
};
typedef struct aoi_type_u aoi_type_u;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_type_u(XDR *, aoi_type_u*);
#elif __STDC__
extern bool_t xdr_aoi_type_u(XDR *, aoi_type_u*);
#else /* Old Style C */
bool_t xdr_aoi_type_u();
#endif /* Old Style C */
struct aoi_def {
char *name;
int scope;
io_file_index idl_file;
aoi_type binding;
};
typedef struct aoi_def aoi_def;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi_def(XDR *, aoi_def*);
#elif __STDC__
extern bool_t xdr_aoi_def(XDR *, aoi_def*);
#else /* Old Style C */
bool_t xdr_aoi_def();
#endif /* Old Style C */
struct aoi {
struct {
u_int defs_len;
aoi_def *defs_val;
} defs;
meta meta_data;
};
typedef struct aoi aoi;
#ifdef __cplusplus
extern "C" bool_t xdr_aoi(XDR *, aoi*);
#elif __STDC__
extern bool_t xdr_aoi(XDR *, aoi*);
#else /* Old Style C */
bool_t xdr_aoi();
#endif /* Old Style C */
#endif /* _flick_aoi_h */
#endif /* !_AOI_H_RPCGEN */
syntax highlighted by Code2HTML, v. 0.9.1