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

renamed function: wf_impl_server_protocol_create2 to ..create: remove of uuid mountpoint was already API breaking

This commit is contained in:
Falk Werner
2020-03-21 09:18:04 +01:00
parent 43c989e7af
commit 425e017bc4
5 changed files with 6 additions and 17 deletions

View File

@@ -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(

View File

@@ -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);