CUBRID Engine  latest
connection_less.h File Reference
#include "connection_defs.h"
Include dependency graph for connection_less.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned int css_make_eid (unsigned short host_id, unsigned short rid)
 
CSS_MAP_ENTRYcss_queue_connection (CSS_CONN_ENTRY *conn, const char *host, CSS_MAP_ENTRY **anchor)
 
CSS_MAP_ENTRYcss_return_entry_from_eid (unsigned int eid, CSS_MAP_ENTRY *anchor)
 
void css_remove_queued_connection_by_entry (CSS_MAP_ENTRY *entry, CSS_MAP_ENTRY **anchor)
 
CSS_MAP_ENTRYcss_return_open_entry (char *host, CSS_MAP_ENTRY **anchor)
 
unsigned int css_return_eid_from_conn (CSS_CONN_ENTRY *conn, CSS_MAP_ENTRY **anchor, unsigned short rid)
 
CSS_MAP_ENTRYcss_return_entry_from_conn (CSS_CONN_ENTRY *conn, CSS_MAP_ENTRY *anchor)
 

Function Documentation

unsigned int css_make_eid ( unsigned short  host_id,
unsigned short  rid 
)
CSS_MAP_ENTRY* css_queue_connection ( CSS_CONN_ENTRY conn,
const char *  host,
CSS_MAP_ENTRY **  anchor 
)

Definition at line 119 of file connection_less.c.

References css_mapping_entry::conn, css_make_entry_id(), css_mapping_entry::id, css_mapping_entry::key, css_mapping_entry::next, NULL, and strlen.

Referenced by css_client_init(), and css_return_eid_from_conn().

Here is the caller graph for this function:

unsigned int css_return_eid_from_conn ( CSS_CONN_ENTRY conn,
CSS_MAP_ENTRY **  anchor,
unsigned short  rid 
)

Definition at line 274 of file connection_less.c.

References css_make_eid(), css_queue_connection(), css_return_entry_from_conn(), css_mapping_entry::id, and NULL.

Referenced by css_internal_request_handler().

Here is the caller graph for this function:

CSS_MAP_ENTRY* css_return_entry_from_conn ( CSS_CONN_ENTRY conn,
CSS_MAP_ENTRY anchor 
)

Definition at line 248 of file connection_less.c.

References css_mapping_entry::conn, css_mapping_entry::next, and NULL.

Referenced by css_handle_pipe_shutdown(), and css_return_eid_from_conn().

Here is the caller graph for this function:

CSS_MAP_ENTRY* css_return_entry_from_eid ( unsigned int  eid,
CSS_MAP_ENTRY anchor 
)

Definition at line 59 of file connection_less.c.

References CSS_ENTRYID_FROM_EID, css_mapping_entry::id, css_mapping_entry::next, and NULL.

Referenced by css_queue_receive_data_buffer(), and css_receive_data_from_server_with_timeout().

Here is the caller graph for this function: