summaryrefslogtreecommitdiffstats
path: root/server/char_device.h
blob: bdb32ae98c8bf054a06347faf2f6c02296f2664d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __CHAR_DEVICE_H__
#define __CHAR_DEVICE_H__

#include "spice.h"

struct SpiceCharDeviceState {
    void (*wakeup)(SpiceCharDeviceInstance *sin);
};

void spicevmc_device_connect(SpiceCharDeviceInstance *sin,
                             uint8_t channel_type);
void spicevmc_device_disconnect(SpiceCharDeviceInstance *char_device);

#endif // __CHAR_DEVICE_H__