Revision 7572150c ui/qemu-spice.h

b/ui/qemu-spice.h
32 32
void qemu_spice_audio_init(void);
33 33
void qemu_spice_display_init(DisplayState *ds);
34 34
int qemu_spice_add_interface(SpiceBaseInstance *sin);
35
int qemu_spice_set_passwd(const char *passwd,
36
                          bool fail_if_connected, bool disconnect_if_connected);
37
int qemu_spice_set_pw_expire(time_t expires);
35 38

  
36 39
void do_info_spice_print(Monitor *mon, const QObject *data);
37 40
void do_info_spice(Monitor *mon, QObject **ret_data);
......
39 42
#else  /* CONFIG_SPICE */
40 43

  
41 44
#define using_spice 0
45
#define qemu_spice_set_passwd(_p, _f1, _f2) (-1)
46
#define qemu_spice_set_pw_expire(_e) (-1)
42 47

  
43 48
#endif /* CONFIG_SPICE */
44 49

  

Also available in: Unified diff