diff options
Diffstat (limited to 'FICS/settings.h')
| -rw-r--r-- | FICS/settings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FICS/settings.h b/FICS/settings.h index 9dcf7dc..bfc8cf3 100644 --- a/FICS/settings.h +++ b/FICS/settings.h @@ -3,6 +3,8 @@ #include "common.h" +#include <stdbool.h> + typedef struct { char data[400]; } err_reason_t; @@ -11,6 +13,8 @@ __FICS_BEGIN_DECLS void settings_init(void); void settings_deinit(void); +bool is_valid_hostname(const char *, err_reason_t *); +bool is_valid_username(const char *, err_reason_t *); const char *settings_get(const char *set_name); void settings_read_conf(const char *path); __FICS_END_DECLS |
