From 68fb44012982897ea883b336c56d0e8c12ddce0d Mon Sep 17 00:00:00 2001 From: Yaniv Kamay Date: Mon, 28 Dec 2009 01:15:08 +0200 Subject: client: add GUI infrastructure + functional login dialog --- client/utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/utils.h') diff --git a/client/utils.h b/client/utils.h index 4be75281..d4163b87 100644 --- a/client/utils.h +++ b/client/utils.h @@ -98,6 +98,8 @@ static inline void set_bit_be(const void* addr, int bit) ((uint8_t*)addr)[bit >> 3] |= (0x80 >> (bit & 0x07)); } +int str_to_port(const char *str); + void string_vprintf(std::string& str, const char* format, va_list ap); void string_printf(std::string& str, const char *format, ...); void wstring_vprintf(std::wstring& str, const wchar_t* format, va_list ap); -- cgit