372:1d2538a1ba8f | 373:f78a585e1a2f |
---|---|
44 | 44 |
45 #ifdef __cplusplus | 45 #ifdef __cplusplus |
46 extern "C" { | 46 extern "C" { |
47 #endif | 47 #endif |
48 | 48 |
49 typedef struct { | |
50 char *table; | |
51 WSBool isused; | |
52 } PgExtTable; | |
53 | |
49 typedef struct PgRepository { | 54 typedef struct PgRepository { |
50 int64_t root_resource_id; | 55 int64_t root_resource_id; |
51 sstr_t resourcepool; | 56 sstr_t resourcepool; |
57 PgExtTable *tables; | |
58 size_t ntables; | |
59 UcxMap *prop_ext; | |
52 } PgRepository; | 60 } PgRepository; |
61 | |
62 typedef struct { | |
63 char *column; | |
64 char *ns; | |
65 char *name; | |
66 int tableindex; | |
67 } PgPropertyStoreExt; | |
68 | |
69 typedef struct { | |
70 UcxMap *table_lookup; | |
71 UcxList *tables; | |
72 } PgExtParser; | |
53 | 73 |
54 PgRepository* pg_init_repo(ServerConfiguration *cfg, pool_handle_t *pool, WSConfigNode *config); | 74 PgRepository* pg_init_repo(ServerConfiguration *cfg, pool_handle_t *pool, WSConfigNode *config); |
55 | 75 |
56 #ifdef __cplusplus | 76 #ifdef __cplusplus |
57 } | 77 } |