X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fotherinfo.h;fp=include%2Fyaz%2Fotherinfo.h;h=69ce34126aaa50cff83b6f1f3ea4877bac139a5c;hp=7a4c1abde6ecc63174c35f39913671a3d0426da8;hb=aa29dbf34d5bb3cbf5b26ee3adfbaf9f9b4f3c67;hpb=4293b4d2f870120406df23706cc1fb5da9aa69af diff --git a/include/yaz/otherinfo.h b/include/yaz/otherinfo.h index 7a4c1ab..69ce341 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.10 2007-04-12 17:50:26 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 ( + +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 ( - Z_OtherInformation **otherInformation, ODR odr, - int oidval, int categoryValue, - const char *str); -#endif -YAZ_EXPORT char *yaz_oi_get_string_oid ( +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( - Z_OtherInformation **otherInformation, - int oidval, int categoryValue, int delete_flag); -#endif YAZ_END_CDECL