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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "webfuse/adapter/impl/client_tlsconfig.h"
|
||||
#include "webfuse/core/url.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user