GVM User Suite
User tools for the GVM open source project.
Data Fields
cag_option_context Struct Reference

#include <cargs.h>

Collaboration diagram for cag_option_context:
Collaboration graph
[legend]

Data Fields

const struct cag_optionoptions
 
size_t option_count
 
int argc
 
char ** argv
 
int index
 
int inner_index
 
bool forced_end
 
char identifier
 
char * value
 

Detailed Description

A context is used to iterate over all options provided. It stores the parsing state.

Definition at line 81 of file cargs.h.

Field Documentation

◆ argc

int cag_option_context::argc

Definition at line 85 of file cargs.h.

◆ argv

char** cag_option_context::argv

Definition at line 86 of file cargs.h.

◆ forced_end

bool cag_option_context::forced_end

Definition at line 89 of file cargs.h.

◆ identifier

char cag_option_context::identifier

Definition at line 90 of file cargs.h.

◆ index

int cag_option_context::index

Definition at line 87 of file cargs.h.

◆ inner_index

int cag_option_context::inner_index

Definition at line 88 of file cargs.h.

◆ option_count

size_t cag_option_context::option_count

Definition at line 84 of file cargs.h.

◆ options

const struct cag_option* cag_option_context::options

Definition at line 83 of file cargs.h.

◆ value

char* cag_option_context::value

Definition at line 91 of file cargs.h.


The documentation for this struct was generated from the following file: