NCBI C++ ToolKit
Classes | Functions
ct_nlmzip_streamprocs.cpp File Reference
#include <ncbi_pch.hpp>
#include <ctools/ctransition/ncbimem.hpp>
#include <ctools/ctransition/ncbierr.hpp>
#include <assert.h>
#include "ct_nlmzip_i.h"
+ Include dependency graph for ct_nlmzip_streamprocs.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  cacher_t
 
struct  compressor_t
 

Functions

BEGIN_CTRANSITION_SCOPE fci_t LIBCALL fci_open (Pointer data, Int4(*proc_buf)(Pointer ptr, CharPtr buf, Int4 count), Int4(*pclose)(Pointer ptr, int commit))
 
static Int4 LIBCALLBACK cacher_read (Pointer ptr, CharPtr buf, Int4 count)
 
static Int4 LIBCALLBACK cacher_write (Pointer ptr, CharPtr buf, Int4 count)
 
static Int4 LIBCALLBACK cacher_close (Pointer ptr, int commit)
 
fci_t LIBCALL cacher_open (fci_t stream, int max_cache_size, int read)
 
static void compressor_header (compressor_t *db, UcharPtr header, int read)
 
static Int4 LIBCALLBACK compressor_read (Pointer ptr, CharPtr obuf, Int4 count)
 
static Int4 LIBCALLBACK compressor_write (Pointer ptr, CharPtr buf, Int4 count)
 
static Int4 LIBCALLBACK compressor_close (Pointer ptr, int commit)
 
fci_t LIBCALL compressor_open (fci_t stream, int max_buffer_size, int read)
 

Function Documentation

◆ cacher_close()

static Int4 LIBCALLBACK cacher_close ( Pointer  ptr,
int  commit 
)
static

◆ cacher_read()

static Int4 LIBCALLBACK cacher_read ( Pointer  ptr,
CharPtr  buf,
Int4  count 
)
static

◆ cacher_write()

static Int4 LIBCALLBACK cacher_write ( Pointer  ptr,
CharPtr  buf,
Int4  count 
)
static

◆ compressor_close()

static Int4 LIBCALLBACK compressor_close ( Pointer  ptr,
int  commit 
)
static

◆ compressor_header()

static void compressor_header ( compressor_t db,
UcharPtr  header,
int  read 
)
static

◆ compressor_read()

static Int4 LIBCALLBACK compressor_read ( Pointer  ptr,
CharPtr  obuf,
Int4  count 
)
static

◆ compressor_write()

static Int4 LIBCALLBACK compressor_write ( Pointer  ptr,
CharPtr  buf,
Int4  count 
)
static
Modified on Wed May 15 15:07:01 2024 by modify_doxy.py rev. 669887