X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Ftypes.hxx;h=fc2811ea38148cd6c48e5cdd50f92dc4d6dd005e;hp=6ccad826d6c5df6d7f07c6237208d40092897fcf;hb=1420fedca67b619596ec194a2cabdf23e7b81c3a;hpb=a11e19b7adab2d5b937573701959562f06087ac5 diff --git a/src/types.hxx b/src/types.hxx index 6ccad82..fc2811e 100644 --- a/src/types.hxx +++ b/src/types.hxx @@ -22,9 +22,16 @@ namespace libt2n { -enum log_level_values { none=0, error=1, debug=2 }; +/// possible levels for logging +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