xref: /kvmtool/include/kvm/vnc.h (revision 07d52d7721f17a0f59e12773517d7975c3af349e)
1 #ifndef KVM__VNC_H
2 #define KVM__VNC_H
3 
4 #include "kvm/kvm.h"
5 
6 struct framebuffer;
7 
8 #ifdef CONFIG_HAS_VNCSERVER
9 int vnc__init(struct kvm *kvm);
10 int vnc__exit(struct kvm *kvm);
11 #else
vnc__init(struct kvm * kvm)12 static inline int vnc__init(struct kvm *kvm)
13 {
14 	return 0;
15 }
vnc__exit(struct kvm * kvm)16 static inline int vnc__exit(struct kvm *kvm)
17 {
18 	return 0;
19 }
20 #endif
21 
22 #endif /* KVM__VNC_H */
23