aboutsummaryrefslogtreecommitdiff
path: root/src/Config.h
blob: 384ed9453922a0d7e789c8a582e41426b0ab733a (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef CONFIG_H
#define CONFIG_H

typedef struct {
  char host[256];
  int port;
} Config;

int load_config(const char *filename, Config *config);

#endif