#include <glib-object.h> /* for g_type_init() */
#include <glib/ghash.h>
+#include <captive/client.h>
#include <captive/libxml.h>
#include <captive/options.h>
#include <captive/macros.h>
struct captive_libxml_string_drop_stack *drop_stack=NULL;
const gchar *xml_object;
- /* Prevent output block buffering if redirecting stdout to file. */
- setvbuf(stdout,(char *)NULL,_IONBF,0);
- setvbuf(stderr,(char *)NULL,_IONBF,0);
-
- /* Initialize GObject subsystem of GLib. */
- g_type_init();
+ captive_standalone_init();
captive_options_init(&options);