Added compiled ASN.1 C files.
[yaz-moved-to-github.git] / include / yaz / z-estask.h
diff --git a/include/yaz/z-estask.h b/include/yaz/z-estask.h
new file mode 100644 (file)
index 0000000..d1937ef
--- /dev/null
@@ -0,0 +1,43 @@
+/* YC 0.2: Tue Feb 29 16:45:07 CET 2000 */
+/* Module-H RecordSyntax-ESTaskPackage */
+
+#ifndef z_estask_H
+#define z_estask_H
+
+#include <yaz/odr.h>
+#include <yaz/z-core.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct Z_TaskPackage Z_TaskPackage;
+YAZ_EXPORT int z_TaskPackage (ODR o, Z_TaskPackage **p, int opt, const char *name);
+#ifdef __cplusplus
+}
+#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+struct Z_TaskPackage {
+       Odr_oid *packageType;
+       Z_InternationalString *packageName; /* OPT */
+       Z_InternationalString *userId; /* OPT */
+       Z_IntUnit *retentionTime; /* OPT */
+       Z_Permissions *permissions; /* OPT */
+       Z_InternationalString *description; /* OPT */
+       Odr_oct *targetReference; /* OPT */
+       char *creationDateTime; /* OPT */
+#define Z_TaskPackage_pending 0
+#define Z_TaskPackage_active 1
+#define Z_TaskPackage_complete 2
+#define Z_TaskPackage_aborted 3
+       int *taskStatus;
+       int num_packageDiagnostics;
+       Z_DiagRec **packageDiagnostics; /* OPT */
+       Z_External *taskSpecificParameters;
+};
+
+#ifdef __cplusplus
+}
+#endif
+#endif