wordlist.h
来自「用linux开发的安防暴警的有关代码」· C头文件 代码 · 共 57 行
H
57 行
#ifndef _WORDLIST_H#define _WORDLIST_H 1class Word{ public: Word (void); ~Word (void); //Word *Next, *Prev; char *Contents; class WordList *WContents;};class WordList{ public: WordList (void); WordList (WordList *); ~WordList (void); void Clear (void); void Make (char *); void MakeDB (char *); void MakeGeneric (char *, char, char Escape = '\\'); void MakeGenericQuoted (char *, char, char Escape = '\\'); void Add (char *); void Add_ (char *); void AddWordList (WordList *); void AddWordList_ (WordList *); void AddInt (int); void Trim (int); int Find (char *); char *Get (int); WordList *GetWordList (int); int IsWordList (int); int GetInt (int); void Delete (int); char *Gather (int, char *, int); char *Gather (int, char *, int,const char *sep); void Set (int, char *); void SetInt (int, int); int Count; private: Word **Array; int ArraySize;};void reclaim_wordlist (void *);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?