#pragma once #include "types.h" #include #include #define _(x) gettext(x) void pdebug(lm_ctx_t *ctx, const char *func, const char *fmt, ...); bool parse_host(char *addr, char *host, uint16_t *port); bool contains(char *str, char s); bool eq(char *s1, char *s2); bool is_letter(char c); bool is_digit(char c);