aboutsummaryrefslogtreecommitdiffstats
path: root/filescan-utils.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-08 17:21:40 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-09-08 17:21:40 +0200
commitf352a03a19ebe8a013a96387ec2cd28b98ca0695 (patch)
tree6c41a482b5c4cf4792cd2ba455558acedcfa9bd6 /filescan-utils.h
parent691f6397954929689a1e9434e31940192c2358bc (diff)
Only return binding root dir.
If subdirs path is needed then concatenation as to be done using the rootdir. Change-Id: I50a1eeb1f853ae26995a96e1661ff38cb7959f60 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'filescan-utils.h')
-rw-r--r--filescan-utils.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/filescan-utils.h b/filescan-utils.h
index 738be27..68df0fc 100644
--- a/filescan-utils.h
+++ b/filescan-utils.h
@@ -44,19 +44,10 @@ typedef enum {
CTL_SCAN_RECURSIVE=1,
} CtlScanDirModeT;
-typedef enum {
- ROOT_DIR=0,
- BIN_DIR=1,
- ETC_DIR=2,
- DATA_DIR=3,
- LIB_DIR=4,
- HTTP_DIR=5
-} BindingDirsT
-
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 const char *GetBindingDirPath(BindingDirsT dir);
+PUBLIC const char *GetBindingDirPath();
#ifdef __cplusplus