X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsru-p.h;h=b10b858e32a44220b1fe1cdb6bec7200582a0273;hp=1458d8ec969ddbee0349c75c8e26cc6c41fb3003;hb=1346b30779b120691e4145a3578716f77300951e;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/src/sru-p.h b/src/sru-p.h index 1458d8e..b10b858 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: @@ -34,6 +34,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_attribute_create(ODR o, const char *name); + +#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: * c-basic-offset: 4