feat: add users and sessions discovery

- also add clangd multi-file intellisense
This commit is contained in:
2024-07-10 23:24:51 +02:00
parent 4d8faa5b5f
commit 07d2842be0
11 changed files with 272 additions and 3 deletions

9
src/util.c Normal file
View File

@@ -0,0 +1,9 @@
#include <stdlib.h>
#include <string.h>
#include <util.h>
void strcln(char **dest, const char *source) {
*dest = malloc(strlen(source) + sizeof(char));
strcpy(*dest, source);
}