+/* GNIO - GLib Network Layer of GIO
+ *
+ * Copyright (C) 2008 Christian Kellner, Samuel Cormier-Iijima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Authors: Christian Kellner <gicmo@gnome.org>
+ * Samuel Cormier-Iijima <sciyoshi@gmail.com>
+ */
+
#ifndef G_INET6_ADDRESS_H
#define G_INET6_ADDRESS_H
#include <glib-object.h>
-#include <ginetaddress.h>
+#include <gnio/ginetaddress.h>
G_BEGIN_DECLS
typedef struct _GInet6AddressClass GInet6AddressClass;
typedef struct _GInet6AddressPrivate GInet6AddressPrivate;
-struct _GInet6Address {
-
- GInetAddress parent;
+struct _GInet6Address
+{
+ GInetAddress parent;
- GInet6AddressPrivate *priv;
+ GInet6AddressPrivate *priv;
};
-struct _GInet6AddressClass {
-
- GInetAddressClass parent_class;
+struct _GInet6AddressClass
+{
+ GInetAddressClass parent_class;
};
+GType g_inet6_address_get_type (void) G_GNUC_CONST;
+
+GInet6Address * g_inet6_address_from_string (const char *string);
+
+GInet6Address * g_inet6_address_from_bytes (guint8 bytes[]);
-GType g_inet6_address_get_type (void) G_GNUC_CONST;
+const guint8 * g_inet6_address_to_bytes (GInet6Address *address);
-GInet6Address * g_inet6_address_from_string (const char *string);
-char * g_inet6_address_to_string (GInet6Address *address);
+GInet6Address * g_inet6_address_new_loopback (void);
-GInet6Address * g_inet6_address_from_bytes (guint8 bytes[]);
-const guint8 * g_inet6_address_to_bytes (GInet6Address *address);
+GInet6Address * g_inet6_address_new_any (void);
-GInetAddress * g_inet6address_new_loopback (void);
-GInetAddress * g_inet6address_new_any (void);
G_END_DECLS
#endif /* G_INET6_ADDRESS_H */