Changeset View
Changeset View
Standalone View
Standalone View
sys/opencrypto/xform_comp.h
Show All 40 Lines | |||||
struct comp_algo { | struct comp_algo { | ||||
int type; | int type; | ||||
char *name; | char *name; | ||||
size_t minlen; | size_t minlen; | ||||
uint32_t (*compress) (uint8_t *, uint32_t, uint8_t **); | uint32_t (*compress) (uint8_t *, uint32_t, uint8_t **); | ||||
uint32_t (*decompress) (uint8_t *, uint32_t, uint8_t **); | uint32_t (*decompress) (uint8_t *, uint32_t, uint8_t **); | ||||
}; | }; | ||||
extern struct comp_algo comp_algo_deflate; | extern const struct comp_algo comp_algo_deflate; | ||||
#endif /* _CRYPTO_XFORM_COMP_H_ */ | #endif /* _CRYPTO_XFORM_COMP_H_ */ |