+ILL_String *ill_get_ILL_String (ODR o, const char *str)
+{
+ ILL_String *r = (ILL_String *) odr_malloc (o, sizeof(*r));
+
+ r->which = ILL_String_GeneralString;
+ r->u.GeneralString = odr_strdup (o, str);
+ return r;
+}
+
+ILL_Transaction_Id *ill_get_Transaction_Id (ODR o)
+{
+ ILL_Transaction_Id *r = (ILL_Transaction_Id *) odr_malloc (o, sizeof(*r));
+
+ r->initial_requester_id = 0;
+ r->transaction_group_qualifier = ill_get_ILL_String (o, "group");
+ r->transaction_qualifier = ill_get_ILL_String (o, "qual");
+ r->sub_transaction_qualifier = 0;
+ return r;
+}
+
+
+ILL_Service_Date_this *ill_get_Service_Date_this (ODR o)
+{
+ ILL_Service_Date_this *r =
+ (ILL_Service_Date_this *) odr_malloc (o, sizeof(*r));
+ r->date = odr_strdup (o, "14012000");
+ r->time = 0;
+ return r;
+}
+
+ILL_Service_Date_Time *ill_get_Service_Date_Time (ODR o)
+{
+ ILL_Service_Date_Time *r =
+ (ILL_Service_Date_Time *) odr_malloc (o, sizeof(*r));
+ r->date_time_of_this_service = ill_get_Service_Date_this (o);
+ r->date_time_of_original_service = 0;
+ return r;
+}
+
+ILL_Transaction_Type *ill_get_Transaction_Type (ODR o)
+{
+ ILL_Transaction_Type *r =
+ (ILL_Transaction_Type *) odr_malloc (o, sizeof(*r));
+ *r = 1;
+ return r;
+}
+
+
+bool_t *ill_get_bool (ODR o, int val)
+{
+ bool_t *r = odr_malloc (o, sizeof(*r));
+ *r = val;
+ return r;
+}
+
+int *ill_get_enumerated (ODR o, int val)
+{
+ int *r = odr_malloc (o, sizeof(*r));
+ *r = val;
+ return r;
+}
+
+int *ill_get_int (ODR o, int val)
+{
+ return ill_get_enumerated (o, val);
+}
+
+
+ILL_Requester_Optional_Messages_Type *ill_get_Requester_Optional_Messages_Type (ODR o)
+{
+ ILL_Requester_Optional_Messages_Type *r =
+ (ILL_Requester_Optional_Messages_Type *) odr_malloc (o, sizeof(*r));
+ r->can_send_RECEIVED = ill_get_bool (o, 0);
+ r->can_send_RETURNED = ill_get_bool (o, 0);
+ r->requester_SHIPPED =
+ ill_get_enumerated (o, ILL_Requester_Optional_Messages_Type_requires);
+ r->requester_CHECKED_IN =
+ ill_get_enumerated (o, ILL_Requester_Optional_Messages_Type_requires);
+ return r;
+}
+
+ILL_Item_Id *ill_get_Item_Id (ODR o)
+{
+ ILL_Item_Id *r = (ILL_Item_Id *) odr_malloc (o, sizeof(*r));
+
+ r->item_type = ill_get_enumerated (o, ILL_Item_Id_monograph);
+ r->held_medium_type = 0;
+ r->call_number = 0;
+ r->author = 0;
+ r->title = 0;
+ r->sub_title = 0;
+ r->sponsoring_body = 0;
+ r->place_of_publication = 0;
+ r->publisher = 0;
+ r->series_title_number = 0;
+ r->volume_issue = 0;
+ r->edition = 0;
+ r->publication_date = 0;
+ r->publication_date_of_component = 0;
+ r->author_of_article = 0;
+ r->title_of_article = 0;
+ r->pagination = 0;
+ r->national_bibliography_no = 0;
+ r->iSBN = 0;
+ r->iSSN = 0;
+ r->system_no = 0;
+ r->additional_no_letters = 0;
+ r->verification_reference_source = 0;
+ return r;
+}
+