qfedu-network-advanced-level/day6/homework/fake_feiqiu_head.h

33 lines
809 B
C

#ifndef __FAKE_FEIQIU_HEAD_H__
#define __FAKE_FEIQIU_HEAD_H__
enum ipmsg_e
{
IPMSG_NOOPERATION = 0x00000000,
IPMSG_BR_ENTRY = 0x00000001,
IPMSG_BR_EXIT = 0x00000002,
IPMSG_ANSENTRY = 0x00000003,
IPMSG_BR_ABSENCE = 0x00000004,
IPMSG_BR_ISGETLIST = 0x00000010,
IPMSG_OKGETLIST = 0x00000011,
IPMSG_GETLIST = 0x00000012,
IPMSG_ANSLIST = 0x00000013,
IPMSG_FILE_MTIME = 0x00000014,
IPMSG_FILE_CREATETIME = 0x00000016,
IPMSG_BR_ISGETLIST2 = 0x00000018,
IPMSG_SENDMSG = 0x00000020,
IPMSG_RECVMSG = 0x00000021,
IPMSG_READMSG = 0x00000030,
IPMSG_DELMSG = 0x00000031,
/* option for all command */
IPMSG_ABSENCEOPT = 0x00000100,
IPMSG_SERVEROPT = 0x00000200,
IPMSG_DIALUPOPT = 0x00010000,
IPMSG_FILEATTACHOPT = 0x00200000
};
#endif