r2clist.h

来自「这是一个C程序分析工具」· C头文件 代码 · 共 85 行

H
85
字号
/*====================================================================*/
/*  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 + =
减小字号Ctrl + -
显示快捷键?