C Project Template
Loading...
Searching...
No Matches
src
TextCompress.h
1
#ifndef TEXT_COMPRESS
2
#define TEXT_COMPRESS
3
#define D_ 23
4
#define Q_ 1000081
5
#define INIT_PIN_SIZE 10000
6
#include "
utils.h
"
7
#include <stdbool.h>
8
#include <stdio.h>
9
#include <string.h>
10
11
void
TextCompressMark(
char
* text,
int
textlen,
que
* pinT,
que
* pinH);
12
bool
solve_spurious(
char
* text,
int
textlen,
int
tail,
int
head,
que
* pinT,
que
* pinH);
13
void
update_hash(
char
,
int
* cur_hash,
int
* cur_len,
int
* H,
bool
rev);
14
void
clear_hash(
int
* cur_hash,
int
* cur_len,
int
* H);
15
16
void
PrintCompressedText(
char
* text,
int
textlen,
que
* pinT,
que
* pinH);
17
19
void
DisplayCompressedText(
char
* text);
20
21
#endif
que
Definition
utils.h:53
utils.h
General Utilities for C language.
Generated by
1.10.0