From f9bc4d078a3e6e273b5602042220d63cdd26c0f6 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 8 Sep 2017 17:21:40 +0200 Subject: 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 --- filescan-utils.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'filescan-utils.h') 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 -- cgit 1.2.3-korg