00001
00007 #ifndef ill_core_H
00008 #define ill_core_H
00009
00010 #include <yaz/odr.h>
00011 #ifdef __cplusplus
00012 extern "C" {
00013 #endif
00014
00015
00016
00017 typedef struct ILL_APDU ILL_APDU;
00018 YAZ_EXPORT int ill_APDU (ODR o, ILL_APDU **p, int opt, const char *name);
00019
00020 typedef struct ILL_Request ILL_Request;
00021 YAZ_EXPORT int ill_Request (ODR o, ILL_Request **p, int opt, const char *name);
00022
00023 typedef struct ILL_Forward_Notification ILL_Forward_Notification;
00024 YAZ_EXPORT int ill_Forward_Notification (ODR o, ILL_Forward_Notification **p, int opt, const char *name);
00025
00026 typedef struct ILL_Shipped ILL_Shipped;
00027 YAZ_EXPORT int ill_Shipped (ODR o, ILL_Shipped **p, int opt, const char *name);
00028
00029 typedef struct ILL_Answer ILL_Answer;
00030 YAZ_EXPORT int ill_Answer (ODR o, ILL_Answer **p, int opt, const char *name);
00031
00032 typedef struct ILL_Conditional_Reply ILL_Conditional_Reply;
00033 YAZ_EXPORT int ill_Conditional_Reply (ODR o, ILL_Conditional_Reply **p, int opt, const char *name);
00034
00035 typedef struct ILL_Cancel ILL_Cancel;
00036 YAZ_EXPORT int ill_Cancel (ODR o, ILL_Cancel **p, int opt, const char *name);
00037
00038 typedef struct ILL_Cancel_Reply ILL_Cancel_Reply;
00039 YAZ_EXPORT int ill_Cancel_Reply (ODR o, ILL_Cancel_Reply **p, int opt, const char *name);
00040
00041 typedef struct ILL_Received ILL_Received;
00042 YAZ_EXPORT int ill_Received (ODR o, ILL_Received **p, int opt, const char *name);
00043
00044 typedef struct ILL_Recall ILL_Recall;
00045 YAZ_EXPORT int ill_Recall (ODR o, ILL_Recall **p, int opt, const char *name);
00046
00047 typedef struct ILL_Returned ILL_Returned;
00048 YAZ_EXPORT int ill_Returned (ODR o, ILL_Returned **p, int opt, const char *name);
00049
00050 typedef struct ILL_Checked_In ILL_Checked_In;
00051 YAZ_EXPORT int ill_Checked_In (ODR o, ILL_Checked_In **p, int opt, const char *name);
00052
00053 typedef struct ILL_Overdue_ExtensionS ILL_Overdue_ExtensionS;
00054 YAZ_EXPORT int ill_Overdue_ExtensionS (ODR o, ILL_Overdue_ExtensionS **p, int opt, const char *name);
00055
00056 typedef struct ILL_Overdue ILL_Overdue;
00057 YAZ_EXPORT int ill_Overdue (ODR o, ILL_Overdue **p, int opt, const char *name);
00058
00059 typedef struct ILL_Renew ILL_Renew;
00060 YAZ_EXPORT int ill_Renew (ODR o, ILL_Renew **p, int opt, const char *name);
00061
00062 typedef struct ILL_Renew_Answer ILL_Renew_Answer;
00063 YAZ_EXPORT int ill_Renew_Answer (ODR o, ILL_Renew_Answer **p, int opt, const char *name);
00064
00065 typedef struct ILL_Lost ILL_Lost;
00066 YAZ_EXPORT int ill_Lost (ODR o, ILL_Lost **p, int opt, const char *name);
00067
00068 typedef struct ILL_Damaged ILL_Damaged;
00069 YAZ_EXPORT int ill_Damaged (ODR o, ILL_Damaged **p, int opt, const char *name);
00070
00071 typedef struct ILL_Message ILL_Message;
00072 YAZ_EXPORT int ill_Message (ODR o, ILL_Message **p, int opt, const char *name);
00073
00074 typedef struct ILL_Status_Query ILL_Status_Query;
00075 YAZ_EXPORT int ill_Status_Query (ODR o, ILL_Status_Query **p, int opt, const char *name);
00076
00077 typedef struct ILL_Status_Or_Error_Report ILL_Status_Or_Error_Report;
00078 YAZ_EXPORT int ill_Status_Or_Error_Report (ODR o, ILL_Status_Or_Error_Report **p, int opt, const char *name);
00079
00080 typedef struct ILL_Expired ILL_Expired;
00081 YAZ_EXPORT int ill_Expired (ODR o, ILL_Expired **p, int opt, const char *name);
00082
00083 typedef struct ILL_Already_Forwarded ILL_Already_Forwarded;
00084 YAZ_EXPORT int ill_Already_Forwarded (ODR o, ILL_Already_Forwarded **p, int opt, const char *name);
00085
00086 typedef struct ILL_Already_Tried_List_Type ILL_Already_Tried_List_Type;
00087 YAZ_EXPORT int ill_Already_Tried_List_Type (ODR o, ILL_Already_Tried_List_Type **p, int opt, const char *name);
00088
00089 typedef struct ILL_Amount ILL_Amount;
00090 YAZ_EXPORT int ill_Amount (ODR o, ILL_Amount **p, int opt, const char *name);
00091
00092 typedef char ILL_AmountString;
00093 YAZ_EXPORT int ill_AmountString (ODR o, ILL_AmountString **p, int opt, const char *name);
00094
00095 typedef struct ILL_Client_Id ILL_Client_Id;
00096 YAZ_EXPORT int ill_Client_Id (ODR o, ILL_Client_Id **p, int opt, const char *name);
00097
00098 typedef struct ILL_Conditional_Results ILL_Conditional_Results;
00099 YAZ_EXPORT int ill_Conditional_Results (ODR o, ILL_Conditional_Results **p, int opt, const char *name);
00100
00101 typedef struct ILL_Cost_Info_Type ILL_Cost_Info_Type;
00102 YAZ_EXPORT int ill_Cost_Info_Type (ODR o, ILL_Cost_Info_Type **p, int opt, const char *name);
00103
00104 typedef Odr_int ILL_Current_State;
00105 YAZ_EXPORT int ill_Current_State (ODR o, ILL_Current_State **p, int opt, const char *name);
00106
00107 typedef struct ILL_Damaged_DetailsSpecific_units ILL_Damaged_DetailsSpecific_units;
00108 YAZ_EXPORT int ill_Damaged_DetailsSpecific_units (ODR o, ILL_Damaged_DetailsSpecific_units **p, int opt, const char *name);
00109
00110 typedef struct ILL_Damaged_Details ILL_Damaged_Details;
00111 YAZ_EXPORT int ill_Damaged_Details (ODR o, ILL_Damaged_Details **p, int opt, const char *name);
00112
00113 typedef struct ILL_Date_Due ILL_Date_Due;
00114 YAZ_EXPORT int ill_Date_Due (ODR o, ILL_Date_Due **p, int opt, const char *name);
00115
00116 typedef struct ILL_Delivery_Address ILL_Delivery_Address;
00117 YAZ_EXPORT int ill_Delivery_Address (ODR o, ILL_Delivery_Address **p, int opt, const char *name);
00118
00119 typedef struct ILL_Delivery_ServiceElectronic_delivery ILL_Delivery_ServiceElectronic_delivery;
00120 YAZ_EXPORT int ill_Delivery_ServiceElectronic_delivery (ODR o, ILL_Delivery_ServiceElectronic_delivery **p, int opt, const char *name);
00121
00122 typedef struct ILL_Delivery_Service ILL_Delivery_Service;
00123 YAZ_EXPORT int ill_Delivery_Service (ODR o, ILL_Delivery_Service **p, int opt, const char *name);
00124
00125 typedef struct ILL_Electronic_Delivery_Service_0 ILL_Electronic_Delivery_Service_0;
00126 YAZ_EXPORT int ill_Electronic_Delivery_Service_0 (ODR o, ILL_Electronic_Delivery_Service_0 **p, int opt, const char *name);
00127
00128 typedef struct ILL_Electronic_Delivery_Service_1 ILL_Electronic_Delivery_Service_1;
00129 YAZ_EXPORT int ill_Electronic_Delivery_Service_1 (ODR o, ILL_Electronic_Delivery_Service_1 **p, int opt, const char *name);
00130
00131 typedef struct ILL_Electronic_Delivery_Service ILL_Electronic_Delivery_Service;
00132 YAZ_EXPORT int ill_Electronic_Delivery_Service (ODR o, ILL_Electronic_Delivery_Service **p, int opt, const char *name);
00133
00134 typedef struct ILL_Error_Report ILL_Error_Report;
00135 YAZ_EXPORT int ill_Error_Report (ODR o, ILL_Error_Report **p, int opt, const char *name);
00136
00137 typedef struct ILL_Estimate_Results ILL_Estimate_Results;
00138 YAZ_EXPORT int ill_Estimate_Results (ODR o, ILL_Estimate_Results **p, int opt, const char *name);
00139
00140 typedef struct ILL_Extension ILL_Extension;
00141 YAZ_EXPORT int ill_Extension (ODR o, ILL_Extension **p, int opt, const char *name);
00142
00143 typedef Odr_int ILL_General_Problem;
00144 YAZ_EXPORT int ill_General_Problem (ODR o, ILL_General_Problem **p, int opt, const char *name);
00145
00146 typedef struct ILL_History_Report ILL_History_Report;
00147 YAZ_EXPORT int ill_History_Report (ODR o, ILL_History_Report **p, int opt, const char *name);
00148
00149 typedef struct ILL_Hold_Placed_Results ILL_Hold_Placed_Results;
00150 YAZ_EXPORT int ill_Hold_Placed_Results (ODR o, ILL_Hold_Placed_Results **p, int opt, const char *name);
00151
00152 typedef Odr_int ILL_APDU_Type;
00153 YAZ_EXPORT int ill_APDU_Type (ODR o, ILL_APDU_Type **p, int opt, const char *name);
00154
00155 typedef Odr_int ILL_Service_Type;
00156 YAZ_EXPORT int ill_Service_Type (ODR o, ILL_Service_Type **p, int opt, const char *name);
00157
00158 typedef struct ILL_String ILL_String;
00159 YAZ_EXPORT int ill_String (ODR o, ILL_String **p, int opt, const char *name);
00160
00161 typedef ILL_String ILL_Account_Number;
00162 YAZ_EXPORT int ill_Account_Number (ODR o, ILL_Account_Number **p, int opt, const char *name);
00163
00164 typedef Odr_int ILL_Intermediary_Problem;
00165 YAZ_EXPORT int ill_Intermediary_Problem (ODR o, ILL_Intermediary_Problem **p, int opt, const char *name);
00166
00167 typedef char ILL_ISO_Date;
00168 YAZ_EXPORT int ill_ISO_Date (ODR o, ILL_ISO_Date **p, int opt, const char *name);
00169
00170 typedef char ILL_ISO_Time;
00171 YAZ_EXPORT int ill_ISO_Time (ODR o, ILL_ISO_Time **p, int opt, const char *name);
00172
00173 typedef struct ILL_Item_Id ILL_Item_Id;
00174 YAZ_EXPORT int ill_Item_Id (ODR o, ILL_Item_Id **p, int opt, const char *name);
00175
00176 typedef struct ILL_Location_Info ILL_Location_Info;
00177 YAZ_EXPORT int ill_Location_Info (ODR o, ILL_Location_Info **p, int opt, const char *name);
00178
00179 typedef struct ILL_Locations_Results ILL_Locations_Results;
00180 YAZ_EXPORT int ill_Locations_Results (ODR o, ILL_Locations_Results **p, int opt, const char *name);
00181
00182 typedef Odr_int ILL_Medium_Type;
00183 YAZ_EXPORT int ill_Medium_Type (ODR o, ILL_Medium_Type **p, int opt, const char *name);
00184
00185 typedef struct ILL_Name_Of_Person_Or_Institution ILL_Name_Of_Person_Or_Institution;
00186 YAZ_EXPORT int ill_Name_Of_Person_Or_Institution (ODR o, ILL_Name_Of_Person_Or_Institution **p, int opt, const char *name);
00187
00188 typedef struct ILL_Person_Or_Institution_Symbol ILL_Person_Or_Institution_Symbol;
00189 YAZ_EXPORT int ill_Person_Or_Institution_Symbol (ODR o, ILL_Person_Or_Institution_Symbol **p, int opt, const char *name);
00190
00191 typedef Odr_int ILL_Place_On_Hold_Type;
00192 YAZ_EXPORT int ill_Place_On_Hold_Type (ODR o, ILL_Place_On_Hold_Type **p, int opt, const char *name);
00193
00194 typedef struct ILL_Postal_Address ILL_Postal_Address;
00195 YAZ_EXPORT int ill_Postal_Address (ODR o, ILL_Postal_Address **p, int opt, const char *name);
00196
00197 typedef struct ILL_Provider_Error_Report ILL_Provider_Error_Report;
00198 YAZ_EXPORT int ill_Provider_Error_Report (ODR o, ILL_Provider_Error_Report **p, int opt, const char *name);
00199
00200 typedef Odr_int ILL_Reason_Locs_Provided;
00201 YAZ_EXPORT int ill_Reason_Locs_Provided (ODR o, ILL_Reason_Locs_Provided **p, int opt, const char *name);
00202
00203 typedef Odr_int ILL_Reason_No_Report;
00204 YAZ_EXPORT int ill_Reason_No_Report (ODR o, ILL_Reason_No_Report **p, int opt, const char *name);
00205
00206 typedef Odr_int ILL_Reason_Unfilled;
00207 YAZ_EXPORT int ill_Reason_Unfilled (ODR o, ILL_Reason_Unfilled **p, int opt, const char *name);
00208
00209 typedef Odr_int ILL_Report_Source;
00210 YAZ_EXPORT int ill_Report_Source (ODR o, ILL_Report_Source **p, int opt, const char *name);
00211
00212 typedef struct ILL_Requester_Optional_Messages_Type ILL_Requester_Optional_Messages_Type;
00213 YAZ_EXPORT int ill_Requester_Optional_Messages_Type (ODR o, ILL_Requester_Optional_Messages_Type **p, int opt, const char *name);
00214
00215 typedef struct ILL_Responder_Optional_Messages_Type ILL_Responder_Optional_Messages_Type;
00216 YAZ_EXPORT int ill_Responder_Optional_Messages_Type (ODR o, ILL_Responder_Optional_Messages_Type **p, int opt, const char *name);
00217
00218 typedef struct ILL_Retry_Results ILL_Retry_Results;
00219 YAZ_EXPORT int ill_Retry_Results (ODR o, ILL_Retry_Results **p, int opt, const char *name);
00220
00221 typedef struct ILL_Search_Type ILL_Search_Type;
00222 YAZ_EXPORT int ill_Search_Type (ODR o, ILL_Search_Type **p, int opt, const char *name);
00223
00224 typedef ILL_String ILL_Security_Problem;
00225 YAZ_EXPORT int ill_Security_Problem (ODR o, ILL_Security_Problem **p, int opt, const char *name);
00226
00227 typedef struct ILL_Send_To_List_Type_s ILL_Send_To_List_Type_s;
00228 YAZ_EXPORT int ill_Send_To_List_Type_s (ODR o, ILL_Send_To_List_Type_s **p, int opt, const char *name);
00229
00230 typedef struct ILL_Send_To_List_Type ILL_Send_To_List_Type;
00231 YAZ_EXPORT int ill_Send_To_List_Type (ODR o, ILL_Send_To_List_Type **p, int opt, const char *name);
00232
00233 typedef struct ILL_Service_Date_this ILL_Service_Date_this;
00234 YAZ_EXPORT int ill_Service_Date_this (ODR o, ILL_Service_Date_this **p, int opt, const char *name);
00235
00236 typedef struct ILL_Service_Date_original ILL_Service_Date_original;
00237 YAZ_EXPORT int ill_Service_Date_original (ODR o, ILL_Service_Date_original **p, int opt, const char *name);
00238
00239 typedef struct ILL_Service_Date_Time ILL_Service_Date_Time;
00240 YAZ_EXPORT int ill_Service_Date_Time (ODR o, ILL_Service_Date_Time **p, int opt, const char *name);
00241
00242 typedef ILL_Service_Type ILL_Shipped_Service_Type;
00243 YAZ_EXPORT int ill_Shipped_Service_Type (ODR o, ILL_Shipped_Service_Type **p, int opt, const char *name);
00244
00245 typedef struct ILL_State_Transition_Prohibited ILL_State_Transition_Prohibited;
00246 YAZ_EXPORT int ill_State_Transition_Prohibited (ODR o, ILL_State_Transition_Prohibited **p, int opt, const char *name);
00247
00248 typedef struct ILL_Status_Report ILL_Status_Report;
00249 YAZ_EXPORT int ill_Status_Report (ODR o, ILL_Status_Report **p, int opt, const char *name);
00250
00251 typedef struct ILL_Supplemental_Item_Description ILL_Supplemental_Item_Description;
00252 YAZ_EXPORT int ill_Supplemental_Item_Description (ODR o, ILL_Supplemental_Item_Description **p, int opt, const char *name);
00253
00254 typedef struct ILL_Supply_Details ILL_Supply_Details;
00255 YAZ_EXPORT int ill_Supply_Details (ODR o, ILL_Supply_Details **p, int opt, const char *name);
00256
00257 typedef struct ILL_Supply_Medium_Info_Type ILL_Supply_Medium_Info_Type;
00258 YAZ_EXPORT int ill_Supply_Medium_Info_Type (ODR o, ILL_Supply_Medium_Info_Type **p, int opt, const char *name);
00259
00260 typedef Odr_int ILL_Supply_Medium_Type;
00261 YAZ_EXPORT int ill_Supply_Medium_Type (ODR o, ILL_Supply_Medium_Type **p, int opt, const char *name);
00262
00263 typedef struct ILL_System_Address ILL_System_Address;
00264 YAZ_EXPORT int ill_System_Address (ODR o, ILL_System_Address **p, int opt, const char *name);
00265
00266 typedef struct ILL_System_Id ILL_System_Id;
00267 YAZ_EXPORT int ill_System_Id (ODR o, ILL_System_Id **p, int opt, const char *name);
00268
00269 typedef struct ILL_Third_Party_Info_Type ILL_Third_Party_Info_Type;
00270 YAZ_EXPORT int ill_Third_Party_Info_Type (ODR o, ILL_Third_Party_Info_Type **p, int opt, const char *name);
00271
00272 typedef struct ILL_Transaction_Id ILL_Transaction_Id;
00273 YAZ_EXPORT int ill_Transaction_Id (ODR o, ILL_Transaction_Id **p, int opt, const char *name);
00274
00275 typedef Odr_int ILL_Transaction_Id_Problem;
00276 YAZ_EXPORT int ill_Transaction_Id_Problem (ODR o, ILL_Transaction_Id_Problem **p, int opt, const char *name);
00277
00278 typedef Odr_int ILL_Transaction_Results;
00279 YAZ_EXPORT int ill_Transaction_Results (ODR o, ILL_Transaction_Results **p, int opt, const char *name);
00280
00281 typedef Odr_int ILL_Transaction_Type;
00282 YAZ_EXPORT int ill_Transaction_Type (ODR o, ILL_Transaction_Type **p, int opt, const char *name);
00283
00284 typedef ILL_String ILL_Transportation_Mode;
00285 YAZ_EXPORT int ill_Transportation_Mode (ODR o, ILL_Transportation_Mode **p, int opt, const char *name);
00286
00287 typedef Odr_int ILL_Unable_To_Perform;
00288 YAZ_EXPORT int ill_Unable_To_Perform (ODR o, ILL_Unable_To_Perform **p, int opt, const char *name);
00289
00290 typedef struct ILL_Unfilled_Results ILL_Unfilled_Results;
00291 YAZ_EXPORT int ill_Unfilled_Results (ODR o, ILL_Unfilled_Results **p, int opt, const char *name);
00292
00293 typedef struct ILL_Units_Per_Medium_Type ILL_Units_Per_Medium_Type;
00294 YAZ_EXPORT int ill_Units_Per_Medium_Type (ODR o, ILL_Units_Per_Medium_Type **p, int opt, const char *name);
00295
00296 typedef struct ILL_User_Error_Report ILL_User_Error_Report;
00297 YAZ_EXPORT int ill_User_Error_Report (ODR o, ILL_User_Error_Report **p, int opt, const char *name);
00298
00299 typedef struct ILL_Will_Supply_Results ILL_Will_Supply_Results;
00300 YAZ_EXPORT int ill_Will_Supply_Results (ODR o, ILL_Will_Supply_Results **p, int opt, const char *name);
00301
00302 typedef char ILL_EDIFACTString;
00303 YAZ_EXPORT int ill_EDIFACTString (ODR o, ILL_EDIFACTString **p, int opt, const char *name);
00304 #ifdef __cplusplus
00305 }
00306 #endif
00307 #ifdef __cplusplus
00308 extern "C" {
00309 #endif
00310 struct ILL_APDU {
00311 int which;
00312 union {
00313 ILL_Request *illRequest;
00314 ILL_Forward_Notification *Forward_Notification;
00315 ILL_Shipped *Shipped;
00316 ILL_Answer *illAnswer;
00317 ILL_Conditional_Reply *Conditional_Reply;
00318 ILL_Cancel *Cancel;
00319 ILL_Cancel_Reply *Cancel_Reply;
00320 ILL_Received *Received;
00321 ILL_Recall *Recall;
00322 ILL_Returned *Returned;
00323 ILL_Checked_In *Checked_In;
00324 ILL_Overdue *Overdue;
00325 ILL_Renew *Renew;
00326 ILL_Renew_Answer *Renew_Answer;
00327 ILL_Lost *Lost;
00328 ILL_Damaged *Damaged;
00329 ILL_Message *Message;
00330 ILL_Status_Query *Status_Query;
00331 ILL_Status_Or_Error_Report *Status_Or_Error_Report;
00332 ILL_Expired *Expired;
00333 #define ILL_APDU_ILL_Request 1
00334 #define ILL_APDU_Forward_Notification 2
00335 #define ILL_APDU_Shipped 3
00336 #define ILL_APDU_ILL_Answer 4
00337 #define ILL_APDU_Conditional_Reply 5
00338 #define ILL_APDU_Cancel 6
00339 #define ILL_APDU_Cancel_Reply 7
00340 #define ILL_APDU_Received 8
00341 #define ILL_APDU_Recall 9
00342 #define ILL_APDU_Returned 10
00343 #define ILL_APDU_Checked_In 11
00344 #define ILL_APDU_Overdue 12
00345 #define ILL_APDU_Renew 13
00346 #define ILL_APDU_Renew_Answer 14
00347 #define ILL_APDU_Lost 15
00348 #define ILL_APDU_Damaged 16
00349 #define ILL_APDU_Message 17
00350 #define ILL_APDU_Status_Query 18
00351 #define ILL_APDU_Status_Or_Error_Report 19
00352 #define ILL_APDU_Expired 20
00353 } u;
00354 };
00355
00356 struct ILL_Request {
00357 #define ILL_Request_version_1 1
00358 #define ILL_Request_version_2 2
00359 Odr_int *protocol_version_num;
00360 ILL_Transaction_Id *transaction_id;
00361 ILL_Service_Date_Time *service_date_time;
00362 ILL_System_Id *requester_id;
00363 ILL_System_Id *responder_id;
00364 ILL_Transaction_Type *transaction_type;
00365 ILL_Delivery_Address *delivery_address;
00366 ILL_Delivery_Service *delivery_service;
00367 ILL_Delivery_Address *billing_address;
00368 int num_iLL_service_type;
00369 ILL_Service_Type **iLL_service_type;
00370 Odr_external *responder_specific_service;
00371 ILL_Requester_Optional_Messages_Type *requester_optional_messages;
00372 ILL_Search_Type *search_type;
00373 int num_supply_medium_info_type;
00374 ILL_Supply_Medium_Info_Type **supply_medium_info_type;
00375 ILL_Place_On_Hold_Type *place_on_hold;
00376 ILL_Client_Id *client_id;
00377 ILL_Item_Id *item_id;
00378 ILL_Supplemental_Item_Description *supplemental_item_description;
00379 ILL_Cost_Info_Type *cost_info_type;
00380 ILL_String *copyright_compliance;
00381 ILL_Third_Party_Info_Type *third_party_info_type;
00382 Odr_bool *retry_flag;
00383 Odr_bool *forward_flag;
00384 ILL_String *requester_note;
00385 ILL_String *forward_note;
00386 int num_iLL_request_extensions;
00387 ILL_Extension **iLL_request_extensions;
00388 };
00389
00390 struct ILL_Forward_Notification {
00391 #define ILL_Forward_Notification_version_1 1
00392 #define ILL_Forward_Notification_version_2 2
00393 Odr_int *protocol_version_num;
00394 ILL_Transaction_Id *transaction_id;
00395 ILL_Service_Date_Time *service_date_time;
00396 ILL_System_Id *requester_id;
00397 ILL_System_Id *responder_id;
00398 ILL_System_Address *responder_address;
00399 ILL_System_Id *intermediary_id;
00400 ILL_String *notification_note;
00401 int num_forward_notification_extensions;
00402 ILL_Extension **forward_notification_extensions;
00403 };
00404
00405 struct ILL_Shipped {
00406 #define ILL_Shipped_version_1 1
00407 #define ILL_Shipped_version_2 2
00408 Odr_int *protocol_version_num;
00409 ILL_Transaction_Id *transaction_id;
00410 ILL_Service_Date_Time *service_date_time;
00411 ILL_System_Id *requester_id;
00412 ILL_System_Id *responder_id;
00413 ILL_System_Address *responder_address;
00414 ILL_System_Id *intermediary_id;
00415 ILL_System_Id *supplier_id;
00416 ILL_Client_Id *client_id;
00417 ILL_Transaction_Type *transaction_type;
00418 ILL_Supplemental_Item_Description *supplemental_item_description;
00419 ILL_Shipped_Service_Type *shipped_service_type;
00420 ILL_Responder_Optional_Messages_Type *responder_optional_messages;
00421 ILL_Supply_Details *supply_details;
00422 ILL_Postal_Address *return_to_address;
00423 ILL_String *responder_note;
00424 int num_shipped_extensions;
00425 ILL_Extension **shipped_extensions;
00426 };
00427
00428 struct ILL_Answer {
00429 #define ILL_Answer_version_1 1
00430 #define ILL_Answer_version_2 2
00431 Odr_int *protocol_version_num;
00432 ILL_Transaction_Id *transaction_id;
00433 ILL_Service_Date_Time *service_date_time;
00434 ILL_System_Id *requester_id;
00435 ILL_System_Id *responder_id;
00436 ILL_Transaction_Results *transaction_results;
00437 int which;
00438 union {
00439 ILL_Conditional_Results *conditional_results;
00440 ILL_Retry_Results *retry_results;
00441 ILL_Unfilled_Results *unfilled_results;
00442 ILL_Locations_Results *locations_results;
00443 ILL_Will_Supply_Results *will_supply_results;
00444 ILL_Hold_Placed_Results *hold_placed_results;
00445 ILL_Estimate_Results *estimate_results;
00446 #define ILL_Answer_conditional_results 1
00447 #define ILL_Answer_retry_results 2
00448 #define ILL_Answer_unfilled_results 3
00449 #define ILL_Answer_locations_results 4
00450 #define ILL_Answer_will_supply_results 5
00451 #define ILL_Answer_hold_placed_results 6
00452 #define ILL_Answer_estimate_results 7
00453 } u;
00454 Odr_external *responder_specific_results;
00455 ILL_Supplemental_Item_Description *supplemental_item_description;
00456 ILL_Send_To_List_Type *send_to_list;
00457 ILL_Already_Tried_List_Type *already_tried_list;
00458 ILL_Responder_Optional_Messages_Type *responder_optional_messages;
00459 ILL_String *responder_note;
00460 int num_ill_answer_extensions;
00461 ILL_Extension **ill_answer_extensions;
00462 };
00463
00464 struct ILL_Conditional_Reply {
00465 #define ILL_Conditional_Reply_version_1 1
00466 #define ILL_Conditional_Reply_version_2 2
00467 Odr_int *protocol_version_num;
00468 ILL_Transaction_Id *transaction_id;
00469 ILL_Service_Date_Time *service_date_time;
00470 ILL_System_Id *requester_id;
00471 ILL_System_Id *responder_id;
00472 Odr_bool *answer;
00473 ILL_String *requester_note;
00474 int num_conditional_reply_extensions;
00475 ILL_Extension **conditional_reply_extensions;
00476 };
00477
00478 struct ILL_Cancel {
00479 #define ILL_Cancel_version_1 1
00480 #define ILL_Cancel_version_2 2
00481 Odr_int *protocol_version_num;
00482 ILL_Transaction_Id *transaction_id;
00483 ILL_Service_Date_Time *service_date_time;
00484 ILL_System_Id *requester_id;
00485 ILL_System_Id *responder_id;
00486 ILL_String *requester_note;
00487 int num_cancel_extensions;
00488 ILL_Extension **cancel_extensions;
00489 };
00490
00491 struct ILL_Cancel_Reply {
00492 #define ILL_Cancel_Reply_version_1 1
00493 #define ILL_Cancel_Reply_version_2 2
00494 Odr_int *protocol_version_num;
00495 ILL_Transaction_Id *transaction_id;
00496 ILL_Service_Date_Time *service_date_time;
00497 ILL_System_Id *requester_id;
00498 ILL_System_Id *responder_id;
00499 Odr_bool *answer;
00500 ILL_String *responder_note;
00501 int num_cancel_reply_extensions;
00502 ILL_Extension **cancel_reply_extensions;
00503 };
00504
00505 struct ILL_Received {
00506 #define ILL_Received_version_1 1
00507 #define ILL_Received_version_2 2
00508 Odr_int *protocol_version_num;
00509 ILL_Transaction_Id *transaction_id;
00510 ILL_Service_Date_Time *service_date_time;
00511 ILL_System_Id *requester_id;
00512 ILL_System_Id *responder_id;
00513 ILL_System_Id *supplier_id;
00514 ILL_Supplemental_Item_Description *supplemental_item_description;
00515 ILL_ISO_Date *date_received;
00516 ILL_Shipped_Service_Type *shipped_service_type;
00517 ILL_String *requester_note;
00518 int num_received_extensions;
00519 ILL_Extension **received_extensions;
00520 };
00521
00522 struct ILL_Recall {
00523 #define ILL_Recall_version_1 1
00524 #define ILL_Recall_version_2 2
00525 Odr_int *protocol_version_num;
00526 ILL_Transaction_Id *transaction_id;
00527 ILL_Service_Date_Time *service_date_time;
00528 ILL_System_Id *requester_id;
00529 ILL_System_Id *responder_id;
00530 ILL_String *responder_note;
00531 int num_recall_extensions;
00532 ILL_Extension **recall_extensions;
00533 };
00534
00535 struct ILL_Returned {
00536 #define ILL_Returned_version_1 1
00537 #define ILL_Returned_version_2 2
00538 Odr_int *protocol_version_num;
00539 ILL_Transaction_Id *transaction_id;
00540 ILL_Service_Date_Time *service_date_time;
00541 ILL_System_Id *requester_id;
00542 ILL_System_Id *responder_id;
00543 ILL_Supplemental_Item_Description *supplemental_item_description;
00544 ILL_ISO_Date *date_returned;
00545 ILL_Transportation_Mode *returned_via;
00546 ILL_Amount *insured_for;
00547 ILL_String *requester_note;
00548 int num_returned_extensions;
00549 ILL_Extension **returned_extensions;
00550 };
00551
00552 struct ILL_Checked_In {
00553 #define ILL_Checked_In_version_1 1
00554 #define ILL_Checked_In_version_2 2
00555 Odr_int *protocol_version_num;
00556 ILL_Transaction_Id *transaction_id;
00557 ILL_Service_Date_Time *service_date_time;
00558 ILL_System_Id *requester_id;
00559 ILL_System_Id *responder_id;
00560 ILL_ISO_Date *date_checked_in;
00561 ILL_String *responder_note;
00562 int num_checked_in_extensions;
00563 ILL_Extension **checked_in_extensions;
00564 };
00565
00566 struct ILL_Overdue_ExtensionS {
00567 int num;
00568 ILL_Extension **elements;
00569 };
00570
00571 struct ILL_Overdue {
00572 #define ILL_Overdue_version_1 1
00573 #define ILL_Overdue_version_2 2
00574 Odr_int *protocol_version_num;
00575 ILL_Transaction_Id *transaction_id;
00576 ILL_Service_Date_Time *service_date_time;
00577 ILL_System_Id *requester_id;
00578 ILL_System_Id *responder_id;
00579 ILL_Date_Due *date_due;
00580 ILL_String *responder_note;
00581 ILL_Overdue_ExtensionS *overdue_extensions;
00582 };
00583
00584 struct ILL_Renew {
00585 #define ILL_Renew_version_1 1
00586 #define ILL_Renew_version_2 2
00587 Odr_int *protocol_version_num;
00588 ILL_Transaction_Id *transaction_id;
00589 ILL_Service_Date_Time *service_date_time;
00590 ILL_System_Id *requester_id;
00591 ILL_System_Id *responder_id;
00592 ILL_ISO_Date *desired_due_date;
00593 ILL_String *requester_note;
00594 int num_renew_extensions;
00595 ILL_Extension **renew_extensions;
00596 };
00597
00598 struct ILL_Renew_Answer {
00599 #define ILL_Renew_Answer_version_1 1
00600 #define ILL_Renew_Answer_version_2 2
00601 Odr_int *protocol_version_num;
00602 ILL_Transaction_Id *transaction_id;
00603 ILL_Service_Date_Time *service_date_time;
00604 ILL_System_Id *requester_id;
00605 ILL_System_Id *responder_id;
00606 Odr_bool *answer;
00607 ILL_Date_Due *date_due;
00608 ILL_String *responder_note;
00609 int num_renew_answer_extensions;
00610 ILL_Extension **renew_answer_extensions;
00611 };
00612
00613 struct ILL_Lost {
00614 #define ILL_Lost_version_1 1
00615 #define ILL_Lost_version_2 2
00616 Odr_int *protocol_version_num;
00617 ILL_Transaction_Id *transaction_id;
00618 ILL_Service_Date_Time *service_date_time;
00619 ILL_System_Id *requester_id;
00620 ILL_System_Id *responder_id;
00621 ILL_String *note;
00622 int num_lost_extensions;
00623 ILL_Extension **lost_extensions;
00624 };
00625
00626 struct ILL_Damaged {
00627 #define ILL_Damaged_version_1 1
00628 #define ILL_Damaged_version_2 2
00629 Odr_int *protocol_version_num;
00630 ILL_Transaction_Id *transaction_id;
00631 ILL_Service_Date_Time *service_date_time;
00632 ILL_System_Id *requester_id;
00633 ILL_System_Id *responder_id;
00634 ILL_Damaged_Details *damaged_details;
00635 ILL_String *note;
00636 int num_damaged_extensions;
00637 ILL_Extension **damaged_extensions;
00638 };
00639
00640 struct ILL_Message {
00641 #define ILL_Message_version_1 1
00642 #define ILL_Message_version_2 2
00643 Odr_int *protocol_version_num;
00644 ILL_Transaction_Id *transaction_id;
00645 ILL_Service_Date_Time *service_date_time;
00646 ILL_System_Id *requester_id;
00647 ILL_System_Id *responder_id;
00648 ILL_String *note;
00649 int num_message_extensions;
00650 ILL_Extension **message_extensions;
00651 };
00652
00653 struct ILL_Status_Query {
00654 #define ILL_Status_Query_version_1 1
00655 #define ILL_Status_Query_version_2 2
00656 Odr_int *protocol_version_num;
00657 ILL_Transaction_Id *transaction_id;
00658 ILL_Service_Date_Time *service_date_time;
00659 ILL_System_Id *requester_id;
00660 ILL_System_Id *responder_id;
00661 ILL_String *note;
00662 int num_status_query_extensions;
00663 ILL_Extension **status_query_extensions;
00664 };
00665
00666 struct ILL_Status_Or_Error_Report {
00667 #define ILL_Status_Or_Error_Report_version_1 1
00668 #define ILL_Status_Or_Error_Report_version_2 2
00669 Odr_int *protocol_version_num;
00670 ILL_Transaction_Id *transaction_id;
00671 ILL_Service_Date_Time *service_date_time;
00672 ILL_System_Id *requester_id;
00673 ILL_System_Id *responder_id;
00674 ILL_Reason_No_Report *reason_no_report;
00675 ILL_Status_Report *status_report;
00676 ILL_Error_Report *error_report;
00677 ILL_String *note;
00678 int num_status_or_error_report_extensions;
00679 ILL_Extension **status_or_error_report_extensions;
00680 };
00681
00682 struct ILL_Expired {
00683 #define ILL_Expired_version_1 1
00684 #define ILL_Expired_version_2 2
00685 Odr_int *protocol_version_num;
00686 ILL_Transaction_Id *transaction_id;
00687 ILL_Service_Date_Time *service_date_time;
00688 ILL_System_Id *requester_id;
00689 ILL_System_Id *responder_id;
00690 int num_expired_extensions;
00691 ILL_Extension **expired_extensions;
00692 };
00693
00694
00695
00696 struct ILL_Already_Forwarded {
00697 ILL_System_Id *responder_id;
00698 ILL_System_Address *responder_address;
00699 };
00700
00701 struct ILL_Already_Tried_List_Type {
00702 int num;
00703 ILL_System_Id **elements;
00704 };
00705
00706 struct ILL_Amount {
00707 char *currency_code;
00708 ILL_AmountString *monetary_value;
00709 };
00710
00711
00712
00713 struct ILL_Client_Id {
00714 ILL_String *client_name;
00715 ILL_String *client_status;
00716 ILL_String *client_identifier;
00717 };
00718
00719 struct ILL_Conditional_Results {
00720 #define ILL_Conditional_Results_cost_exceeds_limit 13
00721 #define ILL_Conditional_Results_charges 14
00722 #define ILL_Conditional_Results_prepayment_required 15
00723 #define ILL_Conditional_Results_lacks_copyright_compliance 16
00724 #define ILL_Conditional_Results_library_use_only 22
00725 #define ILL_Conditional_Results_no_reproduction 23
00726 #define ILL_Conditional_Results_client_signature_required 24
00727 #define ILL_Conditional_Results_special_collections_supervision_required 25
00728 #define ILL_Conditional_Results_other 27
00729 #define ILL_Conditional_Results_responder_specific 28
00730 #define ILL_Conditional_Results_proposed_delivery_service 30
00731 Odr_int *conditions;
00732 ILL_ISO_Date *date_for_reply;
00733 int num_locations;
00734 ILL_Location_Info **locations;
00735 ILL_Delivery_Service *proposed_delivery_service;
00736 };
00737
00738 struct ILL_Cost_Info_Type {
00739 ILL_Account_Number *account_number;
00740 ILL_Amount *maximum_cost;
00741 Odr_bool *reciprocal_agreement;
00742 Odr_bool *will_pay_fee;
00743 Odr_bool *payment_provided;
00744 };
00745
00746 #define ILL_Current_State_nOT_SUPPLIED 1
00747 #define ILL_Current_State_pENDING 2
00748 #define ILL_Current_State_iN_PROCESS 3
00749 #define ILL_Current_State_fORWARD 4
00750 #define ILL_Current_State_cONDITIONAL 5
00751 #define ILL_Current_State_cANCEL_PENDING 6
00752 #define ILL_Current_State_cANCELLED 7
00753 #define ILL_Current_State_sHIPPED 8
00754 #define ILL_Current_State_rECEIVED 9
00755 #define ILL_Current_State_rENEW_PENDING 10
00756 #define ILL_Current_State_nOT_RECEIVED_OVERDUE 11
00757 #define ILL_Current_State_rENEW_OVERDUE 12
00758 #define ILL_Current_State_oVERDUE 13
00759 #define ILL_Current_State_rETURNED 14
00760 #define ILL_Current_State_cHECKED_IN 15
00761 #define ILL_Current_State_rECALL 16
00762 #define ILL_Current_State_lOST 17
00763 #define ILL_Current_State_uNKNOWN 18
00764
00765 struct ILL_Damaged_DetailsSpecific_units {
00766 int num;
00767 Odr_int **elements;
00768 };
00769
00770 struct ILL_Damaged_Details {
00771 Odr_oid *document_type_id;
00772 int which;
00773 union {
00774 Odr_null *complete_document;
00775 ILL_Damaged_DetailsSpecific_units *specific_units;
00776 #define ILL_Damaged_Details_complete_document 1
00777 #define ILL_Damaged_Details_specific_units 2
00778 } u;
00779 };
00780
00781 struct ILL_Date_Due {
00782 ILL_ISO_Date *date_due_field;
00783 Odr_bool *renewable;
00784 };
00785
00786 struct ILL_Delivery_Address {
00787 ILL_Postal_Address *postal_address;
00788 ILL_System_Address *electronic_address;
00789 };
00790
00791 struct ILL_Delivery_ServiceElectronic_delivery {
00792 int num;
00793 ILL_Electronic_Delivery_Service **elements;
00794 };
00795
00796 struct ILL_Delivery_Service {
00797 int which;
00798 union {
00799 ILL_Transportation_Mode *physical_delivery;
00800 ILL_Delivery_ServiceElectronic_delivery *electronic_delivery;
00801 #define ILL_Delivery_Service_physical_delivery 1
00802 #define ILL_Delivery_Service_electronic_delivery 2
00803 } u;
00804 };
00805
00806 struct ILL_Electronic_Delivery_Service_0 {
00807 Odr_oid *e_delivery_mode;
00808 Odr_any *e_delivery_parameters;
00809 };
00810
00811 struct ILL_Electronic_Delivery_Service_1 {
00812 Odr_oid *document_type_id;
00813 Odr_any *document_type_parameters;
00814 };
00815
00816 struct ILL_Electronic_Delivery_Service {
00817 ILL_Electronic_Delivery_Service_0 *e_delivery_service;
00818 ILL_Electronic_Delivery_Service_1 *document_type;
00819 ILL_String *e_delivery_description;
00820 int which;
00821 union {
00822 ILL_System_Address *e_delivery_address;
00823 ILL_System_Id *e_delivery_id;
00824 #define ILL_Electronic_Delivery_Service_e_delivery_address 1
00825 #define ILL_Electronic_Delivery_Service_e_delivery_id 2
00826 } u;
00827 ILL_String *name_or_code;
00828 ILL_ISO_Time *delivery_time;
00829 };
00830
00831 struct ILL_Error_Report {
00832 ILL_String *correlation_information;
00833 ILL_Report_Source *report_source;
00834 ILL_User_Error_Report *user_error_report;
00835 ILL_Provider_Error_Report *provider_error_report;
00836 };
00837
00838 struct ILL_Estimate_Results {
00839 ILL_String *cost_estimate;
00840 int num_locations;
00841 ILL_Location_Info **locations;
00842 };
00843
00844 struct ILL_Extension {
00845 Odr_int *identifier;
00846 Odr_bool *critical;
00847 Odr_any *item;
00848 };
00849
00850 #define ILL_General_Problem_unrecognized_APDU 1
00851 #define ILL_General_Problem_mistyped_APDU 2
00852 #define ILL_General_Problem_badly_structured_APDU 3
00853 #define ILL_General_Problem_protocol_version_not_supported 4
00854 #define ILL_General_Problem_other 5
00855
00856 struct ILL_History_Report {
00857 ILL_ISO_Date *date_requested;
00858 ILL_String *author;
00859 ILL_String *title;
00860 ILL_String *author_of_article;
00861 ILL_String *title_of_article;
00862 ILL_ISO_Date *date_of_last_transition;
00863 #define ILL_History_Report_iLL_REQUEST 1
00864 #define ILL_History_Report_fORWARD 21
00865 #define ILL_History_Report_fORWARD_NOTIFICATION 2
00866 #define ILL_History_Report_sHIPPED 3
00867 #define ILL_History_Report_iLL_ANSWER 4
00868 #define ILL_History_Report_cONDITIONAL_REPLY 5
00869 #define ILL_History_Report_cANCEL 6
00870 #define ILL_History_Report_cANCEL_REPLY 7
00871 #define ILL_History_Report_rECEIVED 8
00872 #define ILL_History_Report_rECALL 9
00873 #define ILL_History_Report_rETURNED 10
00874 #define ILL_History_Report_cHECKED_IN 11
00875 #define ILL_History_Report_rENEW_ANSWER 14
00876 #define ILL_History_Report_lOST 15
00877 #define ILL_History_Report_dAMAGED 16
00878 #define ILL_History_Report_mESSAGE 17
00879 #define ILL_History_Report_sTATUS_QUERY 18
00880 #define ILL_History_Report_sTATUS_OR_ERROR_REPORT 19
00881 #define ILL_History_Report_eXPIRED 20
00882 Odr_int *most_recent_service;
00883 ILL_ISO_Date *date_of_most_recent_service;
00884 ILL_System_Id *initiator_of_most_recent_service;
00885 ILL_Shipped_Service_Type *shipped_service_type;
00886 ILL_Transaction_Results *transaction_results;
00887 ILL_String *most_recent_service_note;
00888 };
00889
00890 struct ILL_Hold_Placed_Results {
00891 ILL_ISO_Date *estimated_date_available;
00892 ILL_Medium_Type *hold_placed_medium_type;
00893 int num_locations;
00894 ILL_Location_Info **locations;
00895 };
00896
00897 #define ILL_APDU_Type_iLL_REQUEST 1
00898 #define ILL_APDU_Type_fORWARD_NOTIFICATION 2
00899 #define ILL_APDU_Type_sHIPPED 3
00900 #define ILL_APDU_Type_iLL_ANSWER 4
00901 #define ILL_APDU_Type_cONDITIONAL_REPLY 5
00902 #define ILL_APDU_Type_cANCEL 6
00903 #define ILL_APDU_Type_cANCEL_REPLY 7
00904 #define ILL_APDU_Type_rECEIVED 8
00905 #define ILL_APDU_Type_rECALL 9
00906 #define ILL_APDU_Type_rETURNED 10
00907 #define ILL_APDU_Type_cHECKED_IN 11
00908 #define ILL_APDU_Type_oVERDUE 12
00909 #define ILL_APDU_Type_rENEW 13
00910 #define ILL_APDU_Type_rENEW_ANSWER 14
00911 #define ILL_APDU_Type_lOST 15
00912 #define ILL_APDU_Type_dAMAGED 16
00913 #define ILL_APDU_Type_mESSAGE 17
00914 #define ILL_APDU_Type_sTATUS_QUERY 18
00915 #define ILL_APDU_Type_sTATUS_OR_ERROR_REPORT 19
00916 #define ILL_APDU_Type_eXPIRED 20
00917
00918 #define ILL_Service_Type_loan 1
00919 #define ILL_Service_Type_copy_non_returnable 2
00920 #define ILL_Service_Type_locations 3
00921 #define ILL_Service_Type_estimate 4
00922 #define ILL_Service_Type_responder_specific 5
00923
00924 struct ILL_String {
00925 int which;
00926 union {
00927 char *GeneralString;
00928 ILL_EDIFACTString *EDIFACTString;
00929 #define ILL_String_GeneralString 1
00930 #define ILL_String_EDIFACTString 2
00931 } u;
00932 };
00933
00934 #define ILL_Intermediary_Problem_cannot_send_onward 1
00935
00936
00937
00938
00939
00940 struct ILL_Item_Id {
00941 #define ILL_Item_Id_monograph 1
00942 #define ILL_Item_Id_serial 2
00943 #define ILL_Item_Id_other 3
00944 Odr_int *item_type;
00945 ILL_Medium_Type *held_medium_type;
00946 ILL_String *call_number;
00947 ILL_String *author;
00948 ILL_String *title;
00949 ILL_String *sub_title;
00950 ILL_String *sponsoring_body;
00951 ILL_String *place_of_publication;
00952 ILL_String *publisher;
00953 ILL_String *series_title_number;
00954 ILL_String *volume_issue;
00955 ILL_String *edition;
00956 ILL_String *publication_date;
00957 ILL_String *publication_date_of_component;
00958 ILL_String *author_of_article;
00959 ILL_String *title_of_article;
00960 ILL_String *pagination;
00961 Odr_external *national_bibliography_no;
00962 ILL_String *iSBN;
00963 ILL_String *iSSN;
00964 Odr_external *system_no;
00965 ILL_String *additional_no_letters;
00966 ILL_String *verification_reference_source;
00967 };
00968
00969 struct ILL_Location_Info {
00970 ILL_System_Id *location_id;
00971 ILL_System_Address *location_address;
00972 ILL_String *location_note;
00973 };
00974
00975 struct ILL_Locations_Results {
00976 ILL_Reason_Locs_Provided *reason_locs_provided;
00977 int num_locations;
00978 ILL_Location_Info **locations;
00979 };
00980
00981 #define ILL_Medium_Type_printed 1
00982 #define ILL_Medium_Type_microform 3
00983 #define ILL_Medium_Type_film_or_video_recording 4
00984 #define ILL_Medium_Type_audio_recording 5
00985 #define ILL_Medium_Type_machine_readable 6
00986 #define ILL_Medium_Type_other 7
00987
00988 struct ILL_Name_Of_Person_Or_Institution {
00989 int which;
00990 union {
00991 ILL_String *name_of_person;
00992 ILL_String *name_of_institution;
00993 #define ILL_Name_Of_Person_Or_Institution_name_of_person 1
00994 #define ILL_Name_Of_Person_Or_Institution_name_of_institution 2
00995 } u;
00996 };
00997
00998 struct ILL_Person_Or_Institution_Symbol {
00999 int which;
01000 union {
01001 ILL_String *person_symbol;
01002 ILL_String *institution_symbol;
01003 #define ILL_Person_Or_Institution_Symbol_person_symbol 1
01004 #define ILL_Person_Or_Institution_Symbol_institution_symbol 2
01005 } u;
01006 };
01007
01008 #define ILL_Place_On_Hold_Type_yes 1
01009 #define ILL_Place_On_Hold_Type_no 2
01010 #define ILL_Place_On_Hold_Type_according_to_responder_policy 3
01011
01012 struct ILL_Postal_Address {
01013 ILL_Name_Of_Person_Or_Institution *name_of_person_or_institution;
01014 ILL_String *extended_postal_delivery_address;
01015 ILL_String *street_and_number;
01016 ILL_String *post_office_box;
01017 ILL_String *city;
01018 ILL_String *region;
01019 ILL_String *country;
01020 ILL_String *postal_code;
01021 };
01022
01023 struct ILL_Provider_Error_Report {
01024 int which;
01025 union {
01026 ILL_General_Problem *general_problem;
01027 ILL_Transaction_Id_Problem *transaction_id_problem;
01028 ILL_State_Transition_Prohibited *state_transition_prohibited;
01029 #define ILL_Provider_Error_Report_general_problem 1
01030 #define ILL_Provider_Error_Report_transaction_id_problem 2
01031 #define ILL_Provider_Error_Report_state_transition_prohibited 3
01032 } u;
01033 };
01034
01035 #define ILL_Reason_Locs_Provided_in_use_on_loan 1
01036 #define ILL_Reason_Locs_Provided_in_process 2
01037 #define ILL_Reason_Locs_Provided_lost 3
01038 #define ILL_Reason_Locs_Provided_non_circulating 4
01039 #define ILL_Reason_Locs_Provided_not_owned 5
01040 #define ILL_Reason_Locs_Provided_on_order 6
01041 #define ILL_Reason_Locs_Provided_volume_issue_not_yet_available 7
01042 #define ILL_Reason_Locs_Provided_at_bindery 8
01043 #define ILL_Reason_Locs_Provided_lacking 9
01044 #define ILL_Reason_Locs_Provided_not_on_shelf 10
01045 #define ILL_Reason_Locs_Provided_on_reserve 11
01046 #define ILL_Reason_Locs_Provided_poor_condition 12
01047 #define ILL_Reason_Locs_Provided_cost_exceeds_limit 13
01048 #define ILL_Reason_Locs_Provided_on_hold 19
01049 #define ILL_Reason_Locs_Provided_other 27
01050 #define ILL_Reason_Locs_Provided_responder_specific 28
01051
01052 #define ILL_Reason_No_Report_temporary 1
01053 #define ILL_Reason_No_Report_permanent 2
01054
01055 #define ILL_Reason_Unfilled_in_use_on_loan 1
01056 #define ILL_Reason_Unfilled_in_process 2
01057 #define ILL_Reason_Unfilled_lost 3
01058 #define ILL_Reason_Unfilled_non_circulating 4
01059 #define ILL_Reason_Unfilled_not_owned 5
01060 #define ILL_Reason_Unfilled_on_order 6
01061 #define ILL_Reason_Unfilled_volume_issue_not_yet_available 7
01062 #define ILL_Reason_Unfilled_at_bindery 8
01063 #define ILL_Reason_Unfilled_lacking 9
01064 #define ILL_Reason_Unfilled_not_on_shelf 10
01065 #define ILL_Reason_Unfilled_on_reserve 11
01066 #define ILL_Reason_Unfilled_poor_condition 12
01067 #define ILL_Reason_Unfilled_cost_exceeds_limit 13
01068 #define ILL_Reason_Unfilled_charges 14
01069 #define ILL_Reason_Unfilled_prepayment_required 15
01070 #define ILL_Reason_Unfilled_lacks_copyright_compliance 16
01071 #define ILL_Reason_Unfilled_not_found_as_cited 17
01072 #define ILL_Reason_Unfilled_locations_not_found 18
01073 #define ILL_Reason_Unfilled_on_hold 19
01074 #define ILL_Reason_Unfilled_policy_problem 20
01075 #define ILL_Reason_Unfilled_mandatory_messaging_not_supported 21
01076 #define ILL_Reason_Unfilled_expiry_not_supported 22
01077 #define ILL_Reason_Unfilled_requested_delivery_services_not_supported 23
01078 #define ILL_Reason_Unfilled_preferred_delivery_time_not_possible 24
01079 #define ILL_Reason_Unfilled_other 27
01080 #define ILL_Reason_Unfilled_responder_specific 28
01081
01082 #define ILL_Report_Source_user 1
01083 #define ILL_Report_Source_provider 2
01084
01085 struct ILL_Requester_Optional_Messages_Type {
01086 Odr_bool *can_send_RECEIVED;
01087 Odr_bool *can_send_RETURNED;
01088 #define ILL_Requester_Optional_Messages_Type_requires 1
01089 #define ILL_Requester_Optional_Messages_Type_desires 2
01090 #define ILL_Requester_Optional_Messages_Type_neither 3
01091 Odr_int *requester_SHIPPED;
01092 #define ILL_Requester_Optional_Messages_Type_requires 1
01093 #define ILL_Requester_Optional_Messages_Type_desires 2
01094 #define ILL_Requester_Optional_Messages_Type_neither 3
01095 Odr_int *requester_CHECKED_IN;
01096 };
01097
01098 struct ILL_Responder_Optional_Messages_Type {
01099 Odr_bool *can_send_SHIPPED;
01100 Odr_bool *can_send_CHECKED_IN;
01101 #define ILL_Responder_Optional_Messages_Type_requires 1
01102 #define ILL_Responder_Optional_Messages_Type_desires 2
01103 #define ILL_Responder_Optional_Messages_Type_neither 3
01104 Odr_int *responder_RECEIVED;
01105 #define ILL_Responder_Optional_Messages_Type_requires 1
01106 #define ILL_Responder_Optional_Messages_Type_desires 2
01107 #define ILL_Responder_Optional_Messages_Type_neither 3
01108 Odr_int *responder_RETURNED;
01109 };
01110
01111 struct ILL_Retry_Results {
01112 #define ILL_Retry_Results_in_use_on_loan 1
01113 #define ILL_Retry_Results_in_process 2
01114 #define ILL_Retry_Results_on_order 6
01115 #define ILL_Retry_Results_volume_issue_not_yet_available 7
01116 #define ILL_Retry_Results_at_bindery 8
01117 #define ILL_Retry_Results_cost_exceeds_limit 13
01118 #define ILL_Retry_Results_charges 14
01119 #define ILL_Retry_Results_prepayment_required 15
01120 #define ILL_Retry_Results_lacks_copyright_compliance 16
01121 #define ILL_Retry_Results_not_found_as_cited 17
01122 #define ILL_Retry_Results_on_hold 19
01123 #define ILL_Retry_Results_other 27
01124 #define ILL_Retry_Results_responder_specific 28
01125 Odr_int *reason_not_available;
01126 ILL_ISO_Date *retry_date;
01127 int num_locations;
01128 ILL_Location_Info **locations;
01129 };
01130
01131 struct ILL_Search_Type {
01132 ILL_String *level_of_service;
01133 ILL_ISO_Date *need_before_date;
01134 #define ILL_Search_Type_need_Before_Date 1
01135 #define ILL_Search_Type_other_Date 2
01136 #define ILL_Search_Type_no_Expiry 3
01137 Odr_int *expiry_flag;
01138 ILL_ISO_Date *expiry_date;
01139 };
01140
01141
01142
01143 struct ILL_Send_To_List_Type_s {
01144 ILL_System_Id *system_id;
01145 ILL_Account_Number *account_number;
01146 ILL_System_Address *system_address;
01147 };
01148
01149 struct ILL_Send_To_List_Type {
01150 int num;
01151 ILL_Send_To_List_Type_s **elements;
01152 };
01153
01154 struct ILL_Service_Date_this {
01155 ILL_ISO_Date *date;
01156 ILL_ISO_Time *time;
01157 };
01158
01159 struct ILL_Service_Date_original {
01160 ILL_ISO_Date *date;
01161 ILL_ISO_Time *time;
01162 };
01163
01164 struct ILL_Service_Date_Time {
01165 ILL_Service_Date_this *date_time_of_this_service;
01166 ILL_Service_Date_original *date_time_of_original_service;
01167 };
01168
01169
01170
01171 struct ILL_State_Transition_Prohibited {
01172 ILL_APDU_Type *aPDU_type;
01173 ILL_Current_State *current_state;
01174 };
01175
01176 struct ILL_Status_Report {
01177 ILL_History_Report *user_status_report;
01178 ILL_Current_State *provider_status_report;
01179 };
01180
01181 struct ILL_Supplemental_Item_Description {
01182 int num;
01183 Odr_external **elements;
01184 };
01185
01186 struct ILL_Supply_Details {
01187 ILL_ISO_Date *date_shipped;
01188 ILL_Date_Due *date_due;
01189 Odr_int *chargeable_units;
01190 ILL_Amount *cost;
01191 #define ILL_Supply_Details_library_use_only 22
01192 #define ILL_Supply_Details_no_reproduction 23
01193 #define ILL_Supply_Details_client_signature_required 24
01194 #define ILL_Supply_Details_special_collections_supervision_required 25
01195 #define ILL_Supply_Details_other 27
01196 Odr_int *shipped_conditions;
01197 int which;
01198 union {
01199 ILL_Transportation_Mode *physical_delivery;
01200 ILL_Electronic_Delivery_Service *electronic_delivery;
01201 #define ILL_Supply_Details_physical_delivery 1
01202 #define ILL_Supply_Details_electronic_delivery 2
01203 } u;
01204 ILL_Amount *insured_for;
01205 ILL_Amount *return_insurance_require;
01206 int num_no_of_units_per_medium;
01207 ILL_Units_Per_Medium_Type **no_of_units_per_medium;
01208 };
01209
01210 struct ILL_Supply_Medium_Info_Type {
01211 ILL_Supply_Medium_Type *supply_medium_type;
01212 ILL_String *medium_characteristics;
01213 };
01214
01215 #define ILL_Supply_Medium_Type_printed 1
01216 #define ILL_Supply_Medium_Type_photocopy 2
01217 #define ILL_Supply_Medium_Type_microform 3
01218 #define ILL_Supply_Medium_Type_film_or_video_recording 4
01219 #define ILL_Supply_Medium_Type_audio_recording 5
01220 #define ILL_Supply_Medium_Type_machine_readable 6
01221 #define ILL_Supply_Medium_Type_other 7
01222
01223 struct ILL_System_Address {
01224 ILL_String *telecom_service_identifier;
01225 ILL_String *telecom_service_address;
01226 };
01227
01228 struct ILL_System_Id {
01229 ILL_Person_Or_Institution_Symbol *person_or_institution_symbol;
01230 ILL_Name_Of_Person_Or_Institution *name_of_person_or_institution;
01231 };
01232
01233 struct ILL_Third_Party_Info_Type {
01234 Odr_bool *permission_to_forward;
01235 Odr_bool *permission_to_chain;
01236 Odr_bool *permission_to_partition;
01237 Odr_bool *permission_to_change_send_to_list;
01238 ILL_System_Address *initial_requester_address;
01239 #define ILL_Third_Party_Info_Type_ordered 1
01240 #define ILL_Third_Party_Info_Type_unordered 2
01241 Odr_int *preference;
01242 ILL_Send_To_List_Type *send_to_list;
01243 ILL_Already_Tried_List_Type *already_tried_list;
01244 };
01245
01246 struct ILL_Transaction_Id {
01247 ILL_System_Id *initial_requester_id;
01248 ILL_String *transaction_group_qualifier;
01249 ILL_String *transaction_qualifier;
01250 ILL_String *sub_transaction_qualifier;
01251 };
01252
01253 #define ILL_Transaction_Id_Problem_duplicate_transaction_id 1
01254 #define ILL_Transaction_Id_Problem_invalid_transaction_id 2
01255 #define ILL_Transaction_Id_Problem_unknown_transaction_id 3
01256
01257 #define ILL_Transaction_Results_conditional 1
01258 #define ILL_Transaction_Results_retry 2
01259 #define ILL_Transaction_Results_unfilled 3
01260 #define ILL_Transaction_Results_locations_provided 4
01261 #define ILL_Transaction_Results_will_supply 5
01262 #define ILL_Transaction_Results_hold_placed 6
01263 #define ILL_Transaction_Results_estimate 7
01264
01265 #define ILL_Transaction_Type_simple 1
01266 #define ILL_Transaction_Type_chained 2
01267 #define ILL_Transaction_Type_partitioned 3
01268
01269
01270
01271 #define ILL_Unable_To_Perform_not_available 1
01272 #define ILL_Unable_To_Perform_resource_limitation 2
01273 #define ILL_Unable_To_Perform_other 3
01274
01275 struct ILL_Unfilled_Results {
01276 ILL_Reason_Unfilled *reason_unfilled;
01277 int num_locations;
01278 ILL_Location_Info **locations;
01279 };
01280
01281 struct ILL_Units_Per_Medium_Type {
01282 ILL_Supply_Medium_Type *medium;
01283 Odr_int *no_of_units;
01284 };
01285
01286 struct ILL_User_Error_Report {
01287 int which;
01288 union {
01289 ILL_Already_Forwarded *already_forwarded;
01290 ILL_Intermediary_Problem *intermediary_problem;
01291 ILL_Security_Problem *security_problem;
01292 ILL_Unable_To_Perform *unable_to_perform;
01293 #define ILL_User_Error_Report_already_forwarded 1
01294 #define ILL_User_Error_Report_intermediary_problem 2
01295 #define ILL_User_Error_Report_security_problem 3
01296 #define ILL_User_Error_Report_unable_to_perform 4
01297 } u;
01298 };
01299
01300 struct ILL_Will_Supply_Results {
01301 #define ILL_Will_Supply_Results_in_use_on_loan 1
01302 #define ILL_Will_Supply_Results_in_process 2
01303 #define ILL_Will_Supply_Results_on_order 6
01304 #define ILL_Will_Supply_Results_at_bindery 8
01305 #define ILL_Will_Supply_Results_on_hold 19
01306 #define ILL_Will_Supply_Results_being_processed_for_supply 26
01307 #define ILL_Will_Supply_Results_other 27
01308 #define ILL_Will_Supply_Results_responder_specific 28
01309 #define ILL_Will_Supply_Results_electronic_delivery 30
01310 Odr_int *reason_will_supply;
01311 ILL_ISO_Date *supply_date;
01312 ILL_Postal_Address *return_to_address;
01313 int num_locations;
01314 ILL_Location_Info **locations;
01315 ILL_Electronic_Delivery_Service *electronic_delivery_service;
01316 };
01317
01318
01319
01320 #ifdef __cplusplus
01321 }
01322 #endif
01323
01324 #ifdef __cplusplus
01325 extern "C" {
01326 #endif
01327
01328 #ifdef __cplusplus
01329 }
01330 #endif
01331
01332 #endif