/* Generated by IDL compiler version OSF DCE T1.1.0-03 */ #ifndef room_res_v1_0_included #define room_res_v1_0_included #ifndef __STDC__ #define volatile #endif #ifndef IDLBASE_H #include #endif #include #ifdef __cplusplus extern "C" { #endif #ifndef nbase_v0_0_included #include #endif #define MAX_STRING (256) #define MAX_LIST_OUTPUT (20000) typedef idl_long_int restime_t; typedef idl_long_int date_t; typedef idl_long_int roomnum_t; typedef idl_char name_t[256]; typedef idl_char desc_t[256]; typedef idl_char listOut_t[20000]; extern void InitServer( #ifdef IDL_PROTOTYPES void #endif ); extern void ShutDown( #ifdef IDL_PROTOTYPES void #endif ); extern idl_long_int ListReservations( #ifdef IDL_PROTOTYPES /* [in] */ date_t date, /* [in] */ roomnum_t room_num, /* [out] */ listOut_t buffer #endif ); extern idl_long_int ListReservationsByRoom( #ifdef IDL_PROTOTYPES /* [in] */ roomnum_t room_num, /* [out] */ listOut_t buffer #endif ); extern idl_long_int Cancel( #ifdef IDL_PROTOTYPES /* [in] */ roomnum_t room_num, /* [in] */ date_t date, /* [in] */ restime_t time, /* [out] */ listOut_t buffer #endif ); extern idl_long_int ReserveRoom( #ifdef IDL_PROTOTYPES /* [in] */ restime_t time, /* [in] */ date_t date, /* [in] */ idl_long_int num_people, /* [in] */ roomnum_t room_num, /* [in] */ idl_long_int length, /* [in] */ name_t name, /* [in] */ desc_t desc, /* [out] */ listOut_t buffer #endif ); typedef struct room_res_v1_0_epv_t { void (*InitServer)( #ifdef IDL_PROTOTYPES void #endif ); void (*ShutDown)( #ifdef IDL_PROTOTYPES void #endif ); idl_long_int (*ListReservations)( #ifdef IDL_PROTOTYPES /* [in] */ date_t date, /* [in] */ roomnum_t room_num, /* [out] */ listOut_t buffer #endif ); idl_long_int (*ListReservationsByRoom)( #ifdef IDL_PROTOTYPES /* [in] */ roomnum_t room_num, /* [out] */ listOut_t buffer #endif ); idl_long_int (*Cancel)( #ifdef IDL_PROTOTYPES /* [in] */ roomnum_t room_num, /* [in] */ date_t date, /* [in] */ restime_t time, /* [out] */ listOut_t buffer #endif ); idl_long_int (*ReserveRoom)( #ifdef IDL_PROTOTYPES /* [in] */ restime_t time, /* [in] */ date_t date, /* [in] */ idl_long_int num_people, /* [in] */ roomnum_t room_num, /* [in] */ idl_long_int length, /* [in] */ name_t name, /* [in] */ desc_t desc, /* [out] */ listOut_t buffer #endif ); } room_res_v1_0_epv_t; extern rpc_if_handle_t room_res_v1_0_c_ifspec; extern rpc_if_handle_t room_res_v1_0_s_ifspec; #ifdef __cplusplus } #endif #endif