Classes | Defines | Functions
splay.h File Reference
#include "curl_setup.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

Defines

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

Functions

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

Define 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))))

Definition at line 55 of file splay.h.

#define Curl_splayprint (   x,
  y,
  z 
)    Curl_nop_stmt

Definition at line 63 of file splay.h.


Function Documentation

struct Curl_tree* Curl_splay ( struct timeval  i,
struct Curl_tree t 
) [read]

Definition at line 40 of file splay.c.

struct Curl_tree* Curl_splaygetbest ( struct timeval  key,
struct Curl_tree t,
struct Curl_tree **  removed 
) [read]

Definition at line 154 of file splay.c.

struct Curl_tree* Curl_splayinsert ( struct timeval  key,
struct Curl_tree t,
struct Curl_tree newnode 
) [read]

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 222 of file splay.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09