Function gnunet_sys::GNUNET_OS_installation_get_path[][src]

pub unsafe extern "C" fn GNUNET_OS_installation_get_path(
    dirkind: GNUNET_OS_InstallationPathKind
) -> *mut c_char

Get the path to a specific GNUnet installation directory or, with #GNUNET_OS_IPK_SELF_PREFIX, the current running apps installation directory.

@param dirkind what kind of directory is desired? @return a pointer to the dir path (to be freed by the caller)