Extract feed_info struct and save routine to its own file

Also start creating basic framework for config
This commit is contained in:
2024-11-21 16:18:26 -05:00
parent cf0c1ca93a
commit cd90d62b2c
6 changed files with 142 additions and 39 deletions

13
config.h Normal file
View File

@ -0,0 +1,13 @@
#ifndef ZBLOCK_CONFIG_H
#define ZBLOCK_CONFIG_H
#include <concord/discord.h>
// the current zblock config
extern struct zblock_config {
char *database_path;
} zblock_config;
int zblock_config_load(struct discord *client);
#endif