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.
33 lines
1000 B
33 lines
1000 B
5 years ago
|
////////////////////////////////////////////////////////////////////////////////
|
||
4 years ago
|
/// \file webfuse/api.h
|
||
5 years ago
|
/// \brief API define for webfuse adapter.
|
||
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
4 years ago
|
#ifndef WF_API_H
|
||
|
#define WF_API_H
|
||
6 years ago
|
|
||
5 years ago
|
//------------------------------------------------------------------------------
|
||
|
/// \def WF_API
|
||
|
/// \brief Marks public symbols of libwebfuse_adapter.
|
||
|
//------------------------------------------------------------------------------
|
||
6 years ago
|
#ifndef WF_API
|
||
|
#define WF_API
|
||
|
#endif
|
||
|
|
||
5 years ago
|
//------------------------------------------------------------------------------
|
||
|
/// \def WF_EXPORT
|
||
|
/// \brief Marks exported symbols as visible.
|
||
|
///
|
||
|
/// Set WF_API to WF_EXPORT when building libwebfuse_adapter.so to export
|
||
|
/// public symbols.
|
||
|
//------------------------------------------------------------------------------
|
||
6 years ago
|
#ifndef WF_EXPORT
|
||
|
#ifdef __GNUC__
|
||
|
#define WF_EXPORT __attribute__ ((visibility ("default")))
|
||
|
#else
|
||
|
#define WF_EXPORT
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
#endif
|