12 */ |
12 */ |
13 |
13 |
14 #ifndef PGTEST_H |
14 #ifndef PGTEST_H |
15 #define PGTEST_H |
15 #define PGTEST_H |
16 |
16 |
17 #include <ucx/test.h> |
17 #include "../../test/test.h" |
18 #include <ucx/map.h> |
18 #include <cx/map.h> |
|
19 #include <cx/basic_mempool.h> |
19 #include <libxml/tree.h> |
20 #include <libxml/tree.h> |
20 |
21 |
21 #ifdef __cplusplus |
22 #ifdef __cplusplus |
22 extern "C" { |
23 extern "C" { |
23 #endif |
24 #endif |
24 |
25 |
25 typedef struct TestMultistatus { |
26 typedef struct TestMultistatus { |
26 UcxMempool *mp; |
27 CxMempool *mp; |
27 xmlDoc *doc; |
28 xmlDoc *doc; |
28 UcxMap *responses; |
29 CxMap *responses; |
29 } TestMultistatus; |
30 } TestMultistatus; |
30 |
31 |
31 typedef struct TestResponse { |
32 typedef struct TestResponse { |
32 char *href; |
33 char *href; |
33 UcxMap *properties; |
34 CxMap *properties; |
34 } TestResponse; |
35 } TestResponse; |
35 |
36 |
36 typedef struct TestProperty { |
37 typedef struct TestProperty { |
37 char *prefix; |
38 char *prefix; |
38 char *namespace; |
39 char *namespace; |