/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data.
+ * Copyright (C) Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
char *srw_version;
char *username; /* From HTTP header or request */
char *password; /* From HTTP header or request */
- Z_SRW_extra_arg *extra_args; /* extraRequestData SRU GET/POST */
+
+ /* 1. SRU extraRequestData x-name=value for requests encoding */
+ /* 2. SRU extraRequestData x-name=value for requests decoding */
+ /* 3. SRU echoed data for response encoding */
+ Z_SRW_extra_arg *extra_args;
+
char *extraResponseData_buf;
int extraResponseData_len;
} Z_SRW_PDU;
void *client_data, const char *ns);
YAZ_EXPORT Z_SRW_PDU *yaz_srw_get_core_v_2_0(ODR o);
YAZ_EXPORT Z_SRW_PDU *yaz_srw_get_pdu(ODR o, int which, const char *version);
+YAZ_EXPORT Z_SRW_PDU *yaz_srw_get_pdu_e(ODR o, int which, Z_SRW_PDU *req);
YAZ_EXPORT Z_SRW_PDU *yaz_srw_get(ODR o, int which);
YAZ_EXPORT Z_SRW_recordVersion *yaz_srw_get_record_versions(ODR o, int num);
YAZ_EXPORT Z_SRW_extra_record *yaz_srw_get_extra_record(ODR o);