fix make & mise au propre du projet

This commit is contained in:
Puechberty Arthur
2026-06-26 21:54:33 +02:00
parent 9e02e75a98
commit 290da5ed46
12 changed files with 467 additions and 234 deletions
+6 -5
View File
@@ -17,7 +17,8 @@
#define BUF_SIZE 4096
typedef struct {
typedef struct
{
char user[128];
char hostname[256];
char os[256];
@@ -60,10 +61,10 @@ typedef struct {
} SysInfo;
void get_info(SysInfo *info);
void get_logo_line(const char* os_id, int small, int idx, char* out, size_t size);
int get_logo_height(const char* os_id, int small);
void generate_default_config(const char* path);
void render_config(const char* path, SysInfo *info);
void get_logo_line(const char *os_id, int small, int idx, char *out, size_t size);
int get_logo_height(const char *os_id, int small);
void generate_default_config(const char *path);
void render_config(const char *path, SysInfo *info);
void print_help();
#endif