aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_os_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_os_lib.h')
-rw-r--r--src/include/gnunet_os_lib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h
index 285dfb68d..82203267c 100644
--- a/src/include/gnunet_os_lib.h
+++ b/src/include/gnunet_os_lib.h
@@ -306,6 +306,19 @@ GNUNET_OS_installation_get_path (enum GNUNET_OS_InstallationPathKind dirkind);
306 306
307 307
308/** 308/**
309 * Given the name of a gnunet-helper, gnunet-service or gnunet-daemon binary and
310 * a prefix, construct the full path to the binary.
311 *
312 * @param progname name of the binary
313 * @param prefix the path to use as a prefix (if NULL this function is
314 * equivalent to GNUNET_OS_get_libexec_binary_path)
315 * @return full path to the binary, if possible, otherwise copy of 'progname'
316 */
317char *
318GNUNET_OS_get_binary_path (const char *progname, const char* prefix);
319
320
321/**
309 * Given the name of a gnunet-helper, gnunet-service or gnunet-daemon 322 * Given the name of a gnunet-helper, gnunet-service or gnunet-daemon
310 * binary, try to prefix it with the libexec/-directory to get the 323 * binary, try to prefix it with the libexec/-directory to get the
311 * full path. 324 * full path.