vnc_server_v2
interface is used to control the graphics
console VNC server.
The graphics console has a built-in VNC server, supporting any number of connected clients.
The listening method indicates whether the server is listening for connections.
The num_clients method returns the number of connected clients.
The disconnect method forcibly disconnects any connected client.
SIM_INTERFACE(vnc_server_v2) { bool (*listening)(conf_object_t *NOTNULL obj); int (*num_clients)(conf_object_t *NOTNULL obj); void (*disconnect)(conf_object_t *NOTNULL obj); }; #define VNC_SERVER_V2_INTERFACE "vnc_server_v2"