command_struct Struct Reference

#include <http_config.h>

Collaboration diagram for command_struct:

Data Fields

const char * name
cmd_func func
void * cmd_data
int req_override
enum cmd_how args_how
const char * errmsg

Field Documentation

◆ args_how

enum cmd_how command_struct::args_how

What the command expects as arguments

◆ cmd_data

void* command_struct::cmd_data

Extra data, for functions which implement multiple commands...

◆ errmsg

const char* command_struct::errmsg

'usage' message, in case of syntax errors

◆ func

cmd_func command_struct::func

The function to be called when this directive is parsed

◆ name

const char* command_struct::name

Name of this command

◆ req_override

int command_struct::req_override

What overrides need to be allowed to enable this command.

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