init: parsing

This commit is contained in:
2025-11-12 01:18:35 +01:00
parent c6503f157a
commit 1757afbe44
2 changed files with 72 additions and 0 deletions

13
src/parsing.h Normal file
View File

@ -0,0 +1,13 @@
#pragma once
typedef enum {
OPTION,
ARGUMENT,
} e_type;
struct param {
const char *name;
const char *alias;
e_type type;
void *value;
};