#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 
