open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
xht.h File Reference
#include "mdnsd_config.h"

Go to the source code of this file.

Typedefs

typedef struct xht xht_t
 
typedef void(* xht_walker) (xht_t *h, char *key, void *val, void *arg)
 

Functions

xht_t MDNSD_EXPORT * xht_new (int prime)
 
void MDNSD_EXPORT xht_set (xht_t *h, char *key, void *val)
 
void MDNSD_EXPORT xht_store (xht_t *h, char *key, int klen, void *val, int vlen)
 
void MDNSD_EXPORT * xht_get (xht_t *h, char *key)
 
void MDNSD_EXPORT xht_free (xht_t *h)
 
void xht_walk (xht_t *h, xht_walker w, void *arg)
 

Typedef Documentation

◆ xht_t

typedef struct xht xht_t

Simple string->void* hashtable, very static and bare minimal, but efficient.

Definition at line 10 of file xht.h.

◆ xht_walker

typedef void(* xht_walker) (xht_t *h, char *key, void *val, void *arg)

Definition at line 28 of file xht.h.

Function Documentation

◆ xht_new()

xht_t MDNSD_EXPORT * xht_new ( int prime)

◆ xht_set()

void MDNSD_EXPORT xht_set ( xht_t * h,
char * key,
void * val )

◆ xht_store()

void MDNSD_EXPORT xht_store ( xht_t * h,
char * key,
int klen,
void * val,
int vlen )

◆ xht_get()

void MDNSD_EXPORT * xht_get ( xht_t * h,
char * key )

◆ xht_free()

void MDNSD_EXPORT xht_free ( xht_t * h)

◆ xht_walk()

void xht_walk ( xht_t * h,
xht_walker w,
void * arg )