00001 /*************************************************************************** 00002 * Copyright (C) 2006 by Gerd v. Egidy * 00003 * gve@intra2net.com * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU Lesser General Public License version * 00007 * 2.1 as published by the Free Software Foundation. * 00008 * * 00009 * This library is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU Lesser General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU Lesser General Public * 00015 * License along with this program; if not, write to the * 00016 * Free Software Foundation, Inc., * 00017 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00018 ***************************************************************************/ 00019 #ifndef __LIBT2N_TYPES 00020 #define __LIBT2N_TYPES 00021 00022 namespace libt2n 00023 { 00024 00026 enum log_level_values { none=0, error=1, debug=2, fulldebug=3 }; 00027 00029 enum socket_type_value { tcp_s, unix_s }; 00030 00033 enum callback_event_type { new_connection=0, connection_closed, connection_deleted, __events_end }; 00034 00035 } 00036 00037 #endif
1.5.6