diff options
author | Petr Machata <pmachata@redhat.com> | 2012-12-06 18:28:17 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-03-08 22:55:29 +0100 |
commit | 364753a1cfe46998946a42badd9099591a00325a (patch) | |
tree | b905bc640d2830edc92e3e9b2135d35de665c2b1 /backend.h | |
parent | 881e1fd61524bd916cdce782f8d3beadd7e5aaec (diff) | |
download | ltrace-364753a1cfe46998946a42badd9099591a00325a.tar.gz |
New backend hook os_get_ltrace_conf_filename and Linux implementation
Diffstat (limited to 'backend.h')
-rw-r--r-- | backend.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |