#ifndef VSERVER_H
#define VSERVER_H
#include <ucx/string.h>
#include "../util/object.h"
#include "../public/nsapi.h"
#include "../daemon/acldata.h"
#include "log.h"
#ifdef __cplusplus
extern "C" {
#endif
struct VirtualServer {
sstr_t name;
sstr_t host;
sstr_t objectfile;
HTTPObjectConfig *objects;
sstr_t document_root;
ACLData *acls;
AccessLog *log;
uint32_t ref;
};
VirtualServer* vs_new();
VirtualServer* vs_copy(VirtualServer *vs,
pool_handle_t *pool);
#ifdef __cplusplus
}
#endif
#endif