00001 /* 00002 * $Id$ 00003 * 00004 * Copyright (C) 2010 iptelorg GmbH 00005 * 00006 * Permission to use, copy, modify, and distribute this software for any 00007 * purpose with or without fee is hereby granted, provided that the above 00008 * copyright notice and this permission notice appear in all copies. 00009 * 00010 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 00011 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 00012 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 00013 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 00014 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 00015 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 00016 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 00017 */ 00021 /* 00022 * History: 00023 * -------- 00024 * 2010-03-23 initial version (andrei) 00025 */ 00026 00027 #ifndef __tcp_int_send_h 00028 #define __tcp_int_send_h 00029 00030 #include "tcp_conn.h" 00031 00032 int tcpconn_send_unsafe(int fd, struct tcp_connection *c, 00033 const char* buf, unsigned len, snd_flags_t send_flags); 00034 00035 /* direct non-blocking, unsafe (assumes locked) send on a tcp connection */ 00036 int _tcpconn_write_nb(int fd, struct tcp_connection* c, 00037 const char* buf, int len); 00038 00039 00040 #endif /*__tcp_int_send_h*/ 00041 00042 /* vi: set ts=4 sw=4 tw=79:ai:cindent: */
1.7.1