#define VNC_FLAG_STANDALONE (1 << 1) #define VNC_FLAG_DISCONNECT_CLOSE (1 << 2) #define VNC_FLAG_FULLSCREEN (1 << 3) #define VNC_FLAG_SHOW_MOUSE (1 << 4) #define VNC_FLAG_GRAB_MOUSE (1 << 5) #define VNC_FLAG_GRAB_KEYBOARD (1 << 6) GtkWidget *vnc_open(char *hostname, int tcpport, unsigned long flags, int debug_level, const char *username, const char *password);