machinatrix
A very silly Matrix bot written in C
Loading...
Searching...
No Matches
mtrix_cmd Struct Reference

Structure that associates a mtrix_cmd_f to a command. More...

Data Fields

uint64_t name_hash
 Hash of field name.
 
const char * name
 Command name.
 
mtrix_cmd_ff
 Function that handles the command.
 

Detailed Description

Structure that associates a mtrix_cmd_f to a command.

Field Documentation

◆ f

mtrix_cmd_f* mtrix_cmd::f

Function that handles the command.

◆ name

const char* mtrix_cmd::name

Command name.

◆ name_hash

uint64_t mtrix_cmd::name_hash

Hash of field name.


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