#include <libubus.h>
#include <json-c/json.h>
#endif
+#ifdef HAVE_UCODE
+#include <ucode/vm.h>
+#endif
#ifdef HAVE_TLS
#include <libubox/ustream-ssl.h>
#endif
void *ctx;
};
+#ifdef HAVE_UCODE
+struct ucode_prefix {
+ struct list_head list;
+ const char *handler;
+ const char *prefix;
+ uc_vm_t ctx;
+};
+#endif
+
struct config {
const char *docroot;
const char *realm;
int events_retry;
struct list_head cgi_alias;
struct list_head lua_prefix;
+#ifdef HAVE_UCODE
+ struct list_head ucode_prefix;
+#endif
};
struct auth_realm {