command_struct Struct Reference

#include <http_config.h>

Collaboration diagram for command_struct:

Data Fields

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

Field Documentation

enum cmd_how command_struct::args_how

What the command expects as arguments

void* command_struct::cmd_data

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

const char* command_struct::errmsg

'usage' message, in case of syntax errors

cmd_func command_struct::func

The function to be called when this directive is parsed

const char* command_struct::name

Name of this command

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: