summaryrefslogtreecommitdiffstats
path: root/client/utils.h
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-12-28 01:15:08 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-12-28 12:38:58 +0200
commit68fb44012982897ea883b336c56d0e8c12ddce0d (patch)
tree209556db04762b5f5f7581af4f51970f04e8d836 /client/utils.h
parent659be313a43fc741ed9decd95178efbeedf2c4fd (diff)
downloadspice-68fb44012982897ea883b336c56d0e8c12ddce0d.tar.gz
spice-68fb44012982897ea883b336c56d0e8c12ddce0d.tar.xz
spice-68fb44012982897ea883b336c56d0e8c12ddce0d.zip
client: add GUI infrastructure + functional login dialog
Diffstat (limited to 'client/utils.h')
-rw-r--r--client/utils.h2
1 files changed, 2 insertions, 0 deletions
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);