summaryrefslogtreecommitdiffstats
path: root/filescan-utils.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-05-09 11:59:19 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 14:12:02 +0100
commit844042f3f8c523e42b721670cea971301ea18fde (patch)
treee72c181c4fbd62ac450cf495d8b689a5da8fdc24 /filescan-utils.h
parentb8f8b83fde488ca637a57af0d369b0a7ec38465f (diff)
Formating
Change-Id: I16ee9154f4f5a7e71af83a22899a94f00e07aa79 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'filescan-utils.h')
-rw-r--r--filescan-utils.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/filescan-utils.h b/filescan-utils.h
index 940eafd..c282c2b 100644
--- a/filescan-utils.h
+++ b/filescan-utils.h
@@ -32,17 +32,12 @@
#include <afb/afb-binding.h>
extern afb_dynapi *AFB_default;
#define AFB_DEBUG(...) AFB_DYNAPI_DEBUG(AFB_default, __VA_ARGS__)
-#else
+#else
#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
#endif
-
-#include <json-c/json.h>
-#ifndef PUBLIC
- #define PUBLIC
-#endif
-#define STATIC static
+#include <json-c/json.h>
#ifndef CONTROL_MAXPATH_LEN
#define CONTROL_MAXPATH_LEN 255
@@ -53,10 +48,10 @@ typedef enum {
CTL_SCAN_RECURSIVE=1,
} CtlScanDirModeT;
-PUBLIC const char *GetMidleName(const char*name);
-PUBLIC const char *GetBinderName();
-PUBLIC json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode, const char *pre, const char *ext);
-PUBLIC char *GetBindingDirPath();
+const char *GetMidleName(const char*name);
+const char *GetBinderName();
+json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode, const char *pre, const char *ext);
+char *GetBindingDirPath();
#ifdef __cplusplus