X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fotherinfo.h;h=ed41c9117520ab978672266c23131144c4197d6c;hb=bab540a6816b1ae07a834075e0c71d0f160565e4;hp=7a4c1abde6ecc63174c35f39913671a3d0426da8;hpb=7a4064cd15f6c6b34c1180e1bc51f0d0e90da320;p=yaz-moved-to-github.git diff --git a/include/yaz/otherinfo.h b/include/yaz/otherinfo.h index 7a4c1ab..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.9 2007-04-12 13:52:57 adam Exp $ */ +/* $Id: otherinfo.h,v 1.11 2007-05-08 08:22:35 adam Exp $ */ /** * \file otherinfo.h @@ -37,29 +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, - const int *oid, int categoryValue, int delete_flag); -YAZ_EXPORT void yaz_oi_set_string_oid ( - Z_OtherInformation **otherInformation, ODR odr, - const int *oid, int categoryValue, - const char *str); -#ifndef NO_OID -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); -#endif -YAZ_EXPORT char *yaz_oi_get_string_oid ( - Z_OtherInformation **otherInformation, - const int *oid, int categoryValue, int delete_flag); -#ifndef NO_OID -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); -#endif + const Odr_oid *oid, int categoryValue, int delete_flag); YAZ_END_CDECL