aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_os_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-29 16:14:03 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-29 16:14:03 +0000
commitbcbcf005b4864ac5557c31da10521126d8880849 (patch)
tree444cafefb16e1c5a4ba13ce2db07d6ec1f37675e /src/include/gnunet_os_lib.h
parent119193d6350bbbd8c6ecbd60ccc8301223d6f6d6 (diff)
downloadgnunet-bcbcf005b4864ac5557c31da10521126d8880849.tar.gz
gnunet-bcbcf005b4864ac5557c31da10521126d8880849.zip
installing all service, daemon and helper binaries to lib/gnunet/libexec/; updating code to run binaries from new location, which is no longer in PATH
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