webpage/config.h

18 lines
255 B
C
Raw Permalink Normal View History

#ifndef CONFIG_H
2023-12-30 23:29:34 +01:00
#define CONFIG_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct UserConfig {
int port;
char* addr;
} UserConfig;
extern UserConfig config;
void getUserConfig(int argc, char* argv[]);
#endif // CONFIG_H