/* $Id$
- * Include file for UDP Gateway utility startup scripts support using chkconfig(8)
+ * Include file for UDP Gateway utility startup_chkconfig scripts inheritance support
* Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
*
* This program is free software; you can redistribute it and/or modify
#include <glib/gtypes.h>
+#include <glib-object.h>
+#include "startup.h"
G_BEGIN_DECLS
-gboolean startup_chkconfig_init(void);
-gboolean startup_chkconfig_query(gboolean *is_on);
-gboolean startup_chkconfig_on(void);
-gboolean startup_chkconfig_off(void);
+#define UDPGATE_TYPE_STARTUP_CHKCONFIG (udpgate_startup_chkconfig_get_type())
+#define UDPGATE_STARTUP_CHKCONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),UDPGATE_TYPE_STARTUP_CHKCONFIG,UdpgateStartupChkconfig))
+#define UDPGATE_STARTUP_CHKCONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),UDPGATE_TYPE_STARTUP_CHKCONFIG,UdpgateStartupChkconfigClass))
+#define UDPGATE_IS_STARTUP_CHKCONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),UDPGATE_TYPE_STARTUP_CHKCONFIG))
+#define UDPGATE_IS_STARTUP_CHKCONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),UDPGATE_TYPE_STARTUP_CHKCONFIG))
+#define UDPGATE_STARTUP_CHKCONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),UDPGATE_TYPE_STARTUP_CHKCONFIG,UdpgateStartupChkconfigClass))
+
+typedef struct _UdpgateStartupChkconfig UdpgateStartupChkconfig;
+typedef struct _UdpgateStartupChkconfigClass UdpgateStartupChkconfigClass;
+
+struct _UdpgateStartupChkconfig
+{
+ UdpgateStartup parent_instance;
+};
+
+struct _UdpgateStartupChkconfigClass
+{
+ UdpgateStartupClass parent_class;
+};
+
+GType udpgate_startup_chkconfig_get_type(void) G_GNUC_CONST;
+UdpgateStartupChkconfig *udpgate_startup_chkconfig_new(void);
G_END_DECLS