[vala] Remove gnet-2.0 bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Remove gnet-2.0 bindings
- Date: Wed, 15 Apr 2009 15:20:43 -0400 (EDT)
commit e7cc8a45c75b8a4da8787341c00d1d28ff0bce96
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 15 21:17:42 2009 +0200
Remove gnet-2.0 bindings
The generated bindings are broken as the C library does not follow
the usual naming conventions. If there is still demand for gnet-2.0
bindings, manual bindings should be added.
---
vapi/Makefile.am | 1 -
vapi/gnet-2.0.vapi | 680 -----------
vapi/packages/gnet-2.0/gnet-2.0-custom.vala | 12 -
vapi/packages/gnet-2.0/gnet-2.0.files | 3 -
vapi/packages/gnet-2.0/gnet-2.0.gi | 1642 ---------------------------
vapi/packages/gnet-2.0/gnet-2.0.metadata | 5 -
vapi/packages/gnet-2.0/gnet-2.0.namespace | 1 -
7 files changed, 0 insertions(+), 2344 deletions(-)
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 3f276c4..f6f2341 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -26,7 +26,6 @@ dist_vapi_DATA = \
gio-unix-2.0.deps \
gio-unix-2.0.vapi \
gmodule-2.0.vapi \
- gnet-2.0.vapi \
gnome-desktop-2.0.deps \
gnome-desktop-2.0.vapi \
gnome-keyring-1.vapi \
diff --git a/vapi/gnet-2.0.vapi b/vapi/gnet-2.0.vapi
deleted file mode 100644
index a402f69..0000000
--- a/vapi/gnet-2.0.vapi
+++ /dev/null
@@ -1,680 +0,0 @@
-/* gnet-2.0.vapi generated by lt-vapigen, do not modify. */
-
-[CCode (cprefix = "G", lower_case_cprefix = "gnet_")]
-namespace GNet {
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class Conn {
- public weak string buffer;
- public uint bytes_read;
- public uint bytes_written;
- public weak GNet.TcpSocketConnectAsyncID connect_id;
- public weak GLib.MainContext context;
- public weak GNet.ConnFunc func;
- public weak string hostname;
- public weak GNet.InetAddr inetaddr;
- public weak GLib.IOChannel iochannel;
- public uint length;
- public weak GNet.TcpSocketNewAsyncID new_id;
- public int port;
- public int priority;
- public uint process_buffer_timeout;
- public bool read_eof;
- public weak GLib.List read_queue;
- public uint ref_count;
- public uint ref_count_internal;
- public weak GNet.TcpSocket socket;
- public uint timer;
- public void* user_data;
- public uint watch;
- public uint watch_flags;
- public bool watch_readable;
- public bool watch_writable;
- public weak GLib.List write_queue;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnEvent {
- public weak string buffer;
- public int length;
- public GNet.ConnEventType type;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnHttp {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnHttpEvent {
- public void* padding;
- public ulong stsize;
- public GNet.ConnHttpEventType type;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnHttpEventData {
- public weak string buffer;
- public ulong buffer_length;
- public uint64 content_length;
- public uint64 data_received;
- public void* padding;
- public weak GNet.ConnHttpEvent parent;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnHttpEventError {
- public GNet.ConnHttpError code;
- public weak string message;
- public void* padding;
- public weak GNet.ConnHttpEvent parent;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnHttpEventRedirect {
- public bool auto_redirect;
- public uint max_redirects;
- public weak string new_location;
- public uint num_redirects;
- public void* padding;
- public weak GNet.ConnHttpEvent parent;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnHttpEventResolved {
- public weak GNet.InetAddr ia;
- public void* padding;
- public weak GNet.ConnHttpEvent parent;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class ConnHttpEventResponse {
- public weak string header_fields;
- public weak string header_values;
- public void* padding;
- public weak GNet.ConnHttpEvent parent;
- public uint response_code;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class InetAddr {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class InetAddrGetNameAsyncID {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class InetAddrNewAsyncID {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class InetAddrNewListAsyncID {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class MD5 {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class McastSocket {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class SHA {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class Server {
- public weak GNet.ServerFunc func;
- public weak GNet.InetAddr iface;
- public int port;
- public uint ref_count;
- public weak GNet.TcpSocket socket;
- public void* user_data;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class TcpSocket {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class TcpSocketConnectAsyncID {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class TcpSocketNewAsyncID {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class URI {
- public weak string fragment;
- public weak string hostname;
- public weak string path;
- public int port;
- public weak string query;
- public weak string scheme;
- public weak string userinfo;
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class UdpSocket {
- }
- [Compact]
- [CCode (cheader_filename = "gnet.h")]
- public class UnixSocket {
- }
- [CCode (cheader_filename = "gnet.h")]
- public struct NetTOS {
- }
- [CCode (cprefix = "GNET_CONN_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum ConnEventType {
- ERROR,
- CONNECT,
- CLOSE,
- TIMEOUT,
- READ,
- WRITE,
- READABLE,
- WRITABLE
- }
- [CCode (cprefix = "GNET_CONN_HTTP_ERROR_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum ConnHttpError {
- UNSPECIFIED,
- PROTOCOL_UNSUPPORTED,
- HOSTNAME_RESOLUTION
- }
- [CCode (cprefix = "GNET_CONN_HTTP_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum ConnHttpEventType {
- RESOLVED,
- CONNECTED,
- RESPONSE,
- REDIRECT,
- DATA_PARTIAL,
- DATA_COMPLETE,
- TIMEOUT,
- ERROR
- }
- [CCode (cprefix = "GNET_CONN_HTTP_FLAG_SKIP_HEADER_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum ConnHttpHeaderFlags {
- CHECK
- }
- [CCode (cprefix = "GNET_CONN_HTTP_METHOD_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum ConnHttpMethod {
- GET,
- POST
- }
- [CCode (cprefix = "GNET_IO_ERROR_", cheader_filename = "gnet.h")]
- public enum IOError {
- NONE,
- AGAIN,
- INVAL,
- UNKNOWN
- }
- [CCode (cprefix = "GIPV6_POLICY_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum IPv6Policy {
- IPV4_THEN_IPV6,
- IPV6_THEN_IPV4,
- IPV4_ONLY,
- IPV6_ONLY
- }
- [CCode (cprefix = "GNET_TOS_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum TOS {
- NONE,
- LOWDELAY,
- THROUGHPUT,
- RELIABILITY,
- LOWCOST
- }
- [CCode (cprefix = "GTCP_SOCKET_CONNECT_ASYNC_STATUS_", has_type_id = "0", cheader_filename = "gnet.h")]
- public enum TcpSocketConnectAsyncStatus {
- OK,
- INETADDR_ERROR,
- TCP_ERROR
- }
- [CCode (cheader_filename = "gnet.h")]
- public delegate void ConnFunc (GNet.Conn conn, GNet.ConnEvent event);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void ConnHttpFunc (GNet.ConnHttp conn, GNet.ConnHttpEvent event);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void InetAddrGetNameAsyncFunc (string hostname);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void InetAddrNewAsyncFunc (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void InetAddrNewListAsyncFunc (GLib.List list);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void ServerFunc (GNet.Server server, GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void TcpSocketAcceptFunc (GNet.TcpSocket server, GNet.TcpSocket client);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void TcpSocketConnectAsyncFunc (GNet.TcpSocket socket, GNet.TcpSocketConnectAsyncStatus status);
- [CCode (cheader_filename = "gnet.h")]
- public delegate void TcpSocketNewAsyncFunc (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public const int INETADDR_MAX_LEN;
- [CCode (cheader_filename = "gnet.h")]
- public const int MD5_HASH_LENGTH;
- [CCode (cheader_filename = "gnet.h")]
- public const int SHA_HASH_LENGTH;
- [CCode (cheader_filename = "gnet.h")]
- public const int SOCKS_PORT;
- [CCode (cheader_filename = "gnet.h")]
- public const int SOCKS_VERSION;
- [CCode (cheader_filename = "gnet.h")]
- public static weak string base64_decode (string src, int srclen, int dstlenp);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string base64_encode (string src, int srclen, int dstlenp, bool strict);
- [CCode (cheader_filename = "gnet.h")]
- public static int calcsize (string format);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_connect (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_delete (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_disconnect (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_http_cancel (GNet.ConnHttp conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_http_delete (GNet.ConnHttp conn);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.ConnHttp conn_http_new ();
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_run (GNet.ConnHttp conn, GNet.ConnHttpFunc func);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_http_run_async (GNet.ConnHttp conn, GNet.ConnHttpFunc func);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_set_escaped_uri (GNet.ConnHttp conn, string uri);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_set_header (GNet.ConnHttp conn, string field, string value, GNet.ConnHttpHeaderFlags flags);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_set_main_context (GNet.ConnHttp conn, GLib.MainContext context);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_http_set_max_redirects (GNet.ConnHttp conn, uint num);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_set_method (GNet.ConnHttp conn, GNet.ConnHttpMethod method, string post_data, ulong post_data_len);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_http_set_timeout (GNet.ConnHttp conn, uint timeout);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_set_uri (GNet.ConnHttp conn, string uri);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_set_user_agent (GNet.ConnHttp conn, string agent);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_http_steal_buffer (GNet.ConnHttp conn, string buffer, ulong length);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_is_connected (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.Conn conn_new (string hostname, int port, GNet.ConnFunc func);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_read (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_readline (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_readn (GNet.Conn conn, int length);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_ref (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_set_callback (GNet.Conn conn, GNet.ConnFunc func);
- [CCode (cheader_filename = "gnet.h")]
- public static bool conn_set_main_context (GNet.Conn conn, GLib.MainContext context);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_set_watch_error (GNet.Conn conn, bool enable);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_set_watch_readable (GNet.Conn conn, bool enable);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_set_watch_writable (GNet.Conn conn, bool enable);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_timeout (GNet.Conn conn, uint timeout);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_unref (GNet.Conn conn);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_write (GNet.Conn conn, string buffer, int length);
- [CCode (cheader_filename = "gnet.h")]
- public static void conn_write_direct (GNet.Conn conn, string buffer, int length, GLib.DestroyNotify buffer_destroy_cb);
- [CCode (cname = "gnet_conn_new_inetaddr", cheader_filename = "gnet.h")]
- public static weak GNet.Conn from_inetaddr (GNet.InetAddr inetaddr, GNet.ConnFunc func);
- [CCode (cname = "gnet_conn_new_socket", cheader_filename = "gnet.h")]
- public static weak GNet.Conn from_socket (GNet.TcpSocket socket, GNet.ConnFunc func);
- [CCode (cheader_filename = "gnet.h")]
- public static bool http_get (string url, string buffer, ulong length, uint response);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_autodetect_internet_interface ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_clone (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_delete (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_delete_list (GLib.List list);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_equal (void* p1, void* p2);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_get_bytes (GNet.InetAddr inetaddr, string buffer);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string inetaddr_get_canonical_name (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_get_host_addr ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak string inetaddr_get_host_name ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_get_interface_to (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_get_internet_interface ();
- [CCode (cheader_filename = "gnet.h")]
- public static int inetaddr_get_length (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string inetaddr_get_name (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddrGetNameAsyncID inetaddr_get_name_async (GNet.InetAddr inetaddr, GNet.InetAddrGetNameAsyncFunc func, void* data);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_get_name_async_cancel (GNet.InetAddrGetNameAsyncID id);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddrGetNameAsyncID inetaddr_get_name_async_full (GNet.InetAddr inetaddr, GNet.InetAddrGetNameAsyncFunc func, void* data, GLib.DestroyNotify notify, GLib.MainContext context, int priority);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string inetaddr_get_name_nonblock (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static int inetaddr_get_port (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static uint inetaddr_hash (void* p);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_broadcast (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_canonical (string hostname);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_internet (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_internet_domainname (string name);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_ipv4 (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_ipv6 (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_loopback (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_multicast (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_private (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_is_reserved (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GLib.List inetaddr_list_interfaces ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_new (string hostname, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddrNewAsyncID inetaddr_new_async (string hostname, int port, GNet.InetAddrNewAsyncFunc func, void* data);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_new_async_cancel (GNet.InetAddrNewAsyncID id);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddrNewAsyncID inetaddr_new_async_full (string hostname, int port, GNet.InetAddrNewAsyncFunc func, void* data, GLib.DestroyNotify notify, GLib.MainContext context, int priority);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_new_bytes (string bytes, uint length);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GLib.List inetaddr_new_list (string hostname, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddrNewListAsyncID inetaddr_new_list_async (string hostname, int port, GNet.InetAddrNewListAsyncFunc func, void* data);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_new_list_async_cancel (GNet.InetAddrNewListAsyncID id);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddrNewListAsyncID inetaddr_new_list_async_full (string hostname, int port, GNet.InetAddrNewListAsyncFunc func, void* data, GLib.DestroyNotify notify, GLib.MainContext context, int priority);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr inetaddr_new_nonblock (string hostname, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static bool inetaddr_noport_equal (void* p1, void* p2);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_ref (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_set_bytes (GNet.InetAddr inetaddr, string bytes, int length);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_set_port (GNet.InetAddr inetaddr, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static void inetaddr_unref (GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static void init ();
- [CCode (cheader_filename = "gnet.h")]
- public static GNet.IOError io_channel_readline (GLib.IOChannel channel, string buffer, ulong length, ulong bytes_readp);
- [CCode (cheader_filename = "gnet.h")]
- public static GNet.IOError io_channel_readline_strdup (GLib.IOChannel channel, string bufferp, ulong bytes_readp);
- [CCode (cheader_filename = "gnet.h")]
- public static GNet.IOError io_channel_readn (GLib.IOChannel channel, void* buffer, ulong length, ulong bytes_readp);
- [CCode (cheader_filename = "gnet.h")]
- public static GNet.IOError io_channel_writen (GLib.IOChannel channel, void* buffer, ulong length, ulong bytes_writtenp);
- [CCode (cheader_filename = "gnet.h")]
- public static GNet.IPv6Policy ipv6_get_policy ();
- [CCode (cheader_filename = "gnet.h")]
- public static void ipv6_set_policy (GNet.IPv6Policy policy);
- [CCode (cheader_filename = "gnet.h")]
- public static void mcast_socket_delete (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GLib.IOChannel mcast_socket_get_io_channel (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr mcast_socket_get_local_inetaddr (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_get_ttl (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static bool mcast_socket_has_packet (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_is_loopback (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_join_group (GNet.McastSocket socket, GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_leave_group (GNet.McastSocket socket, GNet.InetAddr inetaddr);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.McastSocket mcast_socket_new ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.McastSocket mcast_socket_new_full (GNet.InetAddr iface, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.McastSocket mcast_socket_new_with_port (int port);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_receive (GNet.McastSocket socket, string buffer, int length, out weak GNet.InetAddr src);
- [CCode (cheader_filename = "gnet.h")]
- public static void mcast_socket_ref (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_send (GNet.McastSocket socket, string buffer, int length, GNet.InetAddr dst);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_set_loopback (GNet.McastSocket socket, bool enable);
- [CCode (cheader_filename = "gnet.h")]
- public static int mcast_socket_set_ttl (GNet.McastSocket socket, int ttl);
- [CCode (cheader_filename = "gnet.h")]
- public static void mcast_socket_unref (GNet.McastSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.MD5 md5_clone (GNet.MD5 md5);
- [CCode (cheader_filename = "gnet.h")]
- public static void md5_copy_string (GNet.MD5 md5, string buffer);
- [CCode (cheader_filename = "gnet.h")]
- public static void md5_delete (GNet.MD5 md5);
- [CCode (cheader_filename = "gnet.h")]
- public static bool md5_equal (void* p1, void* p2);
- [CCode (cheader_filename = "gnet.h")]
- public static void md5_final (GNet.MD5 md5);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string md5_get_digest (GNet.MD5 md5);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string md5_get_string (GNet.MD5 md5);
- [CCode (cheader_filename = "gnet.h")]
- public static uint md5_hash (void* p);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.MD5 md5_new (string buffer, uint length);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.MD5 md5_new_incremental ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.MD5 md5_new_string (string str);
- [CCode (cheader_filename = "gnet.h")]
- public static void md5_update (GNet.MD5 md5, string buffer, uint length);
- [CCode (cheader_filename = "gnet.h")]
- public static int pack (string format, string buffer, int length);
- [CCode (cheader_filename = "gnet.h")]
- public static int pack_strdup (string format, string bufferp);
- [CCode (cheader_filename = "gnet.h")]
- public static void server_delete (GNet.Server server);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.Server server_new (GNet.InetAddr iface, int port, GNet.ServerFunc func);
- [CCode (cheader_filename = "gnet.h")]
- public static void server_ref (GNet.Server server);
- [CCode (cheader_filename = "gnet.h")]
- public static void server_unref (GNet.Server server);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.SHA sha_clone (GNet.SHA sha);
- [CCode (cheader_filename = "gnet.h")]
- public static void sha_copy_string (GNet.SHA sha, string buffer);
- [CCode (cheader_filename = "gnet.h")]
- public static void sha_delete (GNet.SHA sha);
- [CCode (cheader_filename = "gnet.h")]
- public static bool sha_equal (void* p1, void* p2);
- [CCode (cheader_filename = "gnet.h")]
- public static void sha_final (GNet.SHA sha);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string sha_get_digest (GNet.SHA sha);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string sha_get_string (GNet.SHA sha);
- [CCode (cheader_filename = "gnet.h")]
- public static uint sha_hash (void* p);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.SHA sha_new (string buffer, uint length);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.SHA sha_new_incremental ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.SHA sha_new_string (string str);
- [CCode (cheader_filename = "gnet.h")]
- public static void sha_update (GNet.SHA sha, string buffer, uint length);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_connect (string hostname, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocketConnectAsyncID tcp_socket_connect_async (string hostname, int port, GNet.TcpSocketConnectAsyncFunc func, void* data);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_connect_async_cancel (GNet.TcpSocketConnectAsyncID id);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocketConnectAsyncID tcp_socket_connect_async_full (string hostname, int port, GNet.TcpSocketConnectAsyncFunc func, void* data, GLib.DestroyNotify notify, GLib.MainContext context, int priority);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_delete (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GLib.IOChannel tcp_socket_get_io_channel (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr tcp_socket_get_local_inetaddr (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int tcp_socket_get_port (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr tcp_socket_get_remote_inetaddr (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_new (GNet.InetAddr addr);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocketNewAsyncID tcp_socket_new_async (GNet.InetAddr addr, GNet.TcpSocketNewAsyncFunc func, void* data);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_new_async_cancel (GNet.TcpSocketNewAsyncID id);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocketNewAsyncID tcp_socket_new_async_direct (GNet.InetAddr addr, GNet.TcpSocketNewAsyncFunc func, void* data);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocketNewAsyncID tcp_socket_new_async_direct_full (GNet.InetAddr addr, GNet.TcpSocketNewAsyncFunc func, void* data, GLib.DestroyNotify notify, GLib.MainContext context, int priority);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocketNewAsyncID tcp_socket_new_async_full (GNet.InetAddr addr, GNet.TcpSocketNewAsyncFunc func, void* data, GLib.DestroyNotify notify, GLib.MainContext context, int priority);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_new_direct (GNet.InetAddr addr);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_ref (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_server_accept (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_server_accept_async (GNet.TcpSocket socket, GNet.TcpSocketAcceptFunc accept_func);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_server_accept_async_cancel (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_server_accept_nonblock (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_server_new ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_server_new_full (GNet.InetAddr iface, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.TcpSocket tcp_socket_server_new_with_port (int port);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_set_tos (GNet.TcpSocket socket, GNet.NetTOS tos);
- [CCode (cheader_filename = "gnet.h")]
- public static void tcp_socket_unref (GNet.TcpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static void udp_socket_delete (GNet.UdpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GLib.IOChannel udp_socket_get_io_channel (GNet.UdpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.InetAddr udp_socket_get_local_inetaddr (GNet.UdpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int udp_socket_get_ttl (GNet.UdpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static bool udp_socket_has_packet (GNet.UdpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UdpSocket udp_socket_new ();
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UdpSocket udp_socket_new_full (GNet.InetAddr iface, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UdpSocket udp_socket_new_with_port (int port);
- [CCode (cheader_filename = "gnet.h")]
- public static int udp_socket_receive (GNet.UdpSocket socket, string buffer, int length, out weak GNet.InetAddr src);
- [CCode (cheader_filename = "gnet.h")]
- public static void udp_socket_ref (GNet.UdpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int udp_socket_send (GNet.UdpSocket socket, string buffer, int length, GNet.InetAddr dst);
- [CCode (cheader_filename = "gnet.h")]
- public static int udp_socket_set_ttl (GNet.UdpSocket socket, int ttl);
- [CCode (cheader_filename = "gnet.h")]
- public static void udp_socket_unref (GNet.UdpSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static void unix_socket_delete (GNet.UnixSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GLib.IOChannel unix_socket_get_io_channel (GNet.UnixSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string unix_socket_get_path (GNet.UnixSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UnixSocket unix_socket_new (string path);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UnixSocket unix_socket_new_abstract (string path);
- [CCode (cheader_filename = "gnet.h")]
- public static void unix_socket_ref (GNet.UnixSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UnixSocket unix_socket_server_accept (GNet.UnixSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UnixSocket unix_socket_server_accept_nonblock (GNet.UnixSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UnixSocket unix_socket_server_new (string path);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.UnixSocket unix_socket_server_new_abstract (string path);
- [CCode (cheader_filename = "gnet.h")]
- public static void unix_socket_unref (GNet.UnixSocket socket);
- [CCode (cheader_filename = "gnet.h")]
- public static int unpack (string format, string buffer, int length);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.URI uri_clone (GNet.URI uri);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_delete (GNet.URI uri);
- [CCode (cheader_filename = "gnet.h")]
- public static bool uri_equal (void* p1, void* p2);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_escape (GNet.URI uri);
- [CCode (cheader_filename = "gnet.h")]
- public static weak string uri_get_string (GNet.URI uri);
- [CCode (cheader_filename = "gnet.h")]
- public static uint uri_hash (void* p);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.URI uri_new (string uri);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.URI uri_new_fields (string scheme, string hostname, int port, string path);
- [CCode (cheader_filename = "gnet.h")]
- public static weak GNet.URI uri_new_fields_all (string scheme, string userinfo, string hostname, int port, string path, string query, string fragment);
- [CCode (cheader_filename = "gnet.h")]
- public static bool uri_parse_inplace (GNet.URI guri, string uri, string hostname, ulong len);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_set_fragment (GNet.URI uri, string fragment);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_set_hostname (GNet.URI uri, string hostname);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_set_path (GNet.URI uri, string path);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_set_port (GNet.URI uri, int port);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_set_query (GNet.URI uri, string query);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_set_scheme (GNet.URI uri, string scheme);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_set_userinfo (GNet.URI uri, string userinfo);
- [CCode (cheader_filename = "gnet.h")]
- public static void uri_unescape (GNet.URI uri);
- [CCode (cheader_filename = "gnet.h")]
- public static int vcalcsize (string format, void* args);
- [CCode (cheader_filename = "gnet.h")]
- public static int vpack (string format, string buffer, int length, void* args);
- [CCode (cheader_filename = "gnet.h")]
- public static int vunpack (string format, string buffer, int length, void* args);
-}
diff --git a/vapi/packages/gnet-2.0/gnet-2.0-custom.vala b/vapi/packages/gnet-2.0/gnet-2.0-custom.vala
deleted file mode 100644
index 7d03b92..0000000
--- a/vapi/packages/gnet-2.0/gnet-2.0-custom.vala
+++ /dev/null
@@ -1,12 +0,0 @@
-[CCode (cprefix = "G")]
-namespace GNet {
- public struct NetTOS {}
-
- /* Deprecated glib API */
- public enum IOError {
- NONE,
- AGAIN,
- INVAL,
- UNKNOWN
- }
-}
diff --git a/vapi/packages/gnet-2.0/gnet-2.0.files b/vapi/packages/gnet-2.0/gnet-2.0.files
deleted file mode 100644
index df2dcc8..0000000
--- a/vapi/packages/gnet-2.0/gnet-2.0.files
+++ /dev/null
@@ -1,3 +0,0 @@
-include/gnet-2.0/
-lib/libgnet-2.0.so
-
diff --git a/vapi/packages/gnet-2.0/gnet-2.0.gi b/vapi/packages/gnet-2.0/gnet-2.0.gi
deleted file mode 100644
index e7bb2f2..0000000
--- a/vapi/packages/gnet-2.0/gnet-2.0.gi
+++ /dev/null
@@ -1,1642 +0,0 @@
-<?xml version="1.0"?>
-<api version="1.0">
- <namespace name="GNet">
- <function name="base64_decode" symbol="gnet_base64_decode">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="src" type="gchar*"/>
- <parameter name="srclen" type="gint"/>
- <parameter name="dstlenp" type="gint*"/>
- </parameters>
- </function>
- <function name="base64_encode" symbol="gnet_base64_encode">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="src" type="gchar*"/>
- <parameter name="srclen" type="gint"/>
- <parameter name="dstlenp" type="gint*"/>
- <parameter name="strict" type="gboolean"/>
- </parameters>
- </function>
- <function name="calcsize" symbol="gnet_calcsize">
- <return-type type="gint"/>
- <parameters>
- <parameter name="format" type="gchar*"/>
- </parameters>
- </function>
- <function name="conn_connect" symbol="gnet_conn_connect">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_delete" symbol="gnet_conn_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_disconnect" symbol="gnet_conn_disconnect">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_http_cancel" symbol="gnet_conn_http_cancel">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- </parameters>
- </function>
- <function name="conn_http_delete" symbol="gnet_conn_http_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- </parameters>
- </function>
- <function name="conn_http_new" symbol="gnet_conn_http_new">
- <return-type type="GConnHttp*"/>
- </function>
- <function name="conn_http_run" symbol="gnet_conn_http_run">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="func" type="GConnHttpFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="conn_http_run_async" symbol="gnet_conn_http_run_async">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="func" type="GConnHttpFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="conn_http_set_escaped_uri" symbol="gnet_conn_http_set_escaped_uri">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="uri" type="gchar*"/>
- </parameters>
- </function>
- <function name="conn_http_set_header" symbol="gnet_conn_http_set_header">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="field" type="gchar*"/>
- <parameter name="value" type="gchar*"/>
- <parameter name="flags" type="GConnHttpHeaderFlags"/>
- </parameters>
- </function>
- <function name="conn_http_set_main_context" symbol="gnet_conn_http_set_main_context">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="context" type="GMainContext*"/>
- </parameters>
- </function>
- <function name="conn_http_set_max_redirects" symbol="gnet_conn_http_set_max_redirects">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="num" type="guint"/>
- </parameters>
- </function>
- <function name="conn_http_set_method" symbol="gnet_conn_http_set_method">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="method" type="GConnHttpMethod"/>
- <parameter name="post_data" type="gchar*"/>
- <parameter name="post_data_len" type="gsize"/>
- </parameters>
- </function>
- <function name="conn_http_set_timeout" symbol="gnet_conn_http_set_timeout">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="timeout" type="guint"/>
- </parameters>
- </function>
- <function name="conn_http_set_uri" symbol="gnet_conn_http_set_uri">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="uri" type="gchar*"/>
- </parameters>
- </function>
- <function name="conn_http_set_user_agent" symbol="gnet_conn_http_set_user_agent">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="agent" type="gchar*"/>
- </parameters>
- </function>
- <function name="conn_http_steal_buffer" symbol="gnet_conn_http_steal_buffer">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="buffer" type="gchar**"/>
- <parameter name="length" type="gsize*"/>
- </parameters>
- </function>
- <function name="conn_is_connected" symbol="gnet_conn_is_connected">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_new" symbol="gnet_conn_new">
- <return-type type="GConn*"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GConnFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="conn_new_inetaddr" symbol="gnet_conn_new_inetaddr">
- <return-type type="GConn*"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- <parameter name="func" type="GConnFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="conn_new_socket" symbol="gnet_conn_new_socket">
- <return-type type="GConn*"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- <parameter name="func" type="GConnFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="conn_read" symbol="gnet_conn_read">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_readline" symbol="gnet_conn_readline">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_readn" symbol="gnet_conn_readn">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="length" type="gint"/>
- </parameters>
- </function>
- <function name="conn_ref" symbol="gnet_conn_ref">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_set_callback" symbol="gnet_conn_set_callback">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="func" type="GConnFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="conn_set_main_context" symbol="gnet_conn_set_main_context">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="context" type="GMainContext*"/>
- </parameters>
- </function>
- <function name="conn_set_watch_error" symbol="gnet_conn_set_watch_error">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="enable" type="gboolean"/>
- </parameters>
- </function>
- <function name="conn_set_watch_readable" symbol="gnet_conn_set_watch_readable">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="enable" type="gboolean"/>
- </parameters>
- </function>
- <function name="conn_set_watch_writable" symbol="gnet_conn_set_watch_writable">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="enable" type="gboolean"/>
- </parameters>
- </function>
- <function name="conn_timeout" symbol="gnet_conn_timeout">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="timeout" type="guint"/>
- </parameters>
- </function>
- <function name="conn_unref" symbol="gnet_conn_unref">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- </parameters>
- </function>
- <function name="conn_write" symbol="gnet_conn_write">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- </parameters>
- </function>
- <function name="conn_write_direct" symbol="gnet_conn_write_direct">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- <parameter name="buffer_destroy_cb" type="GDestroyNotify"/>
- </parameters>
- </function>
- <function name="http_get" symbol="gnet_http_get">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="url" type="gchar*"/>
- <parameter name="buffer" type="gchar**"/>
- <parameter name="length" type="gsize*"/>
- <parameter name="response" type="guint*"/>
- </parameters>
- </function>
- <function name="inetaddr_autodetect_internet_interface" symbol="gnet_inetaddr_autodetect_internet_interface">
- <return-type type="GInetAddr*"/>
- </function>
- <function name="inetaddr_clone" symbol="gnet_inetaddr_clone">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_delete" symbol="gnet_inetaddr_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_delete_list" symbol="gnet_inetaddr_delete_list">
- <return-type type="void"/>
- <parameters>
- <parameter name="list" type="GList*"/>
- </parameters>
- </function>
- <function name="inetaddr_equal" symbol="gnet_inetaddr_equal">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="p1" type="gconstpointer"/>
- <parameter name="p2" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="inetaddr_get_bytes" symbol="gnet_inetaddr_get_bytes">
- <return-type type="void"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- <parameter name="buffer" type="gchar*"/>
- </parameters>
- </function>
- <function name="inetaddr_get_canonical_name" symbol="gnet_inetaddr_get_canonical_name">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_get_host_addr" symbol="gnet_inetaddr_get_host_addr">
- <return-type type="GInetAddr*"/>
- </function>
- <function name="inetaddr_get_host_name" symbol="gnet_inetaddr_get_host_name">
- <return-type type="gchar*"/>
- </function>
- <function name="inetaddr_get_interface_to" symbol="gnet_inetaddr_get_interface_to">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_get_internet_interface" symbol="gnet_inetaddr_get_internet_interface">
- <return-type type="GInetAddr*"/>
- </function>
- <function name="inetaddr_get_length" symbol="gnet_inetaddr_get_length">
- <return-type type="gint"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_get_name" symbol="gnet_inetaddr_get_name">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_get_name_async" symbol="gnet_inetaddr_get_name_async">
- <return-type type="GInetAddrGetNameAsyncID"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- <parameter name="func" type="GInetAddrGetNameAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </function>
- <function name="inetaddr_get_name_async_cancel" symbol="gnet_inetaddr_get_name_async_cancel">
- <return-type type="void"/>
- <parameters>
- <parameter name="id" type="GInetAddrGetNameAsyncID"/>
- </parameters>
- </function>
- <function name="inetaddr_get_name_async_full" symbol="gnet_inetaddr_get_name_async_full">
- <return-type type="GInetAddrGetNameAsyncID"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- <parameter name="func" type="GInetAddrGetNameAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- <parameter name="notify" type="GDestroyNotify"/>
- <parameter name="context" type="GMainContext*"/>
- <parameter name="priority" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_get_name_nonblock" symbol="gnet_inetaddr_get_name_nonblock">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_get_port" symbol="gnet_inetaddr_get_port">
- <return-type type="gint"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_hash" symbol="gnet_inetaddr_hash">
- <return-type type="guint"/>
- <parameters>
- <parameter name="p" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="inetaddr_is_broadcast" symbol="gnet_inetaddr_is_broadcast">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_canonical" symbol="gnet_inetaddr_is_canonical">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_internet" symbol="gnet_inetaddr_is_internet">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_internet_domainname" symbol="gnet_inetaddr_is_internet_domainname">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="name" type="gchar*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_ipv4" symbol="gnet_inetaddr_is_ipv4">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_ipv6" symbol="gnet_inetaddr_is_ipv6">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_loopback" symbol="gnet_inetaddr_is_loopback">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_multicast" symbol="gnet_inetaddr_is_multicast">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_private" symbol="gnet_inetaddr_is_private">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_is_reserved" symbol="gnet_inetaddr_is_reserved">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_list_interfaces" symbol="gnet_inetaddr_list_interfaces">
- <return-type type="GList*"/>
- </function>
- <function name="inetaddr_new" symbol="gnet_inetaddr_new">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_new_async" symbol="gnet_inetaddr_new_async">
- <return-type type="GInetAddrNewAsyncID"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GInetAddrNewAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </function>
- <function name="inetaddr_new_async_cancel" symbol="gnet_inetaddr_new_async_cancel">
- <return-type type="void"/>
- <parameters>
- <parameter name="id" type="GInetAddrNewAsyncID"/>
- </parameters>
- </function>
- <function name="inetaddr_new_async_full" symbol="gnet_inetaddr_new_async_full">
- <return-type type="GInetAddrNewAsyncID"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GInetAddrNewAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- <parameter name="notify" type="GDestroyNotify"/>
- <parameter name="context" type="GMainContext*"/>
- <parameter name="priority" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_new_bytes" symbol="gnet_inetaddr_new_bytes">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="bytes" type="gchar*"/>
- <parameter name="length" type="guint"/>
- </parameters>
- </function>
- <function name="inetaddr_new_list" symbol="gnet_inetaddr_new_list">
- <return-type type="GList*"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_new_list_async" symbol="gnet_inetaddr_new_list_async">
- <return-type type="GInetAddrNewListAsyncID"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GInetAddrNewListAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </function>
- <function name="inetaddr_new_list_async_cancel" symbol="gnet_inetaddr_new_list_async_cancel">
- <return-type type="void"/>
- <parameters>
- <parameter name="id" type="GInetAddrNewListAsyncID"/>
- </parameters>
- </function>
- <function name="inetaddr_new_list_async_full" symbol="gnet_inetaddr_new_list_async_full">
- <return-type type="GInetAddrNewListAsyncID"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GInetAddrNewListAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- <parameter name="notify" type="GDestroyNotify"/>
- <parameter name="context" type="GMainContext*"/>
- <parameter name="priority" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_new_nonblock" symbol="gnet_inetaddr_new_nonblock">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_noport_equal" symbol="gnet_inetaddr_noport_equal">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="p1" type="gconstpointer"/>
- <parameter name="p2" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="inetaddr_ref" symbol="gnet_inetaddr_ref">
- <return-type type="void"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="inetaddr_set_bytes" symbol="gnet_inetaddr_set_bytes">
- <return-type type="void"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- <parameter name="bytes" type="gchar*"/>
- <parameter name="length" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_set_port" symbol="gnet_inetaddr_set_port">
- <return-type type="void"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="inetaddr_unref" symbol="gnet_inetaddr_unref">
- <return-type type="void"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="init" symbol="gnet_init">
- <return-type type="void"/>
- </function>
- <function name="io_channel_readline" symbol="gnet_io_channel_readline">
- <return-type type="GIOError"/>
- <parameters>
- <parameter name="channel" type="GIOChannel*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gsize"/>
- <parameter name="bytes_readp" type="gsize*"/>
- </parameters>
- </function>
- <function name="io_channel_readline_strdup" symbol="gnet_io_channel_readline_strdup">
- <return-type type="GIOError"/>
- <parameters>
- <parameter name="channel" type="GIOChannel*"/>
- <parameter name="bufferp" type="gchar**"/>
- <parameter name="bytes_readp" type="gsize*"/>
- </parameters>
- </function>
- <function name="io_channel_readn" symbol="gnet_io_channel_readn">
- <return-type type="GIOError"/>
- <parameters>
- <parameter name="channel" type="GIOChannel*"/>
- <parameter name="buffer" type="gpointer"/>
- <parameter name="length" type="gsize"/>
- <parameter name="bytes_readp" type="gsize*"/>
- </parameters>
- </function>
- <function name="io_channel_writen" symbol="gnet_io_channel_writen">
- <return-type type="GIOError"/>
- <parameters>
- <parameter name="channel" type="GIOChannel*"/>
- <parameter name="buffer" type="gpointer"/>
- <parameter name="length" type="gsize"/>
- <parameter name="bytes_writtenp" type="gsize*"/>
- </parameters>
- </function>
- <function name="ipv6_get_policy" symbol="gnet_ipv6_get_policy">
- <return-type type="GIPv6Policy"/>
- </function>
- <function name="ipv6_set_policy" symbol="gnet_ipv6_set_policy">
- <return-type type="void"/>
- <parameters>
- <parameter name="policy" type="GIPv6Policy"/>
- </parameters>
- </function>
- <function name="mcast_socket_delete" symbol="gnet_mcast_socket_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="mcast_socket_get_io_channel" symbol="gnet_mcast_socket_get_io_channel">
- <return-type type="GIOChannel*"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="mcast_socket_get_local_inetaddr" symbol="gnet_mcast_socket_get_local_inetaddr">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="mcast_socket_get_ttl" symbol="gnet_mcast_socket_get_ttl">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="mcast_socket_has_packet" symbol="gnet_mcast_socket_has_packet">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="mcast_socket_is_loopback" symbol="gnet_mcast_socket_is_loopback">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="mcast_socket_join_group" symbol="gnet_mcast_socket_join_group">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="mcast_socket_leave_group" symbol="gnet_mcast_socket_leave_group">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- <parameter name="inetaddr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="mcast_socket_new" symbol="gnet_mcast_socket_new">
- <return-type type="GMcastSocket*"/>
- </function>
- <function name="mcast_socket_new_full" symbol="gnet_mcast_socket_new_full">
- <return-type type="GMcastSocket*"/>
- <parameters>
- <parameter name="iface" type="GInetAddr*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="mcast_socket_new_with_port" symbol="gnet_mcast_socket_new_with_port">
- <return-type type="GMcastSocket*"/>
- <parameters>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="mcast_socket_receive" symbol="gnet_mcast_socket_receive">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- <parameter name="src" type="GInetAddr**"/>
- </parameters>
- </function>
- <function name="mcast_socket_ref" symbol="gnet_mcast_socket_ref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="mcast_socket_send" symbol="gnet_mcast_socket_send">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- <parameter name="dst" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="mcast_socket_set_loopback" symbol="gnet_mcast_socket_set_loopback">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- <parameter name="enable" type="gboolean"/>
- </parameters>
- </function>
- <function name="mcast_socket_set_ttl" symbol="gnet_mcast_socket_set_ttl">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- <parameter name="ttl" type="gint"/>
- </parameters>
- </function>
- <function name="mcast_socket_unref" symbol="gnet_mcast_socket_unref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GMcastSocket*"/>
- </parameters>
- </function>
- <function name="md5_clone" symbol="gnet_md5_clone">
- <return-type type="GMD5*"/>
- <parameters>
- <parameter name="md5" type="GMD5*"/>
- </parameters>
- </function>
- <function name="md5_copy_string" symbol="gnet_md5_copy_string">
- <return-type type="void"/>
- <parameters>
- <parameter name="md5" type="GMD5*"/>
- <parameter name="buffer" type="gchar*"/>
- </parameters>
- </function>
- <function name="md5_delete" symbol="gnet_md5_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="md5" type="GMD5*"/>
- </parameters>
- </function>
- <function name="md5_equal" symbol="gnet_md5_equal">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="p1" type="gconstpointer"/>
- <parameter name="p2" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="md5_final" symbol="gnet_md5_final">
- <return-type type="void"/>
- <parameters>
- <parameter name="md5" type="GMD5*"/>
- </parameters>
- </function>
- <function name="md5_get_digest" symbol="gnet_md5_get_digest">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="md5" type="GMD5*"/>
- </parameters>
- </function>
- <function name="md5_get_string" symbol="gnet_md5_get_string">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="md5" type="GMD5*"/>
- </parameters>
- </function>
- <function name="md5_hash" symbol="gnet_md5_hash">
- <return-type type="guint"/>
- <parameters>
- <parameter name="p" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="md5_new" symbol="gnet_md5_new">
- <return-type type="GMD5*"/>
- <parameters>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="guint"/>
- </parameters>
- </function>
- <function name="md5_new_incremental" symbol="gnet_md5_new_incremental">
- <return-type type="GMD5*"/>
- </function>
- <function name="md5_new_string" symbol="gnet_md5_new_string">
- <return-type type="GMD5*"/>
- <parameters>
- <parameter name="str" type="gchar*"/>
- </parameters>
- </function>
- <function name="md5_update" symbol="gnet_md5_update">
- <return-type type="void"/>
- <parameters>
- <parameter name="md5" type="GMD5*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="guint"/>
- </parameters>
- </function>
- <function name="pack" symbol="gnet_pack">
- <return-type type="gint"/>
- <parameters>
- <parameter name="format" type="gchar*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- </parameters>
- </function>
- <function name="pack_strdup" symbol="gnet_pack_strdup">
- <return-type type="gint"/>
- <parameters>
- <parameter name="format" type="gchar*"/>
- <parameter name="bufferp" type="gchar**"/>
- </parameters>
- </function>
- <function name="server_delete" symbol="gnet_server_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="server" type="GServer*"/>
- </parameters>
- </function>
- <function name="server_new" symbol="gnet_server_new">
- <return-type type="GServer*"/>
- <parameters>
- <parameter name="iface" type="GInetAddr*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GServerFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="server_ref" symbol="gnet_server_ref">
- <return-type type="void"/>
- <parameters>
- <parameter name="server" type="GServer*"/>
- </parameters>
- </function>
- <function name="server_unref" symbol="gnet_server_unref">
- <return-type type="void"/>
- <parameters>
- <parameter name="server" type="GServer*"/>
- </parameters>
- </function>
- <function name="sha_clone" symbol="gnet_sha_clone">
- <return-type type="GSHA*"/>
- <parameters>
- <parameter name="sha" type="GSHA*"/>
- </parameters>
- </function>
- <function name="sha_copy_string" symbol="gnet_sha_copy_string">
- <return-type type="void"/>
- <parameters>
- <parameter name="sha" type="GSHA*"/>
- <parameter name="buffer" type="gchar*"/>
- </parameters>
- </function>
- <function name="sha_delete" symbol="gnet_sha_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="sha" type="GSHA*"/>
- </parameters>
- </function>
- <function name="sha_equal" symbol="gnet_sha_equal">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="p1" type="gconstpointer"/>
- <parameter name="p2" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="sha_final" symbol="gnet_sha_final">
- <return-type type="void"/>
- <parameters>
- <parameter name="sha" type="GSHA*"/>
- </parameters>
- </function>
- <function name="sha_get_digest" symbol="gnet_sha_get_digest">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="sha" type="GSHA*"/>
- </parameters>
- </function>
- <function name="sha_get_string" symbol="gnet_sha_get_string">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="sha" type="GSHA*"/>
- </parameters>
- </function>
- <function name="sha_hash" symbol="gnet_sha_hash">
- <return-type type="guint"/>
- <parameters>
- <parameter name="p" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="sha_new" symbol="gnet_sha_new">
- <return-type type="GSHA*"/>
- <parameters>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="guint"/>
- </parameters>
- </function>
- <function name="sha_new_incremental" symbol="gnet_sha_new_incremental">
- <return-type type="GSHA*"/>
- </function>
- <function name="sha_new_string" symbol="gnet_sha_new_string">
- <return-type type="GSHA*"/>
- <parameters>
- <parameter name="str" type="gchar*"/>
- </parameters>
- </function>
- <function name="sha_update" symbol="gnet_sha_update">
- <return-type type="void"/>
- <parameters>
- <parameter name="sha" type="GSHA*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="guint"/>
- </parameters>
- </function>
- <function name="tcp_socket_connect" symbol="gnet_tcp_socket_connect">
- <return-type type="GTcpSocket*"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="tcp_socket_connect_async" symbol="gnet_tcp_socket_connect_async">
- <return-type type="GTcpSocketConnectAsyncID"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GTcpSocketConnectAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </function>
- <function name="tcp_socket_connect_async_cancel" symbol="gnet_tcp_socket_connect_async_cancel">
- <return-type type="void"/>
- <parameters>
- <parameter name="id" type="GTcpSocketConnectAsyncID"/>
- </parameters>
- </function>
- <function name="tcp_socket_connect_async_full" symbol="gnet_tcp_socket_connect_async_full">
- <return-type type="GTcpSocketConnectAsyncID"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="func" type="GTcpSocketConnectAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- <parameter name="notify" type="GDestroyNotify"/>
- <parameter name="context" type="GMainContext*"/>
- <parameter name="priority" type="gint"/>
- </parameters>
- </function>
- <function name="tcp_socket_delete" symbol="gnet_tcp_socket_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_get_io_channel" symbol="gnet_tcp_socket_get_io_channel">
- <return-type type="GIOChannel*"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_get_local_inetaddr" symbol="gnet_tcp_socket_get_local_inetaddr">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_get_port" symbol="gnet_tcp_socket_get_port">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_get_remote_inetaddr" symbol="gnet_tcp_socket_get_remote_inetaddr">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_new" symbol="gnet_tcp_socket_new">
- <return-type type="GTcpSocket*"/>
- <parameters>
- <parameter name="addr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="tcp_socket_new_async" symbol="gnet_tcp_socket_new_async">
- <return-type type="GTcpSocketNewAsyncID"/>
- <parameters>
- <parameter name="addr" type="GInetAddr*"/>
- <parameter name="func" type="GTcpSocketNewAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </function>
- <function name="tcp_socket_new_async_cancel" symbol="gnet_tcp_socket_new_async_cancel">
- <return-type type="void"/>
- <parameters>
- <parameter name="id" type="GTcpSocketNewAsyncID"/>
- </parameters>
- </function>
- <function name="tcp_socket_new_async_direct" symbol="gnet_tcp_socket_new_async_direct">
- <return-type type="GTcpSocketNewAsyncID"/>
- <parameters>
- <parameter name="addr" type="GInetAddr*"/>
- <parameter name="func" type="GTcpSocketNewAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </function>
- <function name="tcp_socket_new_async_direct_full" symbol="gnet_tcp_socket_new_async_direct_full">
- <return-type type="GTcpSocketNewAsyncID"/>
- <parameters>
- <parameter name="addr" type="GInetAddr*"/>
- <parameter name="func" type="GTcpSocketNewAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- <parameter name="notify" type="GDestroyNotify"/>
- <parameter name="context" type="GMainContext*"/>
- <parameter name="priority" type="gint"/>
- </parameters>
- </function>
- <function name="tcp_socket_new_async_full" symbol="gnet_tcp_socket_new_async_full">
- <return-type type="GTcpSocketNewAsyncID"/>
- <parameters>
- <parameter name="addr" type="GInetAddr*"/>
- <parameter name="func" type="GTcpSocketNewAsyncFunc"/>
- <parameter name="data" type="gpointer"/>
- <parameter name="notify" type="GDestroyNotify"/>
- <parameter name="context" type="GMainContext*"/>
- <parameter name="priority" type="gint"/>
- </parameters>
- </function>
- <function name="tcp_socket_new_direct" symbol="gnet_tcp_socket_new_direct">
- <return-type type="GTcpSocket*"/>
- <parameters>
- <parameter name="addr" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="tcp_socket_ref" symbol="gnet_tcp_socket_ref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_server_accept" symbol="gnet_tcp_socket_server_accept">
- <return-type type="GTcpSocket*"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_server_accept_async" symbol="gnet_tcp_socket_server_accept_async">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- <parameter name="accept_func" type="GTcpSocketAcceptFunc"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </function>
- <function name="tcp_socket_server_accept_async_cancel" symbol="gnet_tcp_socket_server_accept_async_cancel">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_server_accept_nonblock" symbol="gnet_tcp_socket_server_accept_nonblock">
- <return-type type="GTcpSocket*"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="tcp_socket_server_new" symbol="gnet_tcp_socket_server_new">
- <return-type type="GTcpSocket*"/>
- </function>
- <function name="tcp_socket_server_new_full" symbol="gnet_tcp_socket_server_new_full">
- <return-type type="GTcpSocket*"/>
- <parameters>
- <parameter name="iface" type="GInetAddr*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="tcp_socket_server_new_with_port" symbol="gnet_tcp_socket_server_new_with_port">
- <return-type type="GTcpSocket*"/>
- <parameters>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="tcp_socket_set_tos" symbol="gnet_tcp_socket_set_tos">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- <parameter name="tos" type="GNetTOS"/>
- </parameters>
- </function>
- <function name="tcp_socket_unref" symbol="gnet_tcp_socket_unref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- </parameters>
- </function>
- <function name="udp_socket_delete" symbol="gnet_udp_socket_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- </parameters>
- </function>
- <function name="udp_socket_get_io_channel" symbol="gnet_udp_socket_get_io_channel">
- <return-type type="GIOChannel*"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- </parameters>
- </function>
- <function name="udp_socket_get_local_inetaddr" symbol="gnet_udp_socket_get_local_inetaddr">
- <return-type type="GInetAddr*"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- </parameters>
- </function>
- <function name="udp_socket_get_ttl" symbol="gnet_udp_socket_get_ttl">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- </parameters>
- </function>
- <function name="udp_socket_has_packet" symbol="gnet_udp_socket_has_packet">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- </parameters>
- </function>
- <function name="udp_socket_new" symbol="gnet_udp_socket_new">
- <return-type type="GUdpSocket*"/>
- </function>
- <function name="udp_socket_new_full" symbol="gnet_udp_socket_new_full">
- <return-type type="GUdpSocket*"/>
- <parameters>
- <parameter name="iface" type="GInetAddr*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="udp_socket_new_with_port" symbol="gnet_udp_socket_new_with_port">
- <return-type type="GUdpSocket*"/>
- <parameters>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="udp_socket_receive" symbol="gnet_udp_socket_receive">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- <parameter name="src" type="GInetAddr**"/>
- </parameters>
- </function>
- <function name="udp_socket_ref" symbol="gnet_udp_socket_ref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- </parameters>
- </function>
- <function name="udp_socket_send" symbol="gnet_udp_socket_send">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- <parameter name="dst" type="GInetAddr*"/>
- </parameters>
- </function>
- <function name="udp_socket_set_ttl" symbol="gnet_udp_socket_set_ttl">
- <return-type type="gint"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- <parameter name="ttl" type="gint"/>
- </parameters>
- </function>
- <function name="udp_socket_unref" symbol="gnet_udp_socket_unref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GUdpSocket*"/>
- </parameters>
- </function>
- <function name="unix_socket_delete" symbol="gnet_unix_socket_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GUnixSocket*"/>
- </parameters>
- </function>
- <function name="unix_socket_get_io_channel" symbol="gnet_unix_socket_get_io_channel">
- <return-type type="GIOChannel*"/>
- <parameters>
- <parameter name="socket" type="GUnixSocket*"/>
- </parameters>
- </function>
- <function name="unix_socket_get_path" symbol="gnet_unix_socket_get_path">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="socket" type="GUnixSocket*"/>
- </parameters>
- </function>
- <function name="unix_socket_new" symbol="gnet_unix_socket_new">
- <return-type type="GUnixSocket*"/>
- <parameters>
- <parameter name="path" type="gchar*"/>
- </parameters>
- </function>
- <function name="unix_socket_new_abstract" symbol="gnet_unix_socket_new_abstract">
- <return-type type="GUnixSocket*"/>
- <parameters>
- <parameter name="path" type="gchar*"/>
- </parameters>
- </function>
- <function name="unix_socket_ref" symbol="gnet_unix_socket_ref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GUnixSocket*"/>
- </parameters>
- </function>
- <function name="unix_socket_server_accept" symbol="gnet_unix_socket_server_accept">
- <return-type type="GUnixSocket*"/>
- <parameters>
- <parameter name="socket" type="GUnixSocket*"/>
- </parameters>
- </function>
- <function name="unix_socket_server_accept_nonblock" symbol="gnet_unix_socket_server_accept_nonblock">
- <return-type type="GUnixSocket*"/>
- <parameters>
- <parameter name="socket" type="GUnixSocket*"/>
- </parameters>
- </function>
- <function name="unix_socket_server_new" symbol="gnet_unix_socket_server_new">
- <return-type type="GUnixSocket*"/>
- <parameters>
- <parameter name="path" type="gchar*"/>
- </parameters>
- </function>
- <function name="unix_socket_server_new_abstract" symbol="gnet_unix_socket_server_new_abstract">
- <return-type type="GUnixSocket*"/>
- <parameters>
- <parameter name="path" type="gchar*"/>
- </parameters>
- </function>
- <function name="unix_socket_unref" symbol="gnet_unix_socket_unref">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GUnixSocket*"/>
- </parameters>
- </function>
- <function name="unpack" symbol="gnet_unpack">
- <return-type type="gint"/>
- <parameters>
- <parameter name="format" type="gchar*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- </parameters>
- </function>
- <function name="uri_clone" symbol="gnet_uri_clone">
- <return-type type="GURI*"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- </parameters>
- </function>
- <function name="uri_delete" symbol="gnet_uri_delete">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- </parameters>
- </function>
- <function name="uri_equal" symbol="gnet_uri_equal">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="p1" type="gconstpointer"/>
- <parameter name="p2" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="uri_escape" symbol="gnet_uri_escape">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- </parameters>
- </function>
- <function name="uri_get_string" symbol="gnet_uri_get_string">
- <return-type type="gchar*"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- </parameters>
- </function>
- <function name="uri_hash" symbol="gnet_uri_hash">
- <return-type type="guint"/>
- <parameters>
- <parameter name="p" type="gconstpointer"/>
- </parameters>
- </function>
- <function name="uri_new" symbol="gnet_uri_new">
- <return-type type="GURI*"/>
- <parameters>
- <parameter name="uri" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_new_fields" symbol="gnet_uri_new_fields">
- <return-type type="GURI*"/>
- <parameters>
- <parameter name="scheme" type="gchar*"/>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="path" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_new_fields_all" symbol="gnet_uri_new_fields_all">
- <return-type type="GURI*"/>
- <parameters>
- <parameter name="scheme" type="gchar*"/>
- <parameter name="userinfo" type="gchar*"/>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="port" type="gint"/>
- <parameter name="path" type="gchar*"/>
- <parameter name="query" type="gchar*"/>
- <parameter name="fragment" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_parse_inplace" symbol="gnet_uri_parse_inplace">
- <return-type type="gboolean"/>
- <parameters>
- <parameter name="guri" type="GURI*"/>
- <parameter name="uri" type="gchar*"/>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="len" type="gsize"/>
- </parameters>
- </function>
- <function name="uri_set_fragment" symbol="gnet_uri_set_fragment">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- <parameter name="fragment" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_set_hostname" symbol="gnet_uri_set_hostname">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- <parameter name="hostname" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_set_path" symbol="gnet_uri_set_path">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- <parameter name="path" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_set_port" symbol="gnet_uri_set_port">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- <parameter name="port" type="gint"/>
- </parameters>
- </function>
- <function name="uri_set_query" symbol="gnet_uri_set_query">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- <parameter name="query" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_set_scheme" symbol="gnet_uri_set_scheme">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- <parameter name="scheme" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_set_userinfo" symbol="gnet_uri_set_userinfo">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- <parameter name="userinfo" type="gchar*"/>
- </parameters>
- </function>
- <function name="uri_unescape" symbol="gnet_uri_unescape">
- <return-type type="void"/>
- <parameters>
- <parameter name="uri" type="GURI*"/>
- </parameters>
- </function>
- <function name="vcalcsize" symbol="gnet_vcalcsize">
- <return-type type="gint"/>
- <parameters>
- <parameter name="format" type="gchar*"/>
- <parameter name="args" type="va_list"/>
- </parameters>
- </function>
- <function name="vpack" symbol="gnet_vpack">
- <return-type type="gint"/>
- <parameters>
- <parameter name="format" type="gchar*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- <parameter name="args" type="va_list"/>
- </parameters>
- </function>
- <function name="vunpack" symbol="gnet_vunpack">
- <return-type type="gint"/>
- <parameters>
- <parameter name="format" type="gchar*"/>
- <parameter name="buffer" type="gchar*"/>
- <parameter name="length" type="gint"/>
- <parameter name="args" type="va_list"/>
- </parameters>
- </function>
- <callback name="GConnFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConn*"/>
- <parameter name="event" type="GConnEvent*"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GConnHttpFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="conn" type="GConnHttp*"/>
- <parameter name="event" type="GConnHttpEvent*"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GInetAddrGetNameAsyncFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="hostname" type="gchar*"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GInetAddrNewAsyncFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="inetaddr" type="GInetAddr*"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GInetAddrNewListAsyncFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="list" type="GList*"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GServerFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="server" type="GServer*"/>
- <parameter name="conn" type="GConn*"/>
- <parameter name="user_data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GTcpSocketAcceptFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="server" type="GTcpSocket*"/>
- <parameter name="client" type="GTcpSocket*"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GTcpSocketConnectAsyncFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- <parameter name="status" type="GTcpSocketConnectAsyncStatus"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </callback>
- <callback name="GTcpSocketNewAsyncFunc">
- <return-type type="void"/>
- <parameters>
- <parameter name="socket" type="GTcpSocket*"/>
- <parameter name="data" type="gpointer"/>
- </parameters>
- </callback>
- <struct name="GConn">
- <field name="hostname" type="gchar*"/>
- <field name="port" type="gint"/>
- <field name="iochannel" type="GIOChannel*"/>
- <field name="socket" type="GTcpSocket*"/>
- <field name="inetaddr" type="GInetAddr*"/>
- <field name="ref_count" type="guint"/>
- <field name="ref_count_internal" type="guint"/>
- <field name="connect_id" type="GTcpSocketConnectAsyncID"/>
- <field name="new_id" type="GTcpSocketNewAsyncID"/>
- <field name="write_queue" type="GList*"/>
- <field name="bytes_written" type="guint"/>
- <field name="buffer" type="gchar*"/>
- <field name="length" type="guint"/>
- <field name="bytes_read" type="guint"/>
- <field name="read_eof" type="gboolean"/>
- <field name="read_queue" type="GList*"/>
- <field name="process_buffer_timeout" type="guint"/>
- <field name="watch_readable" type="gboolean"/>
- <field name="watch_writable" type="gboolean"/>
- <field name="watch_flags" type="guint"/>
- <field name="watch" type="guint"/>
- <field name="timer" type="guint"/>
- <field name="func" type="GConnFunc"/>
- <field name="user_data" type="gpointer"/>
- <field name="context" type="GMainContext*"/>
- <field name="priority" type="gint"/>
- </struct>
- <struct name="GConnEvent">
- <field name="type" type="GConnEventType"/>
- <field name="buffer" type="gchar*"/>
- <field name="length" type="gint"/>
- </struct>
- <struct name="GConnHttp">
- </struct>
- <struct name="GConnHttpEvent">
- <field name="type" type="GConnHttpEventType"/>
- <field name="stsize" type="gsize"/>
- <field name="padding" type="gpointer[]"/>
- </struct>
- <struct name="GConnHttpEventData">
- <field name="parent" type="GConnHttpEvent"/>
- <field name="content_length" type="guint64"/>
- <field name="data_received" type="guint64"/>
- <field name="buffer" type="gchar*"/>
- <field name="buffer_length" type="gsize"/>
- <field name="padding" type="gpointer[]"/>
- </struct>
- <struct name="GConnHttpEventError">
- <field name="parent" type="GConnHttpEvent"/>
- <field name="code" type="GConnHttpError"/>
- <field name="message" type="gchar*"/>
- <field name="padding" type="gpointer[]"/>
- </struct>
- <struct name="GConnHttpEventRedirect">
- <field name="parent" type="GConnHttpEvent"/>
- <field name="num_redirects" type="guint"/>
- <field name="max_redirects" type="guint"/>
- <field name="new_location" type="gchar*"/>
- <field name="auto_redirect" type="gboolean"/>
- <field name="padding" type="gpointer[]"/>
- </struct>
- <struct name="GConnHttpEventResolved">
- <field name="parent" type="GConnHttpEvent"/>
- <field name="ia" type="GInetAddr*"/>
- <field name="padding" type="gpointer[]"/>
- </struct>
- <struct name="GConnHttpEventResponse">
- <field name="parent" type="GConnHttpEvent"/>
- <field name="response_code" type="guint"/>
- <field name="header_fields" type="gchar**"/>
- <field name="header_values" type="gchar**"/>
- <field name="padding" type="gpointer[]"/>
- </struct>
- <struct name="GInetAddr">
- </struct>
- <struct name="GInetAddrGetNameAsyncID">
- </struct>
- <struct name="GInetAddrNewAsyncID">
- </struct>
- <struct name="GInetAddrNewListAsyncID">
- </struct>
- <struct name="GMD5">
- </struct>
- <struct name="GMcastSocket">
- </struct>
- <struct name="GSHA">
- </struct>
- <struct name="GServer">
- <field name="iface" type="GInetAddr*"/>
- <field name="port" type="gint"/>
- <field name="socket" type="GTcpSocket*"/>
- <field name="ref_count" type="guint"/>
- <field name="func" type="GServerFunc"/>
- <field name="user_data" type="gpointer"/>
- </struct>
- <struct name="GTcpSocket">
- </struct>
- <struct name="GTcpSocketConnectAsyncID">
- </struct>
- <struct name="GTcpSocketNewAsyncID">
- </struct>
- <struct name="GURI">
- <field name="scheme" type="gchar*"/>
- <field name="userinfo" type="gchar*"/>
- <field name="hostname" type="gchar*"/>
- <field name="port" type="gint"/>
- <field name="path" type="gchar*"/>
- <field name="query" type="gchar*"/>
- <field name="fragment" type="gchar*"/>
- </struct>
- <struct name="GUdpSocket">
- </struct>
- <struct name="GUnixSocket">
- </struct>
- <enum name="GConnEventType">
- <member name="GNET_CONN_ERROR" value="0"/>
- <member name="GNET_CONN_CONNECT" value="1"/>
- <member name="GNET_CONN_CLOSE" value="2"/>
- <member name="GNET_CONN_TIMEOUT" value="3"/>
- <member name="GNET_CONN_READ" value="4"/>
- <member name="GNET_CONN_WRITE" value="5"/>
- <member name="GNET_CONN_READABLE" value="6"/>
- <member name="GNET_CONN_WRITABLE" value="7"/>
- </enum>
- <enum name="GConnHttpError">
- <member name="GNET_CONN_HTTP_ERROR_UNSPECIFIED" value="0"/>
- <member name="GNET_CONN_HTTP_ERROR_PROTOCOL_UNSUPPORTED" value="1"/>
- <member name="GNET_CONN_HTTP_ERROR_HOSTNAME_RESOLUTION" value="2"/>
- </enum>
- <enum name="GConnHttpEventType">
- <member name="GNET_CONN_HTTP_RESOLVED" value="0"/>
- <member name="GNET_CONN_HTTP_CONNECTED" value="1"/>
- <member name="GNET_CONN_HTTP_RESPONSE" value="2"/>
- <member name="GNET_CONN_HTTP_REDIRECT" value="3"/>
- <member name="GNET_CONN_HTTP_DATA_PARTIAL" value="4"/>
- <member name="GNET_CONN_HTTP_DATA_COMPLETE" value="5"/>
- <member name="GNET_CONN_HTTP_TIMEOUT" value="6"/>
- <member name="GNET_CONN_HTTP_ERROR" value="7"/>
- </enum>
- <enum name="GConnHttpHeaderFlags">
- <member name="GNET_CONN_HTTP_FLAG_SKIP_HEADER_CHECK" value="1"/>
- </enum>
- <enum name="GConnHttpMethod">
- <member name="GNET_CONN_HTTP_METHOD_GET" value="0"/>
- <member name="GNET_CONN_HTTP_METHOD_POST" value="1"/>
- </enum>
- <enum name="GIPv6Policy">
- <member name="GIPV6_POLICY_IPV4_THEN_IPV6" value="0"/>
- <member name="GIPV6_POLICY_IPV6_THEN_IPV4" value="1"/>
- <member name="GIPV6_POLICY_IPV4_ONLY" value="2"/>
- <member name="GIPV6_POLICY_IPV6_ONLY" value="3"/>
- </enum>
- <enum name="GNetTOS">
- <member name="GNET_TOS_NONE" value="0"/>
- <member name="GNET_TOS_LOWDELAY" value="1"/>
- <member name="GNET_TOS_THROUGHPUT" value="2"/>
- <member name="GNET_TOS_RELIABILITY" value="3"/>
- <member name="GNET_TOS_LOWCOST" value="4"/>
- </enum>
- <enum name="GTcpSocketConnectAsyncStatus">
- <member name="GTCP_SOCKET_CONNECT_ASYNC_STATUS_OK" value="0"/>
- <member name="GTCP_SOCKET_CONNECT_ASYNC_STATUS_INETADDR_ERROR" value="1"/>
- <member name="GTCP_SOCKET_CONNECT_ASYNC_STATUS_TCP_ERROR" value="2"/>
- </enum>
- <constant name="GNET_INETADDR_MAX_LEN" type="int" value="16"/>
- <constant name="GNET_MD5_HASH_LENGTH" type="int" value="16"/>
- <constant name="GNET_SHA_HASH_LENGTH" type="int" value="20"/>
- <constant name="GNET_SOCKS_PORT" type="int" value="1080"/>
- <constant name="GNET_SOCKS_VERSION" type="int" value="5"/>
- </namespace>
-</api>
diff --git a/vapi/packages/gnet-2.0/gnet-2.0.metadata b/vapi/packages/gnet-2.0/gnet-2.0.metadata
deleted file mode 100644
index 627fccc..0000000
--- a/vapi/packages/gnet-2.0/gnet-2.0.metadata
+++ /dev/null
@@ -1,5 +0,0 @@
-GNet cprefix="Gnet,G" cheader_filename="gnet.h"
-gnet_conn_new_inetaddr name="from_inetaddr"
-gnet_conn_new_socket name="from_socket"
-
-G* cprefix="G"
diff --git a/vapi/packages/gnet-2.0/gnet-2.0.namespace b/vapi/packages/gnet-2.0/gnet-2.0.namespace
deleted file mode 100644
index 72624ab..0000000
--- a/vapi/packages/gnet-2.0/gnet-2.0.namespace
+++ /dev/null
@@ -1 +0,0 @@
-GNet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]