70 goto err_parse_options;
75 goto err_parse_setting;
105 printf (
"Could not store \"%s\": %s\n",
#define NULL
NULL pointer (VOID *)
struct arbelprm_rc_send_wqe rc
static union @024010030001061367220137227263210031030210157031 opts
"cert<xxx>" option list
#define COMMAND(name, exec)
uint16_t busdevfn
PCI bus:dev.fn address.
int optind
Current option index.
Parse command-line options.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define ENOENT
No such file or directory.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
int parse_autovivified_setting(char *text, struct named_setting *setting)
Parse and autovivify setting name.
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.
int pci_find_next(struct pci_device *pci, uint32_t *busdevfn)
Find next device on PCI bus.
static int pciscan_exec(int argc, char **argv)
"pciscan" command
static struct option_descriptor pciscan_opts[]
"pciscan" option list
static struct command_descriptor pciscan_cmd
"pciscan" command descriptor
int fetchn_setting(struct settings *settings, const struct setting *setting, struct settings **origin, struct setting *fetched, unsigned long *value)
Fetch numeric value of setting.
int storen_setting(struct settings *settings, const struct setting *setting, unsigned long value)
Store numeric value of setting.
char * strerror(int errno)
Retrieve string representation of error number.
A command-line option descriptor.
const struct setting_type * type
Setting type.
int printf(const char *fmt,...)
Write a formatted string to the console.