⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rt-mt.h

📁 早期freebsd实现
💻 H
字号:
/* $Id: rt-mt.h,v 3.0 1992/12/14 00:14:09 davison Trn $*/bool mt_init _((void));bool mt_data _((void));/* Stuff internal to rt-mt.c */#ifdef DOINIT#define DB_VERSION	2typedef char		BYTE;typedef short		WORD;typedef long		LONG;#define ROOT_ARTICLE	0x0001		/* article flag definitions */#define HAS_XREFS	0x0004		/* article has an xref line */typedef struct {    LONG root_num;    WORD articles;    WORD article_cnt;    WORD subject_cnt;    WORD pad_hack;} PACKED_ROOT;typedef struct {    LONG num;    LONG date;    WORD subject, author;    WORD flags;    WORD child_cnt;    WORD parent;    WORD padding;    WORD sibling;    WORD root;} PACKED_ARTICLE;typedef struct Total {    LONG first, last;    LONG string1;    LONG string2;    WORD root;    WORD article;    WORD subject;    WORD author;    WORD domain;    WORD pad_hack;} TOTAL;typedef struct {    BYTE l[sizeof (LONG)];    BYTE w[sizeof (WORD)];    BYTE version;    BYTE pad_hack;} BMAP;# ifndef USE_XTHREADstatic char *mt_name _((char*));# endifstatic int read_authors _((void));static int read_subjects _((void));static int read_roots _((void));static int read_articles _((void));static int read_ids _((void));static void tweak_data _((void));static int read_item();static void safefree _((char**));static void mybytemap _((BMAP*));static void wp_bmap(), lp_bmap();#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -