2020-02-17 20:53:42 +00:00
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// \file provider/api.h
|
|
|
|
/// \brief API define for webfuse provider.
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-03-26 22:04:53 +00:00
|
|
|
#ifndef WFP_PROVIDER_API_H
|
|
|
|
#define WFP_PROVIDER_API_H
|
|
|
|
|
2020-02-17 20:53:42 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
/// \def WFP_API
|
|
|
|
/// \brief Marks public symbols of libwebfuse_provider.
|
|
|
|
//------------------------------------------------------------------------------
|
2019-03-26 22:04:53 +00:00
|
|
|
#ifndef WFP_API
|
|
|
|
#define WFP_API
|
|
|
|
#endif
|
|
|
|
|
2020-02-17 20:53:42 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
/// \def WFP_EXPORT
|
|
|
|
/// \brief Marks exported symbols as visible.
|
|
|
|
///
|
|
|
|
/// Set WFP_API to WFP_EXPORT when building libwebfuse_provider.so to export
|
|
|
|
/// public symbols.
|
|
|
|
//------------------------------------------------------------------------------
|
2019-03-26 22:04:53 +00:00
|
|
|
#ifndef WFP_EXPORT
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#define WFP_EXPORT __attribute__ ((visibility ("default")))
|
|
|
|
#else
|
|
|
|
#define WFP_EXPORT
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|