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.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h
index 1d4828f48..e4bbab8a9 100644
--- a/src/include/gnunet_os_lib.h
+++ b/src/include/gnunet_os_lib.h
@@ -151,7 +151,12 @@ enum GNUNET_OS_InstallationPathKind
151 * Return the prefix of the path with documentation files, including the 151 * Return the prefix of the path with documentation files, including the
152 * license (share/doc/gnunet/). 152 * license (share/doc/gnunet/).
153 */ 153 */
154 GNUNET_OS_IPK_DOCDIR 154 GNUNET_OS_IPK_DOCDIR,
155
156 /**
157 * Return the directory where helper binaries are installed (lib/gnunet/libexec/)
158 */
159 GNUNET_OS_IPK_LIBEXECDIR
155}; 160};
156 161
157 162
@@ -201,6 +206,18 @@ GNUNET_OS_installation_get_path (enum GNUNET_OS_InstallationPathKind dirkind);
201 206
202 207
203/** 208/**
209 * Given the name of a gnunet-helper, gnunet-service or gnunet-daemon
210 * binary, try to prefix it with the libexec/-directory to get the
211 * full path.
212 *
213 * @param progname name of the binary
214 * @return full path to the binary, if possible, otherwise copy of 'progname'
215 */
216char *
217GNUNET_OS_get_libexec_binary_path (const char *progname);
218
219
220/**
204 * Callback function invoked for each interface found. 221 * Callback function invoked for each interface found.
205 * 222 *
206 * @param cls closure 223 * @param cls closure