You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1010 B
40 lines
1010 B
5 years ago
|
////////////////////////////////////////////////////////////////////////////////
|
||
4 years ago
|
/// \file webfuse/mountpoint_factory.h
|
||
5 years ago
|
/// \brief Defines a factory function to create mointpoints.
|
||
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
4 years ago
|
#ifndef WF_MOUNTPOINT_FACTORY_H
|
||
|
#define WF_MOUNTPOINT_FACTORY_H
|
||
5 years ago
|
|
||
4 years ago
|
#include <webfuse/api.h>
|
||
5 years ago
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
struct wf_mountpoint;
|
||
|
|
||
5 years ago
|
//------------------------------------------------------------------------------
|
||
|
/// \brief Factory function to create mountpoints.
|
||
|
///
|
||
|
/// \param filesystem name the filesystem
|
||
|
/// \param user_data context of the factory
|
||
|
/// \return newly created mountpoint or NULL, on error
|
||
|
///
|
||
|
/// \see wf_server_config_set_mountpoint_factory
|
||
5 years ago
|
/// \see wf_server_protocol_create
|
||
5 years ago
|
//------------------------------------------------------------------------------
|
||
5 years ago
|
typedef struct wf_mountpoint *
|
||
|
wf_create_mountpoint_fn(
|
||
|
char const * filesystem,
|
||
|
void * user_data);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#endif
|