X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Foid.h;h=0e745ecf4dcdd67f18080d6bc804534bda16425a;hp=45fcd764fee48f3fdb2a5ce3666243980d312620;hb=506058d7a9f17fcc88f899d92476fe59cc09bdfb;hpb=dc8023116d26e0999aa8a2cc4372baae55f28adb diff --git a/include/yaz/oid.h b/include/yaz/oid.h index 45fcd76..0e745ec 100644 --- a/include/yaz/oid.h +++ b/include/yaz/oid.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: oid.h,v 1.8 2001-10-29 09:16:27 adam Exp $ + * $Id: oid.h,v 1.9 2002-01-29 13:47:33 adam Exp $ */ #ifndef OID_H @@ -223,6 +223,10 @@ YAZ_EXPORT void oid_setprivateoids(oident *list); YAZ_EXPORT struct oident *oid_addent (int *oid, enum oid_proto proto, enum oid_class oclass, const char *desc, int value); + +YAZ_EXPORT void oid_trav (void (*func)(struct oident *oidinfo, void *vp), + void *vp); + YAZ_EXPORT void oid_init(void); YAZ_EXPORT void oid_exit(void);