VLFeat - Documentation > C API

# VLFeat.org

Documentation> C API

- Main Page
- Related Pages
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
option Struct Reference

getopt_long option

`#include <getopt_long.h>`

## Data Fields

const char * | name
int | has_arg
int * | flag
int | val

## Field Documentation

int* option::flag

pointer to a variable to set (if `NULL`, the value is returned instead)

int option::has_arg

flag indicating whether the option has no, required or optional argument

const char* option::name

option long name

int option::val

value to set or to return

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

- getopt_long.h