Typedefs | Functions
picotm-lib-tab.h File Reference
#include <stddef.h>
#include "compiler.h"

Typedefs

typedef int(* picotm_tab_compare_function) (const void *data0, const void *data1)
 
typedef size_t(* picotm_tabwalk_1_function) (void *data0, struct picotm_error *error)
 
typedef size_t(* picotm_tabwalk_2_function) (void *data0, void *data1, struct picotm_error *error)
 
typedef size_t(* picotm_tabwalk_3_function) (void *data0, void *data1, void *data2, struct picotm_error *error)
 

Functions

PICOTM_NOTHROW void picotm_tabfree (void *base)
 
PICOTM_NOTHROW void * picotm_tabresize (void *base, size_t nelems, size_t newnelems, size_t siz, struct picotm_error *error)
 
PICOTM_NOTHROW size_t picotm_tabrwalk_1 (void *base, size_t nelems, size_t siz, picotm_tabwalk_1_function walk, struct picotm_error *error)
 
PICOTM_NOTHROW size_t picotm_tabrwalk_2 (void *base, size_t nelems, size_t siz, picotm_tabwalk_2_function walk, void *data, struct picotm_error *error)
 
PICOTM_NOTHROW size_t picotm_tabuniq (void *base, size_t nelems, size_t siz, picotm_tab_compare_function compare)
 
PICOTM_NOTHROW size_t picotm_tabwalk_1 (void *base, size_t nelems, size_t siz, picotm_tabwalk_1_function walk, struct picotm_error *error)
 
PICOTM_NOTHROW size_t picotm_tabwalk_2 (void *base, size_t nelems, size_t siz, picotm_tabwalk_2_function walk, void *data, struct picotm_error *error)
 
PICOTM_NOTHROW size_t picotm_tabwalk_3 (void *base, size_t nelems, size_t siz, picotm_tabwalk_3_function walk, void *data1, void *data2, struct picotm_error *error)