Bump year
[yaz-moved-to-github.git] / include / yaz / otherinfo.h
1 /*
2  * Copyright (C) 1995-2005, Index Data ApS
3  * See the file LICENSE for details.
4  *
5  * $Id: otherinfo.h,v 1.4 2005-01-15 19:47:09 adam Exp $
6  */
7 /**
8  * \file otherinfo.h
9  * \brief Header for Z39.50 OtherInfo utilities
10  */
11 #ifndef OTHERINFO_H
12 #define OTHERINFO_H
13
14 #include <yaz/proto.h>
15
16 YAZ_BEGIN_CDECL
17
18 YAZ_EXPORT void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip);
19 YAZ_EXPORT    Z_OtherInformationUnit *yaz_oi_update (
20     Z_OtherInformation **otherInformationP, ODR odr,
21     int *oid, int categoryValue, int delete_flag);
22 YAZ_EXPORT void yaz_oi_set_string_oid (
23     Z_OtherInformation **otherInformation, ODR odr,
24     int *oid, int categoryValue,
25     const char *str);
26 YAZ_EXPORT void yaz_oi_set_string_oidval (
27     Z_OtherInformation **otherInformation, ODR odr,
28     int oidval, int categoryValue,
29     const char *str);
30 YAZ_EXPORT char *yaz_oi_get_string_oid (
31     Z_OtherInformation **otherInformation,
32     int *oid, int categoryValue, int delete_flag);
33 YAZ_EXPORT char *yaz_oi_get_string_oidval(
34     Z_OtherInformation **otherInformation,
35     int oidval, int categoryValue, int delete_flag);
36
37 YAZ_END_CDECL
38
39 #endif