mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
feat: save user and session as strings
This commit is contained in:
@@ -2,15 +2,16 @@
|
||||
#define LAUNCHSTATEH_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "macros.h"
|
||||
|
||||
struct LaunchState {
|
||||
int user_opt;
|
||||
int session_opt;
|
||||
char* NNULLABLE username;
|
||||
char* NNULLABLE session_opt;
|
||||
};
|
||||
|
||||
struct LaunchState read_launch_state();
|
||||
int read_launch_state(struct LaunchState* NNULLABLE state);
|
||||
bool write_launch_state(struct LaunchState state);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user