Struct gnunet_sys::GNUNET_OS_ProjectData [−][src]
Project-specific data used to help the OS subsystem find installation paths.
Fields
libname: *const c_char
Name of a library that is installed in the “lib/” directory of the project, such as “libgnunetutil”. Used to locate the installation by scanning dependencies of the current process.
project_dirname: *const c_char
Name of the project that is used in the “libexec” prefix, For example, “gnunet”. Certain helper binaries are then expected to be installed in “$PREFIX/libexec/gnunet/” and resources in “$PREFIX/share/gnunet/”.
binary_name: *const c_char
Name of a project-specific binary that should be in “$PREFIX/bin/”. Used to determine installation path from $PATH variable. For example “gnunet-arm”. On W32, “.exe” should be omitted.
env_varname: *const c_char
Name of an environment variable that can be used to override installation path detection, for example “GNUNET_PREFIX”.
env_varname_alt: *const c_char
Alternative name of an environment variable that can be used to override installation path detection, if “env_varname” is not set. Again, for example, “GNUNET_PREFIX”.
base_config_varname: *const c_char
Name of an environment variable that can be used to override the location from which default configuration files are loaded from, for example “GNUNET_BASE_CONFIG”.
bug_email: *const c_char
E-mail address for reporting bugs.
homepage: *const c_char
Project homepage.
config_file: *const c_char
Configuration file name (in $XDG_CONFIG_HOME) to use.
user_config_file: *const c_char
Configuration file name to use (if $XDG_CONFIG_HOME is not set).
version: *const c_char
String identifying the current project version.
is_gnu: c_int
Non-zero means this project is part of GNU.
gettext_domain: *mut c_char
Gettext domain for localisation, e.g. the PACKAGE macro. Setting this field to NULL disables gettext.
gettext_path: *mut c_char
Gettext directory, e.g. the LOCALEDIR macro. If this field is NULL, the path is automatically inferred.
agpl_url: *mut c_char
URL pointing to the source code of the application. Required for AGPL. Setting this to NULL disables the built-in mechanism, but you must provide it in some other way. If non-NULL, message type 1 and 2 are reserved.
Trait Implementations
impl Clone for GNUNET_OS_ProjectData
[src]
fn clone(&self) -> GNUNET_OS_ProjectData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GNUNET_OS_ProjectData
[src]
impl Debug for GNUNET_OS_ProjectData
[src]
Auto Trait Implementations
impl RefUnwindSafe for GNUNET_OS_ProjectData
impl !Send for GNUNET_OS_ProjectData
impl !Sync for GNUNET_OS_ProjectData
impl Unpin for GNUNET_OS_ProjectData
impl UnwindSafe for GNUNET_OS_ProjectData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,