C Project Template
Loading...
Searching...
No Matches
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
11void TextCompressMark(char* text, int textlen, que* pinT, que* pinH);
12bool solve_spurious(char* text, int textlen,int tail, int head, que* pinT, que* pinH);
13void update_hash(char , int* cur_hash, int* cur_len, int* H, bool rev);
14void clear_hash(int* cur_hash, int* cur_len, int* H);
15
16void PrintCompressedText(char* text, int textlen, que* pinT, que* pinH);
17
19void DisplayCompressedText(char* text);
20
21#endif
Definition utils.h:53
General Utilities for C language.