/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#ifndef _META_H_RPCGEN
#define _META_H_RPCGEN

#define RPCGEN_VERSION	199506

#include <rpc/rpc.h>

#ifndef _flick_meta_h
#define _flick_meta_h

#include <rpc/types.h>
#include <rpc/xdr.h>

typedef int io_file_index;
#ifdef __cplusplus
extern "C" bool_t xdr_io_file_index(XDR *, io_file_index*);
#elif __STDC__
extern  bool_t xdr_io_file_index(XDR *, io_file_index*);
#else /* Old Style C */
bool_t xdr_io_file_index();
#endif /* Old Style C */

#define IO_FILE_INPUT 0x00000001
#define IO_FILE_OUTPUT 0x00000002
#define IO_FILE_BUILTIN 0x00000004
#define IO_FILE_ROOT 0x00000008
#define IO_FILE_SYSTEM 0x00000010

struct io_file {
	char *id;
	u_int flags;
	int references;
	struct {
		u_int includes_len;
		io_file_index *includes_val;
	} includes;
};
typedef struct io_file io_file;
#ifdef __cplusplus
extern "C" bool_t xdr_io_file(XDR *, io_file*);
#elif __STDC__
extern  bool_t xdr_io_file(XDR *, io_file*);
#else /* Old Style C */
bool_t xdr_io_file();
#endif /* Old Style C */

#define IO_FILE_MASK_HAS_ID 0x00000001
#define IO_FILE_MASK_FILE_PART 0x00000002
#define IO_FILE_MASK_DIR_PART 0x00000004

struct io_file_mask {
	u_int mask_flags;
	char *id;
	u_int set_flags;
	u_int unset_flags;
};
typedef struct io_file_mask io_file_mask;
#ifdef __cplusplus
extern "C" bool_t xdr_io_file_mask(XDR *, io_file_mask*);
#elif __STDC__
extern  bool_t xdr_io_file_mask(XDR *, io_file_mask*);
#else /* Old Style C */
bool_t xdr_io_file_mask();
#endif /* Old Style C */


typedef int data_channel_index;
#ifdef __cplusplus
extern "C" bool_t xdr_data_channel_index(XDR *, data_channel_index*);
#elif __STDC__
extern  bool_t xdr_data_channel_index(XDR *, data_channel_index*);
#else /* Old Style C */
bool_t xdr_data_channel_index();
#endif /* Old Style C */

#define PASSTHRU_DATA_CHANNEL 0
#define DATA_CHANNEL_SQUELCHED 0x00000001
#define DATA_CHANNEL_DECL 0x00000002
#define DATA_CHANNEL_IMPL 0x00000004

struct data_channel {
	io_file_index input;
	char *id;
	u_int flags;
	struct {
		u_int outputs_len;
		io_file_index *outputs_val;
	} outputs;
};
typedef struct data_channel data_channel;
#ifdef __cplusplus
extern "C" bool_t xdr_data_channel(XDR *, data_channel*);
#elif __STDC__
extern  bool_t xdr_data_channel(XDR *, data_channel*);
#else /* Old Style C */
bool_t xdr_data_channel();
#endif /* Old Style C */

#define DATA_CHANNEL_MASK_HAS_INPUT 0x00000001
#define DATA_CHANNEL_MASK_HAS_ID 0x00000002

struct data_channel_mask {
	u_int mask_flags;
	io_file_mask *input;
	char *id;
	u_int set_flags;
	u_int unset_flags;
};
typedef struct data_channel_mask data_channel_mask;
#ifdef __cplusplus
extern "C" bool_t xdr_data_channel_mask(XDR *, data_channel_mask*);
#elif __STDC__
extern  bool_t xdr_data_channel_mask(XDR *, data_channel_mask*);
#else /* Old Style C */
bool_t xdr_data_channel_mask();
#endif /* Old Style C */


struct meta {
	struct {
		u_int files_len;
		io_file *files_val;
	} files;
	struct {
		u_int channels_len;
		data_channel *channels_val;
	} channels;
};
typedef struct meta meta;
#ifdef __cplusplus
extern "C" bool_t xdr_meta(XDR *, meta*);
#elif __STDC__
extern  bool_t xdr_meta(XDR *, meta*);
#else /* Old Style C */
bool_t xdr_meta();
#endif /* Old Style C */

#endif /* _flick_meta_h */

#endif /* !_META_H_RPCGEN */


syntax highlighted by Code2HTML, v. 0.9.1