1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

moved wf_url to core

This commit is contained in:
Falk Werner
2020-06-11 19:12:07 +02:00
parent 06a24e09da
commit f2bbebd670
9 changed files with 86 additions and 60 deletions

View File

@@ -85,14 +85,14 @@ void
wf_impl_client_service(
struct wf_client * client)
{
(void) client;
lws_service(client->context, 0);
}
void
wf_impl_client_interrupt(
struct wf_client * client)
{
(void) client;
lws_cancel_service(client->context);
}
void

View File

@@ -53,3 +53,18 @@ wf_impl_client_protocol_init_lws(
lws_protocol->per_session_data_size = 0;
lws_protocol->user = protocol;
}
void
wf_impl_client_protocol_connect(
struct wf_client_protocol * protocol,
char const * url)
{
}
void
wf_impl_client_protocol_disconnect(
struct wf_client_protocol * protocol)
{
}

View File

@@ -43,6 +43,15 @@ wf_impl_client_protocol_init_lws(
struct wf_client_protocol * protocol,
struct lws_protocols * lws_protocol);
extern void
wf_impl_client_protocol_connect(
struct wf_client_protocol * protocol,
char const * url);
extern void
wf_impl_client_protocol_disconnect(
struct wf_client_protocol * protocol);
#ifdef __cplusplus
}
#endif

View File

@@ -1,4 +1,6 @@
#include "webfuse/adapter/impl/client_tlsconfig.h"
#include "webfuse/core/url.h"
#include <stdlib.h>
#include <string.h>