Initial commit
[yaz4j-moved-to-github.git] / dependencies / yaz-2.1.28 / include / yaz / z-estask.h
1 /** \file z-estask.h
2     \brief ASN.1 Module RecordSyntax-ESTaskPackage
3
4     Generated automatically by YAZ ASN.1 Compiler 0.4
5 */
6
7 #ifndef z_estask_H
8 #define z_estask_H
9
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 typedef struct Z_TaskPackage Z_TaskPackage;
17 YAZ_EXPORT int z_TaskPackage (ODR o, Z_TaskPackage **p, int opt, const char *name);
18 #ifdef __cplusplus
19 }
20 #endif
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 struct Z_TaskPackage {
25         Odr_oid *packageType;
26         Z_InternationalString *packageName; /* OPT */
27         Z_InternationalString *userId; /* OPT */
28         Z_IntUnit *retentionTime; /* OPT */
29         Z_Permissions *permissions; /* OPT */
30         Z_InternationalString *description; /* OPT */
31         Odr_oct *targetReference; /* OPT */
32         char *creationDateTime; /* OPT */
33 #define Z_TaskPackage_pending 0
34 #define Z_TaskPackage_active 1
35 #define Z_TaskPackage_complete 2
36 #define Z_TaskPackage_aborted 3
37         int *taskStatus;
38         int num_packageDiagnostics;
39         Z_DiagRec **packageDiagnostics; /* OPT */
40         Z_External *taskSpecificParameters;
41 };
42
43 #ifdef __cplusplus
44 }
45 #endif
46 #endif