/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License (the "Licence").
 * You may not use this file except in compliance with the Licence.
 *
 * You can obtain a copy of the licence at RISC OS path @.^.LICENCE
 * or http://www.riscosdev.com/lanman98/LICENCE.CDDL
 * See the Licence for the specific language governing permissions
 * and limitations under the Licence.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the Licence file.
 *
 * CDDL HEADER END
 *
 * Portions Copyright 2026 RISC OS Developments
 * SPDX-License-Identifier: CDDL-1.0
 */
#ifndef LM98_WEBDAV_H
#define LM98_WEBDAV_H
#include "smb.h"
int WebDAVAddress(const char *);
char *WebDAVMountURL(const char *, const char *);
void WebDAVConfigure(smb_server_t, const char *, const char *, const char *);
void WebDAVMounted(smb_server_t);
void WebDAVDisconnect(smb_server_t);
void WebDAVCheck(smb_server_t);
smb_obj_t WebDAVMake(smb_obj_t, char *, int);
void WebDAVRename(smb_obj_t, char *);
void WebDAVMove(smb_obj_t, smb_obj_t);
void WebDAVDelete(smb_obj_t);
void *WebDAVOpen(smb_obj_t, int);
void WebDAVClose(void *);
void WebDAVCancel(void *);
void WebDAVRead(void *, int, int, void *);
void WebDAVWrite(const void *, int, int, void *);
void WebDAVExtent(void *, int);
char *WebDAVNameToUTF8(const char *);
char *WebDAVNameFromUTF8(const char *);
#endif
