--- a/src/server/plugins/postgresql/webdav.h Wed Nov 02 19:19:01 2022 +0100 +++ b/src/server/plugins/postgresql/webdav.h Sun Nov 06 15:53:32 2022 +0100 @@ -35,7 +35,7 @@ #include "config.h" #include <libpq-fe.h> -#include <ucx/buffer.h> +#include <cx/buffer.h> #ifdef __cplusplus extern "C" { @@ -71,14 +71,18 @@ int nrows; } PgPropfind; -typedef struct { +typedef struct PgProppatchExtProp PgProppatchExtProp; +struct PgProppatchExtProp { PgPropertyStoreExt *column; WebdavProperty *property; -} PgProppatchExtProp; + PgProppatchExtProp *next; +}; typedef struct { - UcxList *set; /* list of PgProppatchExtProp* */ - UcxList *remove; /* list of PgProppatchExtProp* */ + PgProppatchExtProp *set_begin; + PgProppatchExtProp *set_end; + PgProppatchExtProp *remove_begin; + PgProppatchExtProp *remove_end; WSBool isused; } PgProppatchExt; @@ -95,7 +99,7 @@ WebdavBackend* pg_webdav_prop_create(Session *sn, Request *rq, pblock *pb); -int pg_create_property_param_arrays(WebdavPList *plist, UcxBuffer *xmlns, UcxBuffer *pname); +int pg_create_property_param_arrays(WebdavPList *plist, CxBuffer *xmlns, CxBuffer *pname); /* ----------------- webdav backend functions ----------------- */ int pg_dav_propfind_init(