--- a/libidav/webdav.h Sat Jun 27 18:01:16 2026 +0200 +++ b/libidav/webdav.h Sat Jun 27 18:13:47 2026 +0200 @@ -317,6 +317,7 @@ void* dav_session_realloc(DavSession *sn, void *ptr, size_t size); void dav_session_free(DavSession *sn, void *ptr); char* dav_session_strdup(DavSession *sn, const char *str); +void dav_session_reg_destructor(DavSession *sn, void *data, cx_destructor_func destr); void dav_set_effective_href(DavSession *sn, DavResource *resource); DavResource* dav_get(DavSession *sn, char *path, const char *properties);