feat: switch to C-based compilation, start of simple event loop
This commit is contained in:
parent
01eb5ece55
commit
11cd537759
7 changed files with 1238 additions and 94 deletions
|
|
@ -19,9 +19,9 @@
|
|||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
static const char charset[] =
|
||||
const static char charset[] =
|
||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||
static const size_t charset_len = sizeof(charset) - 1;
|
||||
const static size_t charset_len = sizeof(charset) - 1;
|
||||
|
||||
// Length of randomly generated keys
|
||||
#define RANDOM_KEY_LENGTH_SHORT 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue