projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Towards 2.0.4
[yaz-moved-to-github.git]
/
include
/
yaz
/
oid.h
diff --git
a/include/yaz/oid.h
b/include/yaz/oid.h
index
e886945
..
510cc17
100644
(file)
--- 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.
*
* LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*
- * $Id: oid.h,v 1.11 2002-04-12 14:40:20 adam Exp $
+ * $Id: oid.h,v 1.19 2003-09-02 12:12:13 adam Exp $
*/
#ifndef OID_H
*/
#ifndef OID_H
@@
-41,7
+41,8
@@
typedef enum oid_proto
PROTO_Z3950,
PROTO_SR,
PROTO_GENERAL,
PROTO_Z3950,
PROTO_SR,
PROTO_GENERAL,
- PROTO_WAIS
+ PROTO_WAIS,
+ PROTO_HTTP,
} oid_proto;
typedef enum oid_class
} oid_proto;
typedef enum oid_class
@@
-207,6
+208,13
@@
typedef enum oid_value
/* 110 */
VAL_IDXPATH,
/* 110 */
VAL_IDXPATH,
+ VAL_BIB2,
+ VAL_ZEEREX,
+ VAL_CQL,
+ VAL_DBUPDATE1,
+
+ VAL_OCLCUI,
+ VAL_ID_CHARSET,
/* VAL_DYNAMIC must have highest value */
VAL_DYNAMIC,
/* VAL_DYNAMIC must have highest value */
VAL_DYNAMIC,
@@
-240,6
+248,10
@@
YAZ_EXPORT void oid_trav (void (*func)(struct oident *oidinfo, void *vp),
YAZ_EXPORT void oid_init(void);
YAZ_EXPORT void oid_exit(void);
YAZ_EXPORT void oid_init(void);
YAZ_EXPORT void oid_exit(void);
+YAZ_EXPORT int *oid_name_to_oid(oid_class oclass, const char *name, int *oid);
+YAZ_EXPORT char *oid_to_dotstring(const int *oid, char *oidbuf);
+YAZ_EXPORT char *oid_name_to_dotstring(oid_class oclass, const char *name,
+ char *oidbuf);
YAZ_END_CDECL
YAZ_END_CDECL