adjusted include guards

pull/2/head
Falk Werner 5 years ago
parent af71bcbff3
commit cc38995b5f

@ -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

@ -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"

@ -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"

@ -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"

@ -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

@ -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"

@ -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"

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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" {

@ -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>

@ -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"

@ -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>

@ -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>

@ -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>

@ -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>

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

@ -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"

@ -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

@ -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

@ -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"

@ -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>

@ -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"

@ -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>

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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>

Loading…
Cancel
Save