X-Git-Url: http://www.project-moonshot.org/gitweb/?p=radsecproxy.git;a=blobdiff_plain;f=tcp.h;h=eddc4c8b4cd6bc8c53855918138f173779aff890;hp=c9b653caf5584339257a3ed965b2bb5fbbe4f8f4;hb=HEAD;hpb=8d80bf94fc38a158f3721e6725aa48b3993e157a diff --git a/tcp.h b/tcp.h index c9b653c..eddc4c8 100644 --- a/tcp.h +++ b/tcp.h @@ -1,9 +1,7 @@ -/* - * Copyright (C) 2008 Stig Venaas - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - */ +/* Copyright 2011 NORDUnet A/S. All rights reserved. + See LICENSE for licensing information. */ -const struct protodefs *tcpinit(uint8_t h); +void tcp_event_cb (struct bufferevent *bev, short events, void *user_data); +void tcp_read_cb (struct bufferevent *bev, void *user_data); +void tcp_write_cb (struct bufferevent *bev, void *ctx); +int tcp_init_connect_timer (struct rs_connection *conn);