1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

adjusted include guards

This commit is contained in:
Falk Werner 2019-02-25 21:35:38 +01:00
parent af71bcbff3
commit cc38995b5f
37 changed files with 74 additions and 74 deletions

View File

@ -1,5 +1,5 @@
#ifndef WSFS_API_H
#define WSFS_API_H
#ifndef WSFS_ADAPTER_API_H
#define WSFS_ADAPTER_API_H
#ifndef WSFS_API
#define WSFS_API

View File

@ -1,5 +1,5 @@
#ifndef WSFS_SERVER_H
#define WSFS_SERVER_H
#ifndef WSFS_ADAPTER_SERVER_H
#define WSFS_ADAPTER_SERVER_H
#include "wsfs/adapter/api.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFS_SERVER_CONFIG_H
#define WSFS_SERVER_CONFIG_H
#ifndef WSFS_ADAPTER_SERVER_CONFIG_H
#define WSFS_ADAPTER_SERVER_CONFIG_H
#include "wsfs/adapter/api.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFS_SERVER_PROTOCOL_H
#define WSFS_SERVER_PROTOCOL_H
#ifndef WSFS_ADAPTER_SERVER_PROTOCOL_H
#define WSFS_ADAPTER_SERVER_PROTOCOL_H
#include "wsfs/adapter/api.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_API_H
#define WSFSP_API_H
#ifndef WSFSP_PROVIDER_API_H
#define WSFSP_PROVIDER_API_H
#ifndef WSFSP_API
#define WSFSP_API

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_CLIENT_H
#define WSFSP_CLIENT_H
#ifndef WSFS_PROVIDER_CLIENT_H
#define WSFS_PROVIDER_CLIENT_H
#include "wsfs/provider/api.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_CLIENT_PROTOCOL_H
#define WSFSP_CLIENT_PROTOCOL_H
#ifndef WSFS_PROVIDER_CLIENT_PROTOCOL_H
#define WSFS_PROVIDER_CLIENT_PROTOCOL_H
#include "wsfs/provider/api.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_DIRBUFFER_H
#define WSFSP_DIRBUFFER_H
#ifndef WSFS_PROVIDER_DIRBUFFER_H
#define WSFS_PROVIDER_DIRBUFFER_H
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_PROVIDER_H
#define WSFSP_PROVIDER_H
#ifndef WSFS_PROVIDER_PROVIDER_H
#define WSFS_PROVIDER_PROVIDER_H
#include <wsfs/provider/operation/lookup.h>
#include <wsfs/provider/operation/getattr.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_H
#define WSFS_H
#ifndef WSFS_ADAPTER_H
#define WSFS_ADAPTER_H
#include <wsfs/adapter/api.h>
#include <wsfs/adapter/server.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_H
#define WSFSP_H
#ifndef WSFS_PROVIDER_H
#define WSFS_PROVIDER_H
#include <wsfs/provider/api.h>
#include <wsfs/provider/client.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_FILESYSTEM_H
#define WSFS_FILESYSTEM_H
#ifndef WSFS_ADAPTER_FILESYSTEM_H
#define WSFS_ADAPTER_FILESYSTEM_H
#ifndef __cplusplus
#include <stdbool.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_FUSE_H
#define WSFS_FUSE_H
#ifndef WSFS_ADAPTER_FUSE_H
#define WSFS_ADAPTER_FUSE_H
#ifdef __cplusplus
extern "C" {

View File

@ -1,5 +1,5 @@
#ifndef WSFS_JSONRPC_METHOD_H
#define WSFS_JSONRPC_METHOD_H
#ifndef WSFS_ADAPTER_JSONRPC_METHOD_H
#define WSFS_ADAPTER_JSONRPC_METHOD_H
#ifndef __cplusplus
#include <stdbool.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_JSONRPC_METHOD_INTERN_H
#define WSFS_JSONRPC_METHOD_INTERN_H
#ifndef WSFS_ADAPTER_JSONRPC_METHOD_INTERN_H
#define WSFS_ADAPTER_JSONRPC_METHOD_INTERN_H
#include "wsfs/adapter/jsonrpc/method.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFS_JSONRPC_REQUEST_H
#define WSFS_JSONRPC_REQUEST_H
#ifndef WSFS_ADAPTER_JSONRPC_REQUEST_H
#define WSFS_ADAPTER_JSONRPC_REQUEST_H
#ifndef __cplusplus
#include <stdarg.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_JSONRPC_RESPONSE_H
#define WSFS_JSONRPC_RESPONSE_H
#ifndef WSFS_ADAPTER_JSONRPC_RESPONSE_H
#define WSFS_ADAPTER_JSONRPC_RESPONSE_H
#ifndef __cplusplus
#include <stddef.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_JSONRPC_SERVER_H
#define WSFS_JSONRPC_SERVER_H
#ifndef WSFS_ADAPTER_JSONRPC_SERVER_H
#define WSFS_ADAPTER_JSONRPC_SERVER_H
#ifndef __cplusplus
#include <stdarg.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_JSON_UTIL_H
#define WSFS_JSON_UTIL_H
#ifndef WSFS_ADAPTER_JSON_UTIL_H
#define WSFS_ADAPTER_JSON_UTIL_H
#include <jansson.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_OPERATIONS
#define WSFS_OPERATIONS
#ifndef WSFS_ADAPTER_OPERATIONS
#define WSFS_ADAPTER_OPERATIONS
#include "wsfs/adapter/fuse_wrapper.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFS_SERVER_PROTOCOL_INTERN_H
#define WSFS_SERVER_PROTOCOL_INTERN_H
#ifndef WSFS_ADAPTER_SERVER_PROTOCOL_INTERN_H
#define WSFS_ADAPTER_SERVER_PROTOCOL_INTERN_H
#include "wsfs/message_queue.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFS_STATUS_H
#define WSFS_STATUS_H
#ifndef WSFS_ADAPTER_STATUS_H
#define WSFS_ADAPTER_STATUS_H
#define WSFS_GOOD 0
#define WSFS_BAD 1

View File

@ -1,5 +1,5 @@
#ifndef WSFS_TIME_TIMEOUT_MANAGER_H
#define WSFS_TIME_TIMEOUT_MANAGER_H
#ifndef WSFS_ADAPTER_TIME_TIMEOUT_MANAGER_H
#define WSFS_ADAPTER_TIME_TIMEOUT_MANAGER_H
struct wsfs_timer;
struct wsfs_timeout_manager

View File

@ -1,5 +1,5 @@
#ifndef WSFS_TIME_TIMEOUT_MANAGER_INTERN_H
#define WSFS_TIME_TIMEOUT_MANAGER_INTERN_H
#ifndef WSFS_ADAPTER_TIME_TIMEOUT_MANAGER_INTERN_H
#define WSFS_ADAPTER_TIME_TIMEOUT_MANAGER_INTERN_H
#include "wsfs/adapter/time/timeout_manager.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFS_TIME_TIMEPOINT_H
#define WSFS_TIME_TIMEPOINT_H
#ifndef WSFS_ADAPTER_TIME_TIMEPOINT_H
#define WSFS_ADAPTER_TIME_TIMEPOINT_H
#ifndef __cplusplus
#include <stdbool.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFS_TIMER_H
#define WSFS_TIMER_H
#ifndef WSFS_ADAPTER_TIME_TIMER_H
#define WSFS_ADAPTER_TIME_TIMER_H
#include "wsfs/adapter/time/timepoint.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFS_TIME_TIMER_INTERN_H
#define WSFS_TIME_TIMER_INTERN_H
#ifndef WSFS_ADAPTER_TIME_TIMER_INTERN_H
#define WSFS_ADAPTER_TIME_TIMER_INTERN_H
#ifndef __cplusplus
#include <stdbool.h>

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_CLIENT_PROTOCOL_INTERN_H
#define WSFSP_CLIENT_PROTOCOL_INTERN_H
#ifndef WSFS_PROVIDER_CLIENT_PROTOCOL_INTERN_H
#define WSFS_PROVIDER_CLIENT_PROTOCOL_INTERN_H
#include "wsfs/provider/client_protocol.h"
#include "wsfs/provider/provider.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_OPERATION_CLOSE_INTERN_H
#define WSFSP_OPERATION_CLOSE_INTERN_H
#ifndef WSFS_PROVIDER_OPERATION_CLOSE_INTERN_H
#define WSFS_PROVIDER_OPERATION_CLOSE_INTERN_H
#include "wsfs/provider/operation/close.h"
#include "wsfs/provider/provider_intern.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_OPERATION_GETATTR_INTERN_H
#define WSFSP_OPERATION_GETATTR_INTERN_H
#ifndef WSFS_PROVIDER_OPERATION_GETATTR_INTERN_H
#define WSFS_PROVIDER_OPERATION_GETATTR_INTERN_H
#include "wsfs/provider/operation/getattr.h"
#include "wsfs/provider/provider_intern.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_OPERATION_LOOKUP_INTERN_H
#define WSFSP_OPERATION_LOOKUP_INTERN_H
#ifndef WSFS_PROVIDER_OPERATION_LOOKUP_INTERN_H
#define WSFS_PROVIDER_OPERATION_LOOKUP_INTERN_H
#include "wsfs/provider/operation/lookup.h"
#include "wsfs/provider/provider_intern.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_OPERATION_OPEN_INTERN_H
#define WSFSP_OPERATION_OPEN_INTERN_H
#ifndef WSFS_PROVIDER_OPERATION_OPEN_INTERN_H
#define WSFS_PROVIDER_OPERATION_OPEN_INTERN_H
#include "wsfs/provider/operation/open.h"
#include "wsfs/provider/provider_intern.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_OPERATION_READ_INTERN_H
#define WSFSP_OPERATION_READ_INTERN_H
#ifndef WSFS_PROVIDER_OPERATION_READ_INTERN_H
#define WSFS_PROVIDER_OPERATION_READ_INTERN_H
#include "wsfs/provider/operation/read.h"
#include "wsfs/provider/provider_intern.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_OPERATION_READDIR_INTERN_H
#define WSFSP_OPERATION_READDIR_INTERN_H
#ifndef WSFS_PROVIDER_OPERATION_READDIR_INTERN_H
#define WSFS_PROVIDER_OPERATION_READDIR_INTERN_H
#include "wsfs/provider/operation/readdir.h"
#include "wsfs/provider/provider_intern.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_PROVIDER_INTERN_H
#define WSFSP_PROVIDER_INTERN_H
#ifndef WSFS_PROVIDER_PROVIDER_INTERN_H
#define WSFS_PROVIDER_PROVIDER_INTERN_H
#include "wsfs/provider/provider.h"
#include "wsfs/provider/request.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_REQUEST_H
#define WSFSP_REQUEST_H
#ifndef WSFS_PROVIDER_REQUEST_H
#define WSFS_PROVIDER_REQUEST_H
#include <jansson.h>
#include "wsfs/provider/provider.h"

View File

@ -1,5 +1,5 @@
#ifndef WSFSP_URL_H
#define WSFSP_URL_H
#ifndef WSFS_PROVIDER_URL_H
#define WSFS_PROVIDER_URL_H
#ifndef __cplusplus
#include <stdbool.h>