Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
[yaz-moved-to-github.git] / include / yaz / otherinfo.h
1 /*
2  * Copyright (c) 1999, Index Data
3  * See the file LICENSE for details.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Id: otherinfo.h,v 1.2 2000-02-28 11:20:06 adam Exp $
7  */
8 #ifndef OTHERINFO_H
9 #define OTHERINFO_H
10
11 #include <yaz/proto.h>
12
13 YAZ_BEGIN_CDECL
14
15 YAZ_EXPORT void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip);
16 YAZ_EXPORT    Z_OtherInformationUnit *yaz_oi_update (
17     Z_OtherInformation **otherInformationP, ODR odr,
18     int *oid, int categoryValue, int delete_flag);
19 YAZ_EXPORT void yaz_oi_set_string_oid (
20     Z_OtherInformation **otherInformation, ODR odr,
21     int *oid, int categoryValue,
22     const char *str);
23 YAZ_EXPORT void yaz_oi_set_string_oidval (
24     Z_OtherInformation **otherInformation, ODR odr,
25     int oidval, int categoryValue,
26     const char *str);
27 YAZ_EXPORT char *yaz_oi_get_string_oid (
28     Z_OtherInformation **otherInformation,
29     int *oid, int categoryValue, int delete_flag);
30 YAZ_EXPORT char *yaz_oi_get_string_oidval(
31     Z_OtherInformation **otherInformation,
32     int oidval, int categoryValue, int delete_flag);
33
34 YAZ_END_CDECL
35
36 #endif