You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef CONF_H
|
|
#define CONF_H
|
|
|
|
|
|
struct conf {
|
|
|
|
char *redis_host;
|
|
short redis_port;
|
|
|
|
char *http_host;
|
|
short http_port;
|
|
};
|
|
|
|
struct conf *
|
|
conf_read(const char *filename);
|
|
|
|
void
|
|
conf_free(struct conf *conf);
|
|
|
|
#endif /* CONF_H */
|