#ifndef DAV_CONNECT_H
#define DAV_CONNECT_H
#include "config.h"
#include "opt.h"
#ifdef __cplusplus
extern "C" {
#endif
DavSession* connect_to_repo(DavContext *ctx, DavCfgRepository *repo,
const char *path, dav_auth_func authfunc, CmdArgs *a);
int request_auth(DavSession *sn,
void *userdata);
#ifdef __cplusplus
}
#endif
#endif