aboutsummaryrefslogtreecommitdiffstats
path: root/filescan-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'filescan-utils.h')
-rw-r--r--filescan-utils.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/filescan-utils.h b/filescan-utils.h
index b6111e2..e038330 100644
--- a/filescan-utils.h
+++ b/filescan-utils.h
@@ -39,15 +39,25 @@
#define CONTROL_MAXPATH_LEN 255
#endif
-// ctl-misc.c
typedef enum {
CTL_SCAN_FLAT=0,
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;
+
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();
+
#ifdef __cplusplus
}