CUBRID Engine  latest
connection_list_sr.c File Reference
#include "config.h"
#include <stdio.h>
#include <netinet/in.h>
#include <poll.h>
#include <string.h>
#include <malloc.h>
#include <memory.h>
#include <errno.h>
#include <assert.h>
#include "connection_list_sr.h"
#include "connection_error.h"
Include dependency graph for connection_list_sr.c:

Go to the source code of this file.

Functions

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

Function Documentation

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

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 list,
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 list)

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: