summaryrefslogtreecommitdiffstats
path: root/filescan-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'filescan-utils.h')
-rw-r--r--filescan-utils.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/filescan-utils.h b/filescan-utils.h
index e038330..738be27 100644
--- a/filescan-utils.h
+++ b/filescan-utils.h
@@ -44,19 +44,19 @@ typedef enum {
CTL_SCAN_RECURSIVE=1,
} CtlScanDirModeT;
-typedef struct bpath {
- char rootdir[CONTROL_MAXPATH_LEN];
- char bindir[CONTROL_MAXPATH_LEN];
- char etcdir[CONTROL_MAXPATH_LEN];
- char datadir[CONTROL_MAXPATH_LEN];
- char libdir[CONTROL_MAXPATH_LEN];
- char httpdir[CONTROL_MAXPATH_LEN];
-} BPaths;
+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 BPaths GetBindingDirsPath();
+PUBLIC const char *GetBindingDirPath(BindingDirsT dir);
#ifdef __cplusplus