📄 nmetab.h
字号:
/***** uno: nmetab.h *****//* Copyright (c) 2000-2003 by Lucent Technologies - Bell Laboratories *//* All Rights Reserved. This software is for educational purposes only. *//* Permission is given to distribute this code provided that this intro- *//* ductory message is not removed and no monies are exchanged. *//* No guarantee is expressed or implied by the distribution of this code. *//* Software written by Gerard J. Holzmann based on the public domain *//* ANSI-C parser Ctree Version 0.14 from Shaun Flisakowski *//* Original version by Shawn Flisakowski, Jan 11, 1995 */#ifndef NMETAB_H#define NMETAB_H#include "config.h"BEGIN_HEADER#define MAX_HASH_BCKTS 1023typedef struct string_str { unsigned int hash; char *str;} str_t;typedef struct hi { str_t sym; struct hi *next;} HashItem;#define HASH_ITEM_SZE (sizeof(HashItem))extern HashItem *NmeTab[MAX_HASH_BCKTS];void init_nmetab ARGS((void));void free_nmetab ARGS((void));str_t *nmelook ARGS(( char *sym, int len ));int nmehash ARGS(( str_t *sym ));void nmeshow ARGS((void));char *nmestr ARGS(( str_t *sym ));END_HEADER#endif /* NMETAB_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -