#ifndef DIC_INCLUDE_
#define DIC_INCLUDE_
#define STR_MAX_LEN 64
typedef struct
{
int CharSetSize;
int MaxPos;
char CharSet[STR_MAX_LEN];
char StrValue[STR_MAX_LEN];
} dic_t;
#include
int init_dic(dic_t *dic, int minlen, int maxlen, const char *charset);
void free_dic(dic_t *dic);
int getseq(dic_t *dic, char *str, u_int64_t *count);
#endif
阅读(1142) | 评论(0) | 转发(0) |