X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Foid_util.h;h=3dafc0d9743a6bd8e82e74a1db2b58544472411a;hp=d0b85b625d33ec13409abe413f21e65ecd4e8cc9;hb=be821514c869d68186361b5aab6bbfd1aa60e087;hpb=aa29dbf34d5bb3cbf5b26ee3adfbaf9f9b4f3c67 diff --git a/include/yaz/oid_util.h b/include/yaz/oid_util.h index d0b85b6..3dafc0d 100644 --- a/include/yaz/oid_util.h +++ b/include/yaz/oid_util.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: oid_util.h,v 1.1 2007-04-12 13:52:57 adam Exp $ */ +/* $Id: oid_util.h,v 1.2 2007-04-12 20:47:27 adam Exp $ */ /** * \file oid_util.h @@ -79,7 +79,9 @@ YAZ_EXPORT void oid_oidcpy(int *t, const int *s); YAZ_EXPORT void oid_oidcat(int *t, const int *s); YAZ_EXPORT int oid_oidcmp(const int *o1, const int *o2); YAZ_EXPORT int oid_oidlen(const int *o); -YAZ_EXPORT char *oid_to_dotstring(const int *oid, char *oidbuf); +YAZ_EXPORT char *oid_oid_to_dotstring(const int *oid, char *oidbuf); +YAZ_EXPORT int oid_dotstring_to_oid(const char *name, int *oid); + YAZ_END_CDECL #endif