CUBRID Engine  latest
connection_less.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 
20 /*
21  * connection_less.h -
22  */
23 
24 #ifndef _CONNECTION_LESS_H_
25 #define _CONNECTION_LESS_H_
26 
27 #ident "$Id$"
28 
29 #include "connection_defs.h"
30 
31 extern unsigned int css_make_eid (unsigned short host_id, unsigned short rid);
32 extern CSS_MAP_ENTRY *css_queue_connection (CSS_CONN_ENTRY * conn, const char *host, CSS_MAP_ENTRY ** anchor);
33 extern CSS_MAP_ENTRY *css_return_entry_from_eid (unsigned int eid, CSS_MAP_ENTRY * anchor);
35 extern CSS_MAP_ENTRY *css_return_open_entry (char *host, CSS_MAP_ENTRY ** anchor);
36 extern unsigned int css_return_eid_from_conn (CSS_CONN_ENTRY * conn, CSS_MAP_ENTRY ** anchor, unsigned short rid);
38 #endif /* _CONNECTION_LESS_H_ */
static int eid
Definition: cas_error_log.c:61
CSS_MAP_ENTRY * css_return_entry_from_conn(CSS_CONN_ENTRY *conn, CSS_MAP_ENTRY *anchor)
void css_remove_queued_connection_by_entry(CSS_MAP_ENTRY *entry, CSS_MAP_ENTRY **anchor)
CSS_MAP_ENTRY * css_queue_connection(CSS_CONN_ENTRY *conn, const 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_ENTRY * css_return_entry_from_eid(unsigned int eid, CSS_MAP_ENTRY *anchor)
unsigned int css_make_eid(unsigned short host_id, unsigned short rid)
static char * host
CSS_MAP_ENTRY * css_return_open_entry(char *host, CSS_MAP_ENTRY **anchor)