1 /* -*- Mode: C; c-basic-offset: 4 -*-
2 * pygobject - Python bindings for GObject
3 * Copyright (C) 2008 Johan Dahlin
5 * unixmodule.c: module wrapping the GIO UNIX library
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
24 #define NO_IMPORT_PYGOBJECT
25 #include <pygobject.h>
27 #include <gio/gdesktopappinfo.h>
28 #include <gio/gunixinputstream.h>
29 #include <gio/gunixmounts.h>
30 #include <gio/gunixoutputstream.h>
31 #define GIO_COMPILATION
32 #include <gio/gunixconnection.h>
33 #undef GIO_COMPILATION
34 #include <gio/gunixfdmessage.h>
35 #include <gio/gunixsocketaddress.h>
37 #define GIO_UNIX_MOUNT_ENTRY_TYPE (_gio_unix_mount_entry_get_type ())
39 static GType _gio_unix_mount_entry_get_type (void)
41 static GType our_type = 0;
44 our_type = g_pointer_type_register_static ("GUnixMountEntry");
52 import gobject.GObject as PyGObject_Type
53 import gio.InputStream as PyGInputStream_Type
54 import gio.OutputStream as PyGOutputStream_Type
55 import gio.SocketAddress as PyGSocketAddress_Type
56 import gio.Cancellable as PyGCancellable_Type
57 import gio.SocketConnection as PyGSocketConnection_Type
58 import gio.SocketControlMessage as PyGSocketControlMessage_Type