Flowgrind
Advanced TCP traffic generator
ap_Option Struct Reference

Defines a valid command line option. More...

#include <fg_argparser.h>

Data Fields

int code
 Short option letter or code (code != 0). More...
 
enum ap_Has_arg has_arg
 Argument specifier. More...
 
int * mutex
 Null-terminated array of mutex IDs (greater zero) this option belongs to. More...
 
char * name
 Long option name (maybe null). More...
 
int tag
 User tag for distinction of options. More...
 

Detailed Description

Defines a valid command line option.

Definition at line 45 of file fg_argparser.h.

Field Documentation

int ap_Option::code

Short option letter or code (code != 0).

Definition at line 47 of file fg_argparser.h.

enum ap_Has_arg ap_Option::has_arg

Argument specifier.

Definition at line 51 of file fg_argparser.h.

int* ap_Option::mutex

Null-terminated array of mutex IDs (greater zero) this option belongs to.

If two options share a mutex ID, they exclude each other. If the pointer is zero, no mutex is defined for this option.

Definition at line 59 of file fg_argparser.h.

char* ap_Option::name

Long option name (maybe null).

Definition at line 49 of file fg_argparser.h.

int ap_Option::tag

User tag for distinction of options.

Definition at line 53 of file fg_argparser.h.


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