NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
compress_deflate_sample.c File Reference
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <doca_buf.h>
#include <doca_buf_inventory.h>
#include <doca_ctx.h>
#include <doca_compress.h>
#include <doca_error.h>
#include <doca_log.h>
#include "common.h"
#include "compress_common.h"
Include dependency graph for compress_deflate_sample.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (COMPRESS_DEFLATE)
 
doca_error_t compress_deflate (struct compress_cfg *cfg, char *file_data, size_t file_size)
 

Function Documentation

◆ compress_deflate()

doca_error_t compress_deflate ( struct compress_cfg cfg,
char *  file_data,
size_t  file_size 
)

Definition at line 51 of file compress_deflate_sample.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( COMPRESS_DEFLATE  )