mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
refactor: renamed include guard
This commit is contained in:
parent
83b76a1a5a
commit
f9079b4c9b
@ -3,8 +3,8 @@
|
||||
/// \brief API define for webfuse provider.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef WFP_PROVIDER_API_H
|
||||
#define WFP_PROVIDER_API_H
|
||||
#ifndef WFP_API_H
|
||||
#define WFP_API_H
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
/// \def WFP_API
|
||||
|
@ -3,8 +3,8 @@
|
||||
/// \brief Webfuse provider client.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef WFP_PROVIDER_CLIENT_H
|
||||
#define WFP_PROVIDER_CLIENT_H
|
||||
#ifndef WFP_CLIENT_H
|
||||
#define WFP_CLIENT_H
|
||||
|
||||
#include "webfuse_provider/api.h"
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
/// \brief Client configuration of webfuse provider.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef WFP_PROVIDER_CLIENT_CONFIG_H
|
||||
#define WFP_PROVIDER_CLIENT_CONFIG_H
|
||||
#ifndef WFP_CLIENT_CONFIG_H
|
||||
#define WFP_CLIENT_CONFIG_H
|
||||
|
||||
#include <webfuse_provider/api.h>
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
/// libwebsockets applications.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef WFP_PROVIDER_CLIENT_PROTOCOL_H
|
||||
#define WFP_PROVIDER_CLIENT_PROTOCOL_H
|
||||
#ifndef WFP_CLIENT_PROTOCOL_H
|
||||
#define WFP_CLIENT_PROTOCOL_H
|
||||
|
||||
#include "webfuse_provider/api.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_CREDENTIALS_H
|
||||
#define WFP_PROVIDER_CREDENTIALS_H
|
||||
#ifndef WFP_CREDENTIALS_H
|
||||
#define WFP_CREDENTIALS_H
|
||||
|
||||
#include <webfuse_provider/api.h>
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
/// \brief Buffer used for directory listing.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef WFP_PROVIDER_DIRBUFFER_H
|
||||
#define WFP_PROVIDER_DIRBUFFER_H
|
||||
#ifndef WFP_DIRBUFFER_H
|
||||
#define WFP_DIRBUFFER_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -3,8 +3,8 @@
|
||||
/// \brief Convenience header to include all functionality of libfuse_provider.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef WFP_PROVIDER_H
|
||||
#define WFP_PROVIDER_H
|
||||
#ifndef WFP_H
|
||||
#define WFP_H
|
||||
|
||||
#include <webfuse_provider/status.h>
|
||||
#include <webfuse_provider/protocol_names.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_CLIENT_H
|
||||
#define WFP_PROVIDER_IMPL_CLIENT_H
|
||||
#ifndef WFP_IMPL_CLIENT_H
|
||||
#define WFP_IMPL_CLIENT_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
#include <stdbool.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_CLIENT_CONFIG_H
|
||||
#define WFP_PROVIDER_IMPL_CLIENT_CONFIG_H
|
||||
#ifndef WFP_IMPL_CLIENT_CONFIG_H
|
||||
#define WFP_IMPL_CLIENT_CONFIG_H
|
||||
|
||||
#include "webfuse_provider/client_config.h"
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_CLIENT_PROTOCOL_H
|
||||
#define WFP_PROVIDER_IMPL_CLIENT_PROTOCOL_H
|
||||
#ifndef WFP_IMPL_CLIENT_PROTOCOL_H
|
||||
#define WFP_IMPL_CLIENT_PROTOCOL_H
|
||||
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
#include "webfuse_provider/impl/request.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_CREDENTIALS_H
|
||||
#define WFP_PROVIDER_IMPL_CREDENTIALS_H
|
||||
#ifndef WFP_IMPL_CREDENTIALS_H
|
||||
#define WFP_IMPL_CREDENTIALS_H
|
||||
|
||||
#include "webfuse_provider/credentials.h"
|
||||
#include <jansson.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_DIRBUFFER_H
|
||||
#define WFP_PROVIDER_IMPL_DIRBUFFER_H
|
||||
#ifndef WFP_IMPL_DIRBUFFER_H
|
||||
#define WFP_IMPL_DIRBUFFER_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_OPERATION_CLOSE_H
|
||||
#define WFP_PROVIDER_IMPL_OPERATION_CLOSE_H
|
||||
#ifndef WFP_IMPL_OPERATION_CLOSE_H
|
||||
#define WFP_IMPL_OPERATION_CLOSE_H
|
||||
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_OPERATION_GETATTR_H
|
||||
#define WFP_PROVIDER_IMPL_OPERATION_GETATTR_H
|
||||
#ifndef WFP_IMPL_OPERATION_GETATTR_H
|
||||
#define WFP_IMPL_OPERATION_GETATTR_H
|
||||
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_OPERATION_LOOKUP_H
|
||||
#define WFP_PROVIDER_IMPL_OPERATION_LOOKUP_H
|
||||
#ifndef WFP_IMPL_OPERATION_LOOKUP_H
|
||||
#define WFP_IMPL_OPERATION_LOOKUP_H
|
||||
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_OPERATION_OPEN_H
|
||||
#define WFP_PROVIDER_IMPL_OPERATION_OPEN_H
|
||||
#ifndef WFP_IMPL_OPERATION_OPEN_H
|
||||
#define WFP_IMPL_OPERATION_OPEN_H
|
||||
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_OPERATION_READ_H
|
||||
#define WFP_PROVIDER_IMPL_OPERATION_READ_H
|
||||
#ifndef WFP_IMPL_OPERATION_READ_H
|
||||
#define WFP_IMPL_OPERATION_READ_H
|
||||
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_OPERATION_READDIR_H
|
||||
#define WFP_PROVIDER_IMPL_OPERATION_READDIR_H
|
||||
#ifndef WFP_IMPL_OPERATION_READDIR_H
|
||||
#define WFP_IMPL_OPERATION_READDIR_H
|
||||
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_PROVIDER_H
|
||||
#define WFP_PROVIDER_IMPL_PROVIDER_H
|
||||
#ifndef WFP_IMPL_PROVIDER_H
|
||||
#define WFP_IMPL_PROVIDER_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
#include <stdbool.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef WFP_PROVIDER_IMPL_REQUEST_H
|
||||
#define WFP_PROVIDER_IMPL_REQUEST_H
|
||||
#ifndef WFP_IMPL_REQUEST_H
|
||||
#define WFP_IMPL_REQUEST_H
|
||||
|
||||
#include <jansson.h>
|
||||
#include "webfuse_provider/impl/provider.h"
|
||||
|
Loading…
Reference in New Issue
Block a user