X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fotherinfo.h;h=ed41c9117520ab978672266c23131144c4197d6c;hb=297aa7b45c3bd88aea2799f6810c8c85bc998f56;hp=045ff6c8b439d7a3c5f48bd6be47af768d5d4395;hpb=8d691989077a0addcbd840d769dce6700f3d9622;p=yaz-moved-to-github.git diff --git a/include/yaz/otherinfo.h b/include/yaz/otherinfo.h index 045ff6c..ed41c91 100644 --- a/include/yaz/otherinfo.h +++ b/include/yaz/otherinfo.h @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: otherinfo.h,v 1.8 2007-01-03 08:42:14 adam Exp $ */ +/* $Id: otherinfo.h,v 1.11 2007-05-08 08:22:35 adam Exp $ */ /** * \file otherinfo.h @@ -37,24 +37,24 @@ YAZ_BEGIN_CDECL -YAZ_EXPORT void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip); -YAZ_EXPORT Z_OtherInformationUnit *yaz_oi_update ( +YAZ_EXPORT +void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip); + +YAZ_EXPORT +Z_OtherInformationUnit *yaz_oi_update ( Z_OtherInformation **otherInformationP, ODR odr, - int *oid, int categoryValue, int delete_flag); -YAZ_EXPORT void yaz_oi_set_string_oid ( - Z_OtherInformation **otherInformation, ODR odr, - int *oid, int categoryValue, - const char *str); -YAZ_EXPORT void yaz_oi_set_string_oidval ( + const Odr_oid *oid, int categoryValue, int delete_flag); + +YAZ_EXPORT +void yaz_oi_set_string_oid ( Z_OtherInformation **otherInformation, ODR odr, - int oidval, int categoryValue, + const Odr_oid *oid, int categoryValue, const char *str); -YAZ_EXPORT char *yaz_oi_get_string_oid ( - Z_OtherInformation **otherInformation, - int *oid, int categoryValue, int delete_flag); -YAZ_EXPORT char *yaz_oi_get_string_oidval( + +YAZ_EXPORT +char *yaz_oi_get_string_oid ( Z_OtherInformation **otherInformation, - int oidval, int categoryValue, int delete_flag); + const Odr_oid *oid, int categoryValue, int delete_flag); YAZ_END_CDECL