Updated makefiles (again).
[yaz-moved-to-github.git] / include / yaz / item-req.h
1 /* YC 0.2: Wed Mar 01 10:28:17 CET 2000 */
2 /* Module-H Z39.50-extendedService-ItemOrder-ItemRequest-1 */
3
4 #ifndef item_req_H
5 #define item_req_H
6
7 #include <yaz/odr.h>
8 #include <yaz/ill-core.h>
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 typedef struct ILL_ItemRequest ILL_ItemRequest;
14 YAZ_EXPORT int ill_ItemRequest (ODR o, ILL_ItemRequest **p, int opt, const char *name);
15 #ifdef __cplusplus
16 }
17 #endif
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 struct ILL_ItemRequest {
22 #define ILL_ItemRequest_version_1 1
23 #define ILL_ItemRequest_version_2 2
24         int *protocol_version_num;
25         ILL_Transaction_Id *transaction_id; /* OPT */
26         ILL_Service_Date_Time *service_date_time; /* OPT */
27         ILL_System_Id *requester_id; /* OPT */
28         ILL_System_Id *responder_id; /* OPT */
29         ILL_Transaction_Type *transaction_type;
30         ILL_Delivery_Address *delivery_address; /* OPT */
31         ILL_Delivery_Service *delivery_service; /* OPT */
32         ILL_Delivery_Address *billing_address; /* OPT */
33         int num_iLL_service_type;
34         ILL_Service_Type **iLL_service_type; /* OPT */
35         Odr_external *responder_specific_service; /* OPT */
36         ILL_Requester_Optional_Messages_Type *requester_optional_messages; /* OPT */
37         ILL_Search_Type *search_type; /* OPT */
38         int num_supply_medium_info_type;
39         ILL_Supply_Medium_Info_Type **supply_medium_info_type; /* OPT */
40         ILL_Place_On_Hold_Type *place_on_hold;
41         ILL_Client_Id *client_id; /* OPT */
42         ILL_Item_Id *item_id; /* OPT */
43         ILL_Supplemental_Item_Description *supplemental_item_description; /* OPT */
44         ILL_Cost_Info_Type *cost_info_type; /* OPT */
45         ILL_String *copyright_compliance; /* OPT */
46         ILL_Third_Party_Info_Type *third_party_info_type; /* OPT */
47         bool_t *retry_flag;
48         bool_t *forward_flag;
49         ILL_String *requester_note; /* OPT */
50         ILL_String *forward_note; /* OPT */
51         int num_iLL_request_extensions;
52         ILL_Extension **iLL_request_extensions; /* OPT */
53 };
54
55 #ifdef __cplusplus
56 }
57 #endif
58 #endif