CUBRID Engine  latest
connection_list_sr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  css_list_entry
 
struct  css_list
 

Typedefs

typedef struct css_list_entry CSS_LIST_ENTRY
 
typedef struct css_list CSS_LIST
 

Enumerations

enum  { TRAV_CONT = 0, TRAV_STOP = 1, TRAV_STOP_DELETE = 2, TRAV_CONT_DELETE = 3 }
 

Functions

int css_initialize_list (CSS_LIST *ptr, int free_count)
 
int css_finalize_list (CSS_LIST *ptr)
 
int css_add_list (CSS_LIST *ptr, void *item)
 
void * css_remove_list_from_head (CSS_LIST *ptr)
 
int css_traverse_list (CSS_LIST *ptr, int(*func)(void *, void *), void *arg)
 

Typedef Documentation

typedef struct css_list CSS_LIST

Definition at line 36 of file connection_list_sr.h.

Definition at line 29 of file connection_list_sr.h.

Enumeration Type Documentation

anonymous enum
Enumerator
TRAV_CONT 
TRAV_STOP 
TRAV_STOP_DELETE 
TRAV_CONT_DELETE 

Definition at line 47 of file connection_list_sr.h.

Function Documentation

int css_add_list ( CSS_LIST ptr,
void *  item 
)
int css_finalize_list ( CSS_LIST ptr)

Definition at line 121 of file connection_list_sr.c.

References assert, css_list::count, free_and_init, css_list::free_count, css_list::free_list, css_list_entry::next, NO_ERROR, and NULL.

Referenced by css_shutdown_conn().

Here is the caller graph for this function:

int css_initialize_list ( CSS_LIST ptr,
int  free_count 
)

Definition at line 83 of file connection_list_sr.c.

References assert, css_list::back, css_list::count, ER_CSS_ALLOC, css_list::free_count, free_count, css_list::free_list, css_list::front, i, css_list_entry::next, NO_ERROR, and NULL.

Referenced by css_initialize_conn().

Here is the caller graph for this function:

void* css_remove_list_from_head ( CSS_LIST ptr)

Definition at line 277 of file connection_list_sr.c.

References css_list::back, css_list::count, css_list_entry::data, css_list::free_count, css_list::free_list, css_list::front, css_list_entry::next, and NULL.

Referenced by css_return_queued_request().

Here is the caller graph for this function: