GNU libmicrohttpd 1.0.1
Loading...
Searching...
No Matches
tsearch.c File Reference
#include "tsearch.h"
#include <stdlib.h>
Include dependency graph for tsearch.c:

Go to the source code of this file.

Typedefs

typedef struct node node_t
 

Functions

voidtsearch (const void *vkey, void **vrootp, int(*compar)(const void *, const void *))
 
voidtfind (const void *vkey, void *const *vrootp, int(*compar)(const void *, const void *))
 
voidtdelete (const void *__restrict vkey, void **__restrict vrootp, int(*compar)(const void *, const void *))
 

Typedef Documentation

◆ node_t

Function Documentation

◆ tdelete()

void * tdelete ( const void *__restrict vkey,
void **__restrict vrootp,
int(*)(const void *, const void *) compar )

Definition at line 95 of file tsearch.c.

References MHD_HTTP_OK, and NULL.

Referenced by MHD_ip_limit_del(), and MHD_ip_limit_del().

Here is the caller graph for this function:

◆ tfind()

void * tfind ( const void * vkey,
void *const * vrootp,
int(*)(const void *, const void *) compar )

Definition at line 63 of file tsearch.c.

References MHD_HTTP_OK, and NULL.

Referenced by MHD_ip_limit_del(), and MHD_ip_limit_del().

Here is the caller graph for this function:

◆ tsearch()

void * tsearch ( const void * vkey,
void ** vrootp,
int(*)(const void *, const void *) compar )

Definition at line 27 of file tsearch.c.

References MHD_HTTP_OK, and NULL.

Referenced by MHD_ip_limit_add(), and MHD_ip_limit_add().

Here is the caller graph for this function: