Add gnetworking.h
authorDan Winship <danw@gnome.org>
Thu, 11 Nov 2010 14:57:25 +0000 (09:57 -0500)
committerDan Winship <danw@gnome.org>
Wed, 12 Dec 2012 14:20:22 +0000 (15:20 +0100)
commitb377e69685c99150cf7661e1aa77d60934e00521
tree6514da04da1dbf13ff01956fdb739296414dd8ee
parent9e90575502e663e5adde201f214c811df08bdf29
Add gnetworking.h

Install a public "gnetworking.h" header that can be used to include
the relevant OS-dependent networking headers. This does not really
abstract away unix-vs-windows however; error codes, in particular,
are incompatible.

gnetworkingprivate.h now contains just a few internal URI-related
functions

Also add a g_networking_init() function to gnetworking.h, which can be
used to explicitly initialize OS-level networking, rather than having
that happen as a side-effect of registering GInetAddress.

https://bugzilla.gnome.org/show_bug.cgi?id=623187
22 files changed:
configure.ac
docs/reference/gio/gio-docs.xml
docs/reference/gio/gio-sections.txt
gio/.gitignore
gio/Makefile.am
gio/gcredentials.c
gio/gdbusauth.c
gio/ginetaddress.c
gio/gio.symbols
gio/gnetworking.c [new file with mode: 0644]
gio/gnetworking.h.in [new file with mode: 0644]
gio/gnetworkingprivate.h
gio/gresolver.c
gio/gsocket.c
gio/gunixconnection.c
gio/gunixcredentialsmessage.c
gio/gunixfdlist.c
gio/gunixfdmessage.c
gio/gunixsocketaddress.c
gio/tests/gdbus-peer.c
gio/tests/socket.c
gio/tests/unix-fd.c