X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsru-p.h;h=bf1f15823045c3e6e1c200a35f7c854ec523cde4;hp=7fd57c411ca5dfe1e6154fb3675249a4f456e31b;hb=1fbd038d97d6e1bfe97270ecc17cca123bcc435c;hpb=2ad2651374674c895ad59b267da6fe2d8665fabd diff --git a/src/sru-p.h b/src/sru-p.h index 7fd57c4..bf1f158 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_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