#include <arpa/inet.h>
Defines | |
#define | CANCOMP_ERR -1 |
#define | CANCOMP_SUCCESS 0 |
#define | CANCOMP_NOT_20 1 |
#define | CANCOMP_CORRUPT 2 |
#define | CANCOMP_EXCEED 3 |
Functions | |
int | canada_uncompress (unsigned char *b, uint32_t *y, int *n, int m, uint32_t *v0) |
int | canada_compress (unsigned char *b, unsigned long *y, int *n, int m, unsigned long *v0) |
#define CANCOMP_CORRUPT 2 |
#define CANCOMP_ERR -1 |
#define CANCOMP_EXCEED 3 |
#define CANCOMP_NOT_20 1 |
#define CANCOMP_SUCCESS 0 |
int canada_compress | ( | unsigned char * | b, | |
unsigned long * | y, | |||
int * | n, | |||
int | m, | |||
unsigned long * | v0 | |||
) |
int canada_uncompress | ( | unsigned char * | b, | |
uint32_t * | y, | |||
int * | n, | |||
int | m, | |||
uint32_t * | v0 | |||
) |