File: chmsg.h

package info (click to toggle)
chdrv 1.0.13-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,204 kB
  • ctags: 1,069
  • sloc: ansic: 8,972; perl: 412; asm: 234; makefile: 195; sh: 36
file content (28 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __CHMSG_H
#define __CHMSG_H

typedef struct
{
  long cmd;
  long mkey;
  char tty;
} ChineseMessage;

#define CH_BUF_LEN  8188 
typedef struct
{
  int len;
  char buffer[CH_BUF_LEN];
} CBuffer;


#define Q_KEY 0x10
#define MSGLEN (sizeof(long)+sizeof(char))
extern CBuffer *Chinese_sharemem;

#ifdef CHINESE_KERNEL
#define TTY_KEY 0x5541
#endif


#endif