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

📄 r2clist.h

📁 这是一个C程序分析工具
💻 H
字号:
/*====================================================================*/
/*  HEADER :   @(#)r2clist.h	2.3  -  08/04/99 */
/*====================================================================*/
/*  PURPOSE:  General use types and structure declarations.           */
/*                                                                    */
/*  UNIT   :  r2clist.c                                               */
/*--------------------------------------------------------------------*/

#ifndef __R2CLIST_H

#define __R2CLIST_H

#ifndef __R2ANALYZ_H
#include "r2analyz.h"
#endif

#ifndef __STDIO_H
#include <stdio.h>
#endif

#ifndef __R2UTIL_H
#include "r2util.h"
#endif

#ifndef __R2BINTREE_H
#include "r2btree.h"
#endif

typedef struct COMP_ELEM
{
  int		Index;
  int		Line;
  char		Cval;
  long		Sval;
  int		With;
  int		Tot;
}
COMPELEM;

typedef avl_node COMPNODE;
typedef avl_tree COMPLIST;

extern void AddCompElem(
  COMPLIST	*cl,			/* Component list	      */
  COMPELEM	*elem			/* Component element	      */
);

extern int CompListSize(
  COMPLIST	*cl			/* Component list	      */
);

extern void CreateCompList(
  COMPLIST	**cl			/* Component list	      */
);

extern void DeleteCompList(
  COMPLIST	**cl			/* Component list	      */
);

extern BOOL FindCompElem(
  COMPLIST	*cl,			/* Component list	      */
  COMPELEM	*elem			/* Component element	      */
);

extern void MergeCompElem(
  COMPLIST  *icl,       /* Intermediate component list */
  COMPLIST  *cl         /* Master component list  */
);

extern void RemoveCompElem(
  COMPLIST	*cl,			/* Component list	      */
  COMPELEM	*elem			/* Component element	      */
);

extern void ShowCompList(
  COMPLIST	*cl,			/* Component list	      */
  STRING	title[]			/* Display title	      */
);

#endif /* __R2CLIST_H */

/*====================================================================*/
/*  EOF    :  r2clist.h                                               */
/*====================================================================*/

⌨️ 快捷键说明

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