lidm/include/auth.h
javalsai 5174f0b2bf
feat: modernize config
- config now is more toml like
- no need to declare all fields, it implements defaults
- no yanderedev code, introspection babbyyy 😎
- desktop and config files parser semi-unification
- misc tweaks all over (mainly allocation failures handling)
2025-06-13 14:05:19 +02:00

13 lines
220 B
C

#ifndef AUTHH_
#define AUTHH_
#include <stdbool.h>
#include "config.h"
#include "sessions.h"
bool launch(char* user, char* passwd, struct session session, void (*cb)(void),
struct config* config);
#endif