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_add (void *handle, const void *data, int len)
unsigned char * sat_chksum_get (void *handle, int *lenp)
void * sat_chksum_free (void *handle, unsigned char *cp)
static int sat_chksum_len (Id type)


Function Documentation

void* sat_chksum_create ( Id  type  ) 

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

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

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

Definition at line 102 of file chksum.c.

References sat_chksum_get(), and sat_free().

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

Definition at line 8 of file chksum.h.

Referenced by repodata_chk2str(), repodata_set_bin_checksum(), and repodata_set_checksum().


doxygen