Changed the way implementationName - and version is set.
[yaz-moved-to-github.git] / include / prt-ext.h
index 63c38f2..7ae8da2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995-1998, Index Data.
+ * Copyright (c) 1995-1999, Index Data.
  *
  * Permission to use, copy, modify, distribute, and sell this software and
  * its documentation, in whole or in part, for any purpose, is hereby granted,
@@ -33,6 +33,7 @@
 #define PRT_EXT_H
 
 #include <yconfig.h>
+#include <oid.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -103,8 +104,10 @@ struct Z_External
     } u;
 };
 
-YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt);
+YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt, const char *name);
 YAZ_EXPORT Z_ext_typeent *z_ext_getentbyref(oid_value val);
+YAZ_EXPORT Z_External *z_ext_record(ODR o, int format, const char *buf,
+                                   int len);
 
 #ifdef __cplusplus
 }