X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Ftypes.hxx;h=fc2811ea38148cd6c48e5cdd50f92dc4d6dd005e;hp=ef42a479c8a3408c24ecc28da78b162d0ff199f3;hb=5f5fa5fc0cbb49c63e1ab1dee6722e4b89c727ea;hpb=d535333ffe637c9e547e68b792f334c229641520 diff --git a/src/types.hxx b/src/types.hxx index ef42a47..fc2811e 100644 --- a/src/types.hxx +++ b/src/types.hxx @@ -28,6 +28,10 @@ enum log_level_values { none=0, error=1, debug=2, fulldebug=3 }; /// possible types of a socket (tcp and unix) enum socket_type_value { tcp_s, unix_s }; +/// possible events for callback, __events_end must be the last event and must not be used +/// for anything else than marking the end +enum callback_event_type { new_connection=0, connection_closed, connection_deleted, __events_end }; + } #endif