mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
renamed function: wf_impl_server_protocol_create2 to ..create: remove of uuid mountpoint was already API breaking
This commit is contained in:
parent
43c989e7af
commit
425e017bc4
@ -23,7 +23,7 @@ struct wf_mountpoint;
|
||||
/// \return newly created mountpoint or NULL, on error
|
||||
///
|
||||
/// \see wf_server_config_set_mountpoint_factory
|
||||
/// \see wf_server_protocol_create2
|
||||
/// \see wf_server_protocol_create
|
||||
//------------------------------------------------------------------------------
|
||||
typedef struct wf_mountpoint *
|
||||
wf_create_mountpoint_fn(
|
||||
|
@ -32,17 +32,6 @@ struct wf_server_protocol;
|
||||
//------------------------------------------------------------------------------
|
||||
struct lws_protocols;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// \brief Creates a new protocol with a given mounpoint.
|
||||
/// \deprecated This function will be removed soon. Use \ref
|
||||
/// wf_server_protocol_create2 instead.
|
||||
///
|
||||
/// \param mount_point root path of UUID-based file system.
|
||||
/// \return newly created protocol
|
||||
//------------------------------------------------------------------------------
|
||||
extern WF_API struct wf_server_protocol * wf_server_protocol_create(
|
||||
char * mount_point);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// \brief Creates a new protocol by a mountpoint factory.
|
||||
///
|
||||
@ -53,7 +42,7 @@ extern WF_API struct wf_server_protocol * wf_server_protocol_create(
|
||||
/// \param create_mountpoint factory function to create mountpoints
|
||||
/// \param create_mountpoint_context context of mountpoint factory
|
||||
//------------------------------------------------------------------------------
|
||||
extern WF_API struct wf_server_protocol * wf_server_protocol_create2(
|
||||
extern WF_API struct wf_server_protocol * wf_server_protocol_create(
|
||||
wf_create_mountpoint_fn * create_mountpoint,
|
||||
void * create_mountpoint_context);
|
||||
|
||||
|
@ -38,11 +38,11 @@ void wf_server_interrupt(
|
||||
|
||||
// server protocol
|
||||
|
||||
struct wf_server_protocol * wf_server_protocol_create2(
|
||||
struct wf_server_protocol * wf_server_protocol_create(
|
||||
wf_create_mountpoint_fn * create_mountpoint,
|
||||
void * create_mountpoint_context)
|
||||
{
|
||||
return wf_impl_server_protocol_create2(create_mountpoint, create_mountpoint_context);
|
||||
return wf_impl_server_protocol_create(create_mountpoint, create_mountpoint_context);
|
||||
}
|
||||
|
||||
void wf_server_protocol_dispose(
|
||||
|
@ -80,7 +80,7 @@ static int wf_impl_server_protocol_callback(
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct wf_server_protocol * wf_impl_server_protocol_create2(
|
||||
struct wf_server_protocol * wf_impl_server_protocol_create(
|
||||
wf_create_mountpoint_fn * create_mountpoint,
|
||||
void * create_mountpoint_context)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ extern void wf_impl_server_protocol_init(
|
||||
extern void wf_impl_server_protocol_cleanup(
|
||||
struct wf_server_protocol * protocol);
|
||||
|
||||
extern WF_API struct wf_server_protocol * wf_impl_server_protocol_create2(
|
||||
extern WF_API struct wf_server_protocol * wf_impl_server_protocol_create(
|
||||
wf_create_mountpoint_fn * create_mountpoint,
|
||||
void * create_mountpoint_context);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user