aboutsummaryrefslogtreecommitdiffstats
path: root/filescan-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'filescan-utils.h')
-rw-r--r--filescan-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/filescan-utils.h b/filescan-utils.h
index bf8fb53..64ecfb9 100644
--- a/filescan-utils.h
+++ b/filescan-utils.h
@@ -86,7 +86,11 @@ extern json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode,
*
* @return char* string representing the path to binding root directory.
*/
+#if(AFB_BINDING_VERSION == 0 && defined(AFB_BINDING_WANT_DYNAPI))
extern char *GetBindingDirPath(struct afb_dynapi *dynapi);
+#else
+extern char *GetBindingDirPath();
+#endif
/**
* @brief Get the environment directory colon separated path list. This take the