00001 /* 00002 * This file is part of RTRlib. 00003 * 00004 * This file is subject to the terms and conditions of the MIT license. 00005 * See the file LICENSE in the top level directory for more details. 00006 * 00007 * Website: http://rtrlib.realmv6.org/ 00008 */ 00009 00019 #ifndef RTR_TCP_TRANSPORT_H 00020 #define RTR_TCP_TRANSPORT_H 00021 00022 #include "rtrlib/transport/transport.h" 00023 00024 00033 struct tr_tcp_config { 00034 char *host; 00035 char *port; 00036 char *bindaddr; 00037 }; 00038 00046 int tr_tcp_init(const struct tr_tcp_config *config, struct tr_socket *socket); 00047 #endif 00048 /* @} */
1.6.1