X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsru-p.h;h=7bd27624c520816b4f8c3dfe4391c22756e63e54;hb=b51665819b5685aeeac61d30aee5e66f1af7a4cc;hp=b82094ebd6286ae00c464e3e7ac773a548f942d4;hpb=d71588ed52b5d84fa39a815f8c3893933a96dcbe;p=yaz-moved-to-github.git diff --git a/src/sru-p.h b/src/sru-p.h index b82094e..7bd2762 100644 --- a/src/sru-p.h +++ b/src/sru-p.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data. + * Copyright (C) 1995-2013 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: @@ -35,7 +35,15 @@ void yaz_add_name_value_str(ODR o, char **name, char **value, int *i, void yaz_add_name_value_int(ODR o, char **name, char **value, int *i, char *a_name, Odr_int *val); -Z_AttributeList *yaz_use_atttribute_create(ODR o, const char *name); +Z_AttributeList *yaz_use_attribute_create(ODR o, const char *name); + +char *yaz_negotiate_sru_version(char *input_ver); + +#if YAZ_HAVE_XML2 +#include +#include +const char *yaz_element_attribute_value_get(xmlNodePtr ptr, const char *node_name, const char *attribute_name); +#endif /* * Local variables: