aboutsummaryrefslogtreecommitdiff
path: root/backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend.h')
-rw-r--r--backend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend.h b/backend.h
index 2767a94..f26186c 100644
--- a/backend.h
+++ b/backend.h
@@ -350,6 +350,12 @@ int arch_find_dl_debug(struct process *proc, arch_addr_t dyn_addr,
* concern itself with it. */
int os_get_config_dirs(int private, const char ***retp);
+/* This is called to obtain the name of legacy config file, if any.
+ * Returns 0 on success, in which case *RETP should be set to the file
+ * name (it is legitimate to set this to NULL), or a negative value on
+ * failure. It is OK if the file is not present. */
+int os_get_ltrace_conf_filename(const char **retp);
+
/* If arch.h defines ARCH_HAVE_FETCH_ARG, the following callbacks have
* to be implemented: arch_fetch_arg_init, arch_fetch_arg_clone,
* arch_fetch_arg_done, arch_fetch_arg_next and arch_fetch_retval.