Type Definition gnunet_sys::GNUNET_GETOPT_CommandLineOptionProcessor[][src]

type GNUNET_GETOPT_CommandLineOptionProcessor = Option<unsafe extern "C" fn(ctx: *mut GNUNET_GETOPT_CommandLineProcessorContext, scls: *mut c_void, option: *const c_char, value: *const c_char) -> c_int>;

@brief Process a command line option

@param ctx context for all options @param scls specific closure (for this processor) @param option long name of the option (i.e. “config” for –config) @param value argument, NULL if none was given @return #GNUNET_OK to continue processing other options, #GNUNET_SYSERR to abort