|
machinatrix
A very silly Matrix bot written in C
|
Configuration structure used by all programs. More...
#include <config.h>
Data Fields | |
| uint8_t | flags |
| Configuration flags. | |
| char | server [MAX_SERVER] |
| Matrix server URL. | |
| char | token [MAX_TOKEN] |
| Matrix access token. | |
| char | user [MAX_USER] |
User name used to send messages, in the form @username:server. | |
| char | short_user [MAX_USER] |
Short version of the user name, stripped of the @ sign and server. | |
| char | batch [MAX_BATCH] |
| Last batch received from the Matrix server. | |
Configuration structure used by all programs.
Can be safely zero-initialized.
| char mtrix_config::batch[MAX_BATCH] |
Last batch received from the Matrix server.
| uint8_t mtrix_config::flags |
Configuration flags.
| char mtrix_config::server[MAX_SERVER] |
Matrix server URL.
| char mtrix_config::short_user[MAX_USER] |
Short version of the user name, stripped of the @ sign and server.
| char mtrix_config::token[MAX_TOKEN] |
Matrix access token.
| char mtrix_config::user[MAX_USER] |
User name used to send messages, in the form @username:server.