chksum.h File Reference

#include "pool.h"

Go to the source code of this file.

Functions

void * sat_chksum_create (Id type)
void * sat_chksum_create_from_bin (Id type, const unsigned char *buf)
void sat_chksum_add (void *handle, const void *data, int len)
Id sat_chksum_get_type (void *handle)
int sat_chksum_isfinished (void *handle)
const unsigned char * sat_chksum_get (void *handle, int *lenp)
void * sat_chksum_free (void *handle, unsigned char *cp)
const char * sat_chksum_type2str (Id type)
Id sat_chksum_str2type (const char *str)
static int sat_chksum_len (Id type)


Function Documentation

void* sat_chksum_create ( Id  type  ) 

void* sat_chksum_create_from_bin ( Id  type,
const unsigned char *  buf 
)

void sat_chksum_add ( void *  handle,
const void *  data,
int  len 
)

Id sat_chksum_get_type ( void *  handle  ) 

Definition at line 124 of file chksum.c.

References ctxhandle::type.

int sat_chksum_isfinished ( void *  handle  ) 

Definition at line 131 of file chksum.c.

References ctxhandle::done.

const unsigned char* sat_chksum_get ( void *  handle,
int *  lenp 
)

void* sat_chksum_free ( void *  handle,
unsigned char *  cp 
)

Definition at line 166 of file chksum.c.

References sat_chksum_get(), and sat_free().

const char* sat_chksum_type2str ( Id  type  ) 

Definition at line 138 of file chksum.c.

Id sat_chksum_str2type ( const char *  str  ) 

Definition at line 154 of file chksum.c.

static int sat_chksum_len ( Id  type  )  [inline, static]


Generated on Mon Dec 15 17:56:24 2014 for satsolver by  doxygen 1.5.6