1 #ifndef __smscharioctl_h__
2 #define __smscharioctl_h__
4 #include <linux/ioctl.h>
6 typedef struct _smschar_buffer_t
8 unsigned long offset; // offset in common buffer (mapped to user space)
12 #define SMSCHAR_SET_DEVICE_MODE _IOW('K', 0, int)
13 #define SMSCHAR_GET_DEVICE_MODE _IOR('K', 1, int)
14 #define SMSCHAR_GET_BUFFER_SIZE _IOR('K', 2, int)
15 #define SMSCHAR_WAIT_GET_BUFFER _IOR('K', 3, smschar_buffer_t)
17 #endif // __smscharioctl_h__