/* $Id$
- * UDP forwarding utility
- * Copyright (C) 2004 Jan Kratochvil <project-udpforward@jankratochvil.net>
+ * UDP Gateway utility
+ * Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
static const struct poptOption popt_table[]={
-#define UDPFORWARD_POPT(shortname,longname,argInfoP,argP,valP,descripP,argDescripP) \
+#define UDPGATE_POPT(shortname,longname,argInfoP,argP,valP,descripP,argDescripP) \
{ \
longName: (longname), \
shortName: (shortname), \
argDescrip: (argDescripP), \
}
- UDPFORWARD_POPT(0 ,"text" ,POPT_ARG_NONE ,&optarg_text ,0,
+ UDPGATE_POPT(0 ,"text" ,POPT_ARG_NONE ,&optarg_text ,0,
N_("Disable Gnome UI; --text must be first argument"),NULL),
- UDPFORWARD_POPT('v',"verbose" ,POPT_ARG_NONE ,&optarg_verbose,0,N_("Display additional debug information"),NULL),
+ UDPGATE_POPT('v',"verbose" ,POPT_ARG_NONE ,&optarg_verbose,0,N_("Display additional debug information"),NULL),
-#undef UDPFORWARD_POPT
+#undef UDPGATE_POPT
POPT_TABLEEND
};
_exit(EXIT_FAILURE);
}
-gboolean gnome_init_g_log_handler_hit;
+static gboolean gnome_init_g_log_handler_hit;
static void gnome_init_g_log_handler(const gchar *log_domain,GLogLevelFlags log_level,const gchar *message,gpointer user_data)
{
gnome_init_g_log_handler_hit=TRUE;