+enum { O_VERBOSE, O_QUIET, O_DEBUG, O_HELP, O_VERSION };
+
+static struct option my_options[] =
+{
+ {"verbose", 0, 0, O_VERBOSE},
+ {"quiet", 0, 0, O_QUIET},
+ {"debug", 0, 0, O_DEBUG},
+ {"help", 0, 0, O_HELP},
+ {"version", 0, 0, O_VERSION},
+ {0, 0, 0, 0}
+};
+
+static const char* g_szIdStr = "$Id: wdq2wav.cpp,v 1.8 2003/01/21 07:37:13 kevin Exp $";
+
+static bool g_quiet = false;
+static bool g_verbose = false;
+static bool g_debug = false;
+
+#define MAX_INPUT_STR 256
+
+void
+error_msg (const char *msg)
+{
+ std::cerr << msg << "\n";
+}
+
+void
+info_msg (const char* msg)
+{
+ std::cout << msg << "\n";
+}