X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/61867dc77de42e411942e3a8cb5b652e8007f538..66f873a3de4adb65bbad6fb09cd57272216d332f:/src/blocksorting/bs.h diff --git a/src/blocksorting/bs.h b/src/blocksorting/bs.h index 7e686ee..d3c47c9 100644 --- a/src/blocksorting/bs.h +++ b/src/blocksorting/bs.h @@ -6,7 +6,9 @@ #include #include +#ifndef Uint32 typedef unsigned long int Uint32; +#endif typedef struct _bs_t_ t_BlockSort; @@ -56,7 +58,9 @@ void bs_solve(char *in, char *out, t_BlockSort *bs, Uint32 *k, Uint32 leido); */ void bs_restore(char *dst, char *c, Uint32 k, Uint32 len); -int bs_readblock(FILE *fp, char *data, Uint32 pagesize); +int bs_readblock(FILE *fp, char *data, Uint32 pagesize, int usar_dic); + +char *bs_finalblock(char *data, Uint32 len, Uint32 *new_size); #endif