return dst;
}
-Z_AttributeList *yaz_use_atttribute_create(ODR o, const char *name) {
+Z_AttributeList *yaz_use_attribute_create(ODR o, const char *name) {
Z_AttributeList *attributes= (Z_AttributeList *) odr_malloc(o, sizeof(*attributes));
Z_AttributeElement ** elements;
attributes->num_attributes = 1;
}
return 0;
}
-
+#endif
static int yaz_base64decode(const char *in, char *out)
{
*out = '\0';
return olen;
}
-#endif
int yaz_srw_check_content_type(Z_HTTP_Response *hres)
{
* Look for authentication tokens in HTTP Basic parameters or in x-username/x-password
* parameters. Added by SH.
*/
-#if YAZ_HAVE_XML2
static void yaz_srw_decodeauth(Z_SRW_PDU *sr, Z_HTTP_Request *hreq,
char *username, char *password, ODR decode)
{
sr->password = odr_strdup(decode, pbuf);
}
}
-#endif
void yaz_uri_val_int(const char *path, const char *name, ODR o, Odr_int **intp)
{