summaryrefslogtreecommitdiffstats
path: root/server/char_device.h
blob: 4b558698f7dc38bc74fb6f5cd252ec749411a3fb (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);
};

int usbredir_device_connect(SpiceCharDeviceInstance *char_device);
void usbredir_device_disconnect(SpiceCharDeviceInstance *char_device);

#endif // __CHAR_DEVICE_H__