📄 mhash.h
字号:
/*** Modular Logfile Analyzer** Copyright 2000 Jan Kneschke <jan@kneschke.de>**** Homepage: http://www.kneschke.de/projekte/modlogan** This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version, and provided that the above copyright and permission notice is included with all distributed copies of this or derived software. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA**** $Id: mhash.h,v 1.5 2000/12/22 18:39:27 jk Exp $*/#ifndef _M_HASH_H_#define _M_HASH_H_#include "mlist.h"#define HASH_SIZE 2048typedef struct { mlist *list;} mhash;mhash **mhash_init ();int mhash_insert(mhash **, void *data);int mhash_free(mhash **);int mhash_count(mhash *h[]);int mhash_unfold(mhash *h[], mlist *l );int mhash_unfold_sorted_limited(mhash *h[], mlist *l, int count );int mhash_in_hash(mhash *h[], const char *str);void *mhash_get_data(mhash *h[], const char *str);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -