Added ill_get_APDU and ill_get_Cancel.
[yaz-moved-to-github.git] / include / yaz / oid.h
index efd18ed..40d8d2f 100644 (file)
@@ -23,7 +23,7 @@
  * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  * OF THIS SOFTWARE.
  *
- * $Id: oid.h,v 1.4 2000-01-10 15:16:53 adam Exp $
+ * $Id: oid.h,v 1.7 2000-10-02 13:58:50 adam Exp $
  */
 
 #ifndef OID_H
@@ -31,9 +31,7 @@
 
 #include <yaz/yconfig.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+YAZ_BEGIN_CDECL
 
 #define OID_SIZE 20
     
@@ -168,6 +166,9 @@ typedef enum oid_value
     VAL_SIGLEMARC,
     VAL_ISDSMARC,
     VAL_RUSMARC,
+    VAL_ADMINSERVICE,
+    VAL_HOLDINGS,
+    VAL_HUNMARC,
 /* add new types here... */
 
 /* VAL_DYNAMIC must have highest value */
@@ -199,8 +200,6 @@ YAZ_EXPORT struct oident *oid_addent (int *oid, enum oid_proto proto,
 YAZ_EXPORT void oid_init(void);
 YAZ_EXPORT void oid_exit(void);
 
-#ifdef __cplusplus
-}
-#endif
+YAZ_END_CDECL
 
 #endif