PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
ctl_t Struct Reference

Structure defining a ctl command. More...

#include <ctl.h>

Collaboration diagram for ctl_t:

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 64 of file ctl.h.

Field Documentation

◆ name

const char* ctl_t::name

The name of the command.

Definition at line 66 of file ctl.h.

◆ func

ctl_func_t ctl_t::func

The function to call for the command.

Definition at line 67 of file ctl.h.

◆ argcMin

uint64_t ctl_t::argcMin

The minimum number of arguments accepted by func.

Definition at line 68 of file ctl.h.

◆ argcMax

uint64_t ctl_t::argcMax

The maximum number of arguments accepted by func.

Definition at line 69 of file ctl.h.


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