summaryrefslogtreecommitdiffstats
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
}
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157