CUBRID Engine  latest
connection_list_cl.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_list_cl.h -
22  */
23 
24 #ifndef _CONNECTION_LIST_CL_H_
25 #define _CONNECTION_LIST_CL_H_
26 
27 #ident "$Id$"
28 
29 #include "connection_defs.h"
30 
31 extern void css_queue_unexpected_data_packet (CSS_CONN_ENTRY * conn, unsigned short request_id, char *header, int size,
32  int rc);
33 extern void css_queue_unexpected_error_packet (CSS_CONN_ENTRY * conn, unsigned short request_id, char *header, int size,
34  int rc);
35 extern void css_queue_unexpected_packet (int type, CSS_CONN_ENTRY * conn, unsigned short request_id,
36  NET_HEADER * header, int size);
37 extern int css_queue_user_data_buffer (CSS_CONN_ENTRY * conn, unsigned short request_id, int size, char *buffer);
38 extern CSS_QUEUE_ENTRY *css_find_queue_entry (CSS_QUEUE_ENTRY * header, unsigned int key);
40 extern void css_queue_remove_header_entry (CSS_QUEUE_ENTRY ** anchor, unsigned short request_id);
41 extern void css_queue_remove_header (CSS_QUEUE_ENTRY ** anchor);
42 
43 #endif /* _CONNECTION_LIST_CL_H_ */
void css_queue_remove_header(CSS_QUEUE_ENTRY **anchor)
CSS_QUEUE_ENTRY * css_find_queue_entry(CSS_QUEUE_ENTRY *header, unsigned int key)
void css_queue_unexpected_data_packet(CSS_CONN_ENTRY *conn, unsigned short request_id, char *header, int size, int rc)
void css_queue_remove_header_entry_ptr(CSS_QUEUE_ENTRY **anchor, CSS_QUEUE_ENTRY *entry)
void css_queue_unexpected_error_packet(CSS_CONN_ENTRY *conn, unsigned short request_id, char *header, int size, int rc)
void css_queue_unexpected_packet(int type, CSS_CONN_ENTRY *conn, unsigned short request_id, NET_HEADER *header, int size)
void css_queue_remove_header_entry(CSS_QUEUE_ENTRY **anchor, unsigned short request_id)
int css_queue_user_data_buffer(CSS_CONN_ENTRY *conn, unsigned short request_id, int size, char *buffer)
static int rc
Definition: serial.c:50