#define NULL
NULL pointer (VOID *)
struct arbelprm_rc_send_wqe rc
static union @024010030001061367220137227263210031030210157031 opts
"cert<xxx>" option list
#define COMMAND(name, exec)
Parse command-line options.
@ required_argument
Option requires an argument.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
int parse_timeout(char *text, unsigned long *value)
Parse timeout value (in ms)
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
Command line option parsing.
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
#define OPTION_DESC(_longopt, _shortopt, _has_arg, _struct, _field, _parse)
Construct option descriptor.
char * strerror(int errno)
Retrieve string representation of error number.
A command-line option descriptor.
unsigned long timeout
Timeout.
int sync(unsigned long timeout)
Wait for pending operations to complete.
Wait for pending operations to complete.
static int sync_exec(int argc, char **argv)
"sync" command
static struct option_descriptor sync_opts[]
"sync" option list
static struct command_descriptor sync_cmd
"sync" command descriptor
int printf(const char *fmt,...)
Write a formatted string to the console.