libt2n: (gerd) finish server callbacks
[libt2n] / src / types.hxx
index 2641485..fc2811e 100644 (file)
@@ -30,7 +30,7 @@ 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 };
+enum callback_event_type { new_connection=0, connection_closed, connection_deleted, __events_end };
 
 }