Classes | Macros | Functions
splay.h File Reference
#include "curl_setup.h"
#include "timeval.h"
Include dependency graph for splay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Curl_tree
 

Macros

#define Curl_splaycomparekeys(i, j)
 
#define Curl_splayprint(x, y, z)   Curl_nop_stmt
 

Functions

struct Curl_treeCurl_splay (struct curltime i, struct Curl_tree *t)
 
struct Curl_treeCurl_splaygetbest (struct curltime key, struct Curl_tree *t, struct Curl_tree **removed)
 
struct Curl_treeCurl_splayinsert (struct curltime key, struct Curl_tree *t, struct Curl_tree *newnode)
 
int Curl_splayremovebyaddr (struct Curl_tree *t, struct Curl_tree *removenode, struct Curl_tree **newroot)
 

Macro Definition Documentation

#define Curl_splaycomparekeys (   i,
  j 
)
Value:
( ((i.tv_sec) < (j.tv_sec)) ? -1 : \
( ((i.tv_sec) > (j.tv_sec)) ? 1 : \
( ((i.tv_usec) < (j.tv_usec)) ? -1 : \
( ((i.tv_usec) > (j.tv_usec)) ? 1 : 0))))
int j
unsigned int i
Definition: unit1303.c:79

Definition at line 57 of file splay.h.

#define Curl_splayprint (   x,
  y,
  z 
)    Curl_nop_stmt

Definition at line 65 of file splay.h.

Function Documentation

struct Curl_tree* Curl_splay ( struct curltime  i,
struct Curl_tree t 
)

Definition at line 40 of file splay.c.

struct Curl_tree* Curl_splaygetbest ( struct curltime  key,
struct Curl_tree t,
struct Curl_tree **  removed 
)

Definition at line 154 of file splay.c.

struct Curl_tree* Curl_splayinsert ( struct curltime  key,
struct Curl_tree t,
struct Curl_tree newnode 
)

Definition at line 100 of file splay.c.

int Curl_splayremovebyaddr ( struct Curl_tree t,
struct Curl_tree removenode,
struct Curl_tree **  newroot 
)

Definition at line 210 of file splay.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17