diff options
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -44,7 +44,7 @@ extern int dbglevel; int mkdirx(const char *pathname); -int valid_status(int status); +#define valid_status(status) xs_http_valid_status(status) xs_str *tid(int offset); double ftime(void); @@ -464,14 +464,6 @@ void import_list_csv(snac *user, const char *fn); void import_csv(snac *user); int parse_port(const char *url, const char **errstr); -typedef enum { -#define HTTP_STATUS(code, name, text) HTTP_STATUS_ ## name = code, -#include "http_codes.h" -#undef HTTP_STATUS -} http_status; - -const char *http_status_text(int status); - typedef struct { double timestamp; char *text; |