PatchworkOS
Loading...
Searching...
No Matches
ctl_t Struct Reference

Structure defining a ctl command. More...

#include <ctl.h>

Data Fields

const char * name
 The name of the command.
 
ctl_func_t func
 The function to call for the command.
 
uint64_t argcMin
 The minimum number of arguments accepted by func.
 
uint64_t argcMax
 The maximum number of arguments accepted by func.
 

Detailed Description

Structure defining a ctl command.

Definition at line 61 of file ctl.h.

Field Documentation

◆ argcMax

uint64_t ctl_t::argcMax

The maximum number of arguments accepted by func.

Definition at line 66 of file ctl.h.

Referenced by ctl_dispatch().

◆ argcMin

uint64_t ctl_t::argcMin

The minimum number of arguments accepted by func.

Definition at line 65 of file ctl.h.

◆ func

ctl_func_t ctl_t::func

The function to call for the command.

Definition at line 64 of file ctl.h.

Referenced by ctl_dispatch().

◆ name

const char* ctl_t::name

The name of the command.

Definition at line 63 of file ctl.h.

Referenced by ctl_dispatch().


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