Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F4525173
compress.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
784 B
Referenced Files
None
Subscribers
None
compress.h
View Options
/*
* Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved.
*
* Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
*
* This software licensed under GPL-2.0+, LGPL-2.0+
*/
#ifndef __KNET_COMPRESS_H__
#define __KNET_COMPRESS_H__
#include "internals.h"
int compress_cfg(
knet_handle_t knet_h,
struct knet_handle_compress_cfg *knet_handle_compress_cfg);
int compress_init(
knet_handle_t knet_h);
void compress_fini(
knet_handle_t knet_h,
int all);
int compress(
knet_handle_t knet_h,
const unsigned char *buf_in,
const ssize_t buf_in_len,
unsigned char *buf_out,
ssize_t *buf_out_len);
int decompress(
knet_handle_t knet_h,
int compress_model,
const unsigned char *buf_in,
const ssize_t buf_in_len,
unsigned char *buf_out,
ssize_t *buf_out_len);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Jun 26, 6:04 PM (22 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1959323
Default Alt Text
compress.h (784 B)
Attached To
Mode
rK kronosnet
Attached
Detach File
Event Timeline
Log In to Comment