X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Ftypes.hxx;h=264148515d4ae35cbaf64e258ce1ac3f500dd022;hp=3053dc54617847dd35aa6f9a7fc35ae3c5092f3a;hb=28cb45a5725e9c6054d7048a9bf969b9f2c94d64;hpb=9424729586fdb0aabb671d2f1266bdb07e0bed38 diff --git a/src/types.hxx b/src/types.hxx index 3053dc5..2641485 100644 --- a/src/types.hxx +++ b/src/types.hxx @@ -23,11 +23,15 @@ namespace libt2n { /// possible levels for logging -enum log_level_values { none=0, error=1, debug=2 }; +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=1, connection_deleted=2, __events_end }; + } #endif