X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsru-p.h;h=9cd2597510b46ae5f1dd60e6fadd973633ec1c8c;hb=be199f850bc95c9908259e8c595b154081eadf93;hp=7fd57c411ca5dfe1e6154fb3675249a4f456e31b;hpb=2ad2651374674c895ad59b267da6fe2d8665fabd;p=yaz-moved-to-github.git diff --git a/src/sru-p.h b/src/sru-p.h index 7fd57c4..9cd2597 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-2010 Index Data. + * Copyright (C) 1995-2011 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_atttribute_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