mirror of
git://git.proxmox.com/git/spiceterm.git
synced 2024-12-23 17:34:20 +03:00
cc04455b7f
This is a simple copy of the test example from spice-0.12.4, directory server/tests. To make it compile outside spice source tree, I had to copy ring.h from spice-common/common/ring.h, and remove calls to spice-common/common/mem.h (use glib for memory management). Also replaces spice_assert() and ASSERT() with g_assert().
10 lines
204 B
C
10 lines
204 B
C
#ifndef __BASIC_EVENT_LOOP_H__
|
|
#define __BASIC_EVENT_LOOP_H__
|
|
|
|
#include <spice.h>
|
|
|
|
SpiceCoreInterface *basic_event_loop_init(void);
|
|
void basic_event_loop_mainloop(void);
|
|
|
|
#endif // __BASIC_EVENT_LOOP_H__
|