glib2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +24 -12
- data/ext/glib2/extconf.rb +1 -0
- data/ext/glib2/glib2.def +4 -0
- data/ext/glib2/rbglib-variant.c +163 -12
- data/ext/glib2/rbglib.c +31 -8
- data/ext/glib2/rbglib.h +15 -1
- data/ext/glib2/rbglib2conversions.h +3 -0
- data/ext/glib2/rbglib_iochannel.c +0 -3
- data/ext/glib2/rbglib_iochannel_win32_socket.c +0 -1
- data/ext/glib2/rbglib_matchinfo.c +179 -0
- data/ext/glib2/rbglib_regex.c +484 -0
- data/ext/glib2/rbgobj_value.c +7 -1
- data/ext/glib2/rbgprivate.h +2 -0
- data/ext/glib2/rbgutil.c +7 -0
- data/ext/glib2/rbgutil.h +2 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2/regex.rb +29 -0
- data/lib/glib2.rb +2 -1
- data/lib/gnome2/rake/external-package.rb +6 -1
- data/lib/gnome2/rake/package-task.rb +1 -1
- data/lib/gnome2/rake/package.rb +9 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +35 -11
- data/lib/mkmf-gnome2.rb +3 -1
- data/test/test-match-info.rb +113 -0
- data/test/test-regex.rb +320 -0
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +1 -1
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +2 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.def +993 -984
- data/vendor/local/bin/libgnutls-30.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/{libnettle-6-1.dll → libnettle-6-2.dll} +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcre-config +133 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gdatagrambased.h +144 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +9 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsclientconnection.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsconnection.h +191 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsserverconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +69 -13
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +2 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gliststore.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +25 -25
- data/vendor/local/include/glib-2.0/gio/gsocket.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +4 -1
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +13 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +2 -0
- data/vendor/local/include/glib-2.0/glib/glib-autocleanups.h +12 -4
- data/vendor/local/include/glib-2.0/glib/gmacros.h +46 -10
- data/vendor/local/include/glib-2.0/glib/gmain.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +7 -5
- data/vendor/local/include/glib-2.0/glib/gmessages.h +8 -8
- data/vendor/local/include/glib-2.0/glib/gnode.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +2 -9
- data/vendor/local/include/glib-2.0/glib/gsequence.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +15 -2
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +10 -57
- data/vendor/local/include/glib-2.0/glib/gtypes.h +61 -6
- data/vendor/local/include/glib-2.0/glib/gunicode.h +15 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +36 -57
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +59 -10
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +3 -3
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -7
- data/vendor/local/include/glib-2.0/gobject/gobject-autocleanups.h +0 -1
- data/vendor/local/include/glib-2.0/gobject/gobject.h +8 -4
- data/vendor/local/include/glib-2.0/gobject/gparam.h +5 -2
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +3 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +47 -26
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -0
- data/vendor/local/include/gmp.h +56 -24
- data/vendor/local/include/gnutls/gnutls.h +79 -39
- data/vendor/local/include/gnutls/pkcs11.h +6 -0
- data/vendor/local/include/gnutls/pkcs7.h +17 -4
- data/vendor/local/include/gnutls/x509.h +8 -0
- data/vendor/local/include/libintl.h +1 -1
- data/vendor/local/include/libtasn1.h +1 -1
- data/vendor/local/include/nettle/rsa.h +72 -0
- data/vendor/local/include/nettle/sha3.h +4 -0
- data/vendor/local/include/nettle/version.h +8 -1
- data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +1 -0
- data/vendor/local/include/pcre.h +677 -0
- data/vendor/local/include/pcre_scanner.h +172 -0
- data/vendor/local/include/pcre_stringpiece.h +180 -0
- data/vendor/local/include/pcrecpp.h +710 -0
- data/vendor/local/include/pcrecpparg.h +174 -0
- data/vendor/local/include/pcreposix.h +146 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +3 -3
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +4 -16
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +5 -5
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +5 -5
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +5 -5
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +4 -4
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +3 -3
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +5 -5
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +5 -5
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +1 -1
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +41 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +41 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +41 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +1 -1
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -3
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcre.pc +13 -0
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +12 -0
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +13 -0
- data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
- data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
- data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
- data/vendor/local/share/aclocal/glib-gettext.m4 +3 -2
- data/vendor/local/share/doc/pcre/AUTHORS +45 -0
- data/vendor/local/share/doc/pcre/COPYING +5 -0
- data/vendor/local/share/doc/pcre/ChangeLog +5918 -0
- data/vendor/local/share/doc/pcre/LICENCE +93 -0
- data/vendor/local/share/doc/pcre/NEWS +716 -0
- data/vendor/local/share/doc/pcre/README +1002 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +772 -0
- data/vendor/local/share/doc/pcre/html/README.txt +1002 -0
- data/vendor/local/share/doc/pcre/html/index.html +185 -0
- data/vendor/local/share/doc/pcre/html/pcre-config.html +109 -0
- data/vendor/local/share/doc/pcre/html/pcre.html +224 -0
- data/vendor/local/share/doc/pcre/html/pcre16.html +384 -0
- data/vendor/local/share/doc/pcre/html/pcre32.html +382 -0
- data/vendor/local/share/doc/pcre/html/pcre_assign_jit_stack.html +76 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile2.html +115 -0
- data/vendor/local/share/doc/pcre/html/pcre_config.html +94 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_named_substring.html +65 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_substring.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_dfa_exec.html +129 -0
- data/vendor/local/share/doc/pcre/html/pcre_exec.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_study.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring_list.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_fullinfo.html +118 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_named_substring.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringnumber.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringtable_entries.html +60 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring.html +64 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring_list.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_exec.html +108 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_alloc.html +55 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_free.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_maketables.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html +58 -0
- data/vendor/local/share/doc/pcre/html/pcre_refcount.html +51 -0
- data/vendor/local/share/doc/pcre/html/pcre_study.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_version.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcreapi.html +2922 -0
- data/vendor/local/share/doc/pcre/html/pcrebuild.html +534 -0
- data/vendor/local/share/doc/pcre/html/pcrecallout.html +286 -0
- data/vendor/local/share/doc/pcre/html/pcrecompat.html +235 -0
- data/vendor/local/share/doc/pcre/html/pcrecpp.html +368 -0
- data/vendor/local/share/doc/pcre/html/pcredemo.html +426 -0
- data/vendor/local/share/doc/pcre/html/pcregrep.html +759 -0
- data/vendor/local/share/doc/pcre/html/pcrejit.html +452 -0
- data/vendor/local/share/doc/pcre/html/pcrelimits.html +90 -0
- data/vendor/local/share/doc/pcre/html/pcrematching.html +242 -0
- data/vendor/local/share/doc/pcre/html/pcrepartial.html +509 -0
- data/vendor/local/share/doc/pcre/html/pcrepattern.html +3273 -0
- data/vendor/local/share/doc/pcre/html/pcreperform.html +195 -0
- data/vendor/local/share/doc/pcre/html/pcreposix.html +290 -0
- data/vendor/local/share/doc/pcre/html/pcreprecompile.html +163 -0
- data/vendor/local/share/doc/pcre/html/pcresample.html +110 -0
- data/vendor/local/share/doc/pcre/html/pcrestack.html +225 -0
- data/vendor/local/share/doc/pcre/html/pcresyntax.html +561 -0
- data/vendor/local/share/doc/pcre/html/pcretest.html +1158 -0
- data/vendor/local/share/doc/pcre/html/pcreunicode.html +262 -0
- data/vendor/local/share/doc/pcre/pcre-config.txt +86 -0
- data/vendor/local/share/doc/pcre/pcre.txt +10455 -0
- data/vendor/local/share/doc/pcre/pcregrep.txt +741 -0
- data/vendor/local/share/doc/pcre/pcretest.txt +1087 -0
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gettext/ABOUT-NLS +382 -413
- data/vendor/local/share/gettext/its/gschema.its +25 -0
- data/vendor/local/share/gettext/its/gschema.loc +10 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.py +22 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +58 -64
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +75 -80
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -51
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +72 -97
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +7 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +174 -160
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +127 -132
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +90 -92
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +43 -46
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +17 -26
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +12 -17
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +45 -52
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +14 -18
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +20 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +41 -48
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +34 -40
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +337 -258
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +23 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +44 -50
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +143 -158
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +59 -54
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +19 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +25 -27
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +48 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +34 -31
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +25 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +105 -122
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +32 -39
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +40 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +17 -28
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +766 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +56 -75
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +468 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1521 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +208 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +16 -19
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +16 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +204 -240
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +13 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +128 -145
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +75 -36
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +10 -13
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +41 -43
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +56 -44
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +20 -23
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +103 -118
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +39 -47
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +32 -44
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +80 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +138 -145
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +84 -94
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +54 -66
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +34 -42
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +26 -28
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +97 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +49 -47
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +39 -56
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +30 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +46 -47
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +79 -74
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +12 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +325 -200
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -49
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +21 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +258 -162
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -9
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +470 -281
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +27 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +76 -85
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +118 -72
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +26 -30
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +180 -62
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +51 -28
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +25 -31
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +63 -75
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +49 -54
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +406 -404
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +36 -38
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +30 -31
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +11 -14
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +172 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +96 -37
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +64 -66
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +256 -63
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +150 -49
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +21 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +21 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +26 -27
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +21 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +11 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +211 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +283 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +107 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +459 -8
- data/vendor/local/share/gtk-doc/html/gio/application.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +29 -172
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +187 -27
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +15 -34
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +16 -137
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +26 -87
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +37 -121
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +132 -176
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +19 -71
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +24 -908
- data/vendor/local/share/gtk-doc/html/gio/{ch33s06.html → ch34s06.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch33s07.html → ch34s07.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +94 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +141 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +201 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/extending.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +11 -12
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +199 -200
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +89 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +77 -87
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +19 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +43 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +20 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +21 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +9 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +147 -114
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2066 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +29 -32
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +54 -75
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +27 -30
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +11 -8
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +194 -140
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +6 -7
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -6
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +41 -45
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +204 -137
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +22 -44
- data/vendor/local/share/gtk-doc/html/gio/networking.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +20 -5
- data/vendor/local/share/gtk-doc/html/gio/registry.html +32 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/tls.html +12 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +16 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +7 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +12 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +46 -8
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +80 -9
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +68 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +254 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +130 -144
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +19 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +33 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +22 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +89 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +384 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +100 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +83 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +14 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +49 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +141 -156
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +32 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +24 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +28 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +108 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +98 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +89 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +93 -125
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +50 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +189 -171
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +99 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +172 -217
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +32 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +430 -451
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +53 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +12 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +167 -192
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +58 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +14 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +70 -79
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +68 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +166 -183
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +33 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +80 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +101 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +102 -75
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +133 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +192 -162
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +107 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +69 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +12 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +199 -230
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +54 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +24 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +29 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +187 -173
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +13 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +104 -117
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +62 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +26 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +15 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +13 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +210 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +95 -101
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +306 -268
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +373 -369
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +79 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +316 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +12 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +44 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +20 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +44 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +21 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +200 -220
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +51 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +25 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +6 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +4 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +14 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +44 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +149 -149
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -12
- data/vendor/local/share/gtk-doc/html/glib/index.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +36 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +53 -57
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +72 -77
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +14 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +34 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +22 -17
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +85 -135
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +80 -144
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +59 -75
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +20 -21
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +68 -89
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +227 -218
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +48 -57
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +125 -96
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +78 -90
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +143 -138
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +226 -285
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +306 -289
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +450 -448
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +22 -23
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +11 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +32 -91
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +134 -133
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +4 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +89 -98
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +119 -112
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +199 -183
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +30 -30
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +32 -33
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +80 -32
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +73 -53
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +52 -50
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +255 -133
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +147 -111
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +65 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +93 -79
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +80 -54
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +82 -87
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +126 -62
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +61 -54
- data/vendor/local/share/gtk-doc/html/gobject/index.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +98 -198
- data/vendor/local/share/gtk-doc/html/gobject/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/gtk-doc.css +9 -6
- data/vendor/local/share/gtk-doc/html/p11-kit/index.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +22 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -13
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +3 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +3 -18
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +3 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +22 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +7 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -4
- data/vendor/local/share/info/gmp.info +153 -158
- data/vendor/local/share/info/gmp.info-1 +131 -178
- data/vendor/local/share/info/gmp.info-2 +250 -193
- data/vendor/local/share/info/libtasn1.info +2 -2
- data/vendor/local/share/license/gmp/AUTHORS +1 -1
- data/vendor/local/share/license/pcre/AUTHORS +45 -0
- data/vendor/local/share/license/pcre/COPYING +5 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/asn1Coding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Decoding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Parser.1 +1 -1
- data/vendor/local/share/man/man1/envsubst.1 +1 -1
- data/vendor/local/share/man/man1/gapplication.1 +2 -2
- data/vendor/local/share/man/man1/gdbus-codegen.1 +23 -22
- data/vendor/local/share/man/man1/gdbus.1 +2 -2
- data/vendor/local/share/man/man1/gettext.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-resources.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +7 -2
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-gettextize.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/share/man/man1/gresource.1 +2 -2
- data/vendor/local/share/man/man1/gsettings.1 +2 -2
- data/vendor/local/share/man/man1/gtester-report.1 +2 -2
- data/vendor/local/share/man/man1/gtester.1 +2 -2
- data/vendor/local/share/man/man1/ngettext.1 +1 -1
- data/vendor/local/share/man/man1/pcre-config.1 +92 -0
- data/vendor/local/share/man/man1/pcregrep.1 +683 -0
- data/vendor/local/share/man/man1/pcretest.1 +1156 -0
- data/vendor/local/share/man/man3/asn1_array2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_check_version.3 +1 -1
- data/vendor/local/share/man/man3/asn1_copy_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_create_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_coding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +1 -1
- data/vendor/local/share/man/man3/asn1_dup_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_encode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_object_id_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +1 -1
- data/vendor/local/share/man/man3/asn1_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2array.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_perror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_print_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_node_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_tag.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value_type.3 +1 -1
- data/vendor/local/share/man/man3/asn1_strerror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_write_value.3 +1 -1
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +1 -1
- data/vendor/local/share/man/man3/bindtextdomain.3 +1 -1
- data/vendor/local/share/man/man3/gettext.3 +1 -1
- data/vendor/local/share/man/man3/ngettext.3 +1 -1
- data/vendor/local/share/man/man3/pcre.3 +230 -0
- data/vendor/local/share/man/man3/pcre16.3 +371 -0
- data/vendor/local/share/man/man3/pcre16_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre16_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre16_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre16_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre16_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre16_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre16_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre16_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre16_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre16_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre16_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre16_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre16_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre16_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre32.3 +369 -0
- data/vendor/local/share/man/man3/pcre32_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre32_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre32_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre32_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre32_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre32_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre32_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre32_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre32_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre32_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre32_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre32_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre32_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre32_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_version.3 +31 -0
- data/vendor/local/share/man/man3/pcreapi.3 +2919 -0
- data/vendor/local/share/man/man3/pcrebuild.3 +550 -0
- data/vendor/local/share/man/man3/pcrecallout.3 +255 -0
- data/vendor/local/share/man/man3/pcrecompat.3 +200 -0
- data/vendor/local/share/man/man3/pcrecpp.3 +348 -0
- data/vendor/local/share/man/man3/pcredemo.3 +424 -0
- data/vendor/local/share/man/man3/pcrejit.3 +431 -0
- data/vendor/local/share/man/man3/pcrelimits.3 +71 -0
- data/vendor/local/share/man/man3/pcrematching.3 +214 -0
- data/vendor/local/share/man/man3/pcrepartial.3 +476 -0
- data/vendor/local/share/man/man3/pcrepattern.3 +3301 -0
- data/vendor/local/share/man/man3/pcreperform.3 +177 -0
- data/vendor/local/share/man/man3/pcreposix.3 +267 -0
- data/vendor/local/share/man/man3/pcreprecompile.3 +155 -0
- data/vendor/local/share/man/man3/pcresample.3 +99 -0
- data/vendor/local/share/man/man3/pcrestack.3 +215 -0
- data/vendor/local/share/man/man3/pcresyntax.3 +540 -0
- data/vendor/local/share/man/man3/pcreunicode.3 +249 -0
- data/vendor/local/share/man/man3/textdomain.3 +1 -1
- metadata +233 -22
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/vendor/local/bin/libhogweed-4-1.dll +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +0 -1537
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +0 -679
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +0 -572
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +0 -561
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +0 -161
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +0 -51
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GSocket: GIO Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
8
|
<link rel="up" href="networking.html" title="Low-level network support">
|
9
9
|
<link rel="prev" href="networking.html" title="Low-level network support">
|
10
|
-
<link rel="next" href="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<link rel="next" href="GDatagramBased.html" title="GDatagramBased">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -23,7 +23,7 @@
|
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
24
|
<td><a accesskey="u" href="networking.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
25
|
<td><a accesskey="p" href="networking.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
-
<td><a accesskey="n" href="
|
26
|
+
<td><a accesskey="n" href="GDatagramBased.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
27
|
</tr></table>
|
28
28
|
<div class="refentry">
|
29
29
|
<a name="GSocket"></a><div class="titlepage"></div>
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</tr></table></div>
|
37
37
|
<div class="refsect1">
|
38
38
|
<a name="GSocket.functions"></a><h2>Functions</h2>
|
39
|
-
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
40
40
|
<colgroup>
|
41
41
|
<col width="150px" class="functions_return">
|
42
42
|
<col class="functions_name">
|
@@ -132,6 +132,14 @@
|
|
132
132
|
</tr>
|
133
133
|
<tr>
|
134
134
|
<td class="function_type">
|
135
|
+
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
136
|
+
</td>
|
137
|
+
<td class="function_name">
|
138
|
+
<a class="link" href="GSocket.html#g-socket-receive-messages" title="g_socket_receive_messages ()">g_socket_receive_messages</a> <span class="c_punctuation">()</span>
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td class="function_type">
|
135
143
|
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
136
144
|
</td>
|
137
145
|
<td class="function_name">
|
@@ -479,7 +487,7 @@
|
|
479
487
|
</div>
|
480
488
|
<div class="refsect1">
|
481
489
|
<a name="GSocket.properties"></a><h2>Properties</h2>
|
482
|
-
<div class="informaltable"><table border="0">
|
490
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
483
491
|
<colgroup>
|
484
492
|
<col width="150px" class="properties_type">
|
485
493
|
<col width="300px" class="properties_name">
|
@@ -563,7 +571,7 @@
|
|
563
571
|
</div>
|
564
572
|
<div class="refsect1">
|
565
573
|
<a name="GSocket.other"></a><h2>Types and Values</h2>
|
566
|
-
<div class="informaltable"><table width="100%" border="0">
|
574
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
567
575
|
<colgroup>
|
568
576
|
<col width="150px" class="name">
|
569
577
|
<col class="description">
|
@@ -591,6 +599,10 @@
|
|
591
599
|
</tr>
|
592
600
|
<tr>
|
593
601
|
<td class="datatype_keyword">struct</td>
|
602
|
+
<td class="function_name"><a class="link" href="GSocket.html#GInputMessage" title="struct GInputMessage">GInputMessage</a></td>
|
603
|
+
</tr>
|
604
|
+
<tr>
|
605
|
+
<td class="datatype_keyword">struct</td>
|
594
606
|
<td class="function_name"><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector">GOutputVector</a></td>
|
595
607
|
</tr>
|
596
608
|
<tr>
|
@@ -610,7 +622,7 @@
|
|
610
622
|
<a name="GSocket.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
611
623
|
<p>
|
612
624
|
GSocket implements
|
613
|
-
<a class="link" href="GInitable.html" title="GInitable">GInitable</a>.</p>
|
625
|
+
<a class="link" href="GInitable.html" title="GInitable">GInitable</a> and <a class="link" href="GDatagramBased.html" title="GDatagramBased">GDatagramBased</a>.</p>
|
614
626
|
</div>
|
615
627
|
<div class="refsect1">
|
616
628
|
<a name="GSocket.includes"></a><h2>Includes</h2>
|
@@ -633,7 +645,8 @@ results before using the object. This is done automatically in
|
|
633
645
|
<a class="link" href="GSocket.html#g-socket-new" title="g_socket_new ()"><code class="function">g_socket_new()</code></a> and <a class="link" href="GSocket.html#g-socket-new-from-fd" title="g_socket_new_from_fd ()"><code class="function">g_socket_new_from_fd()</code></a>, so these functions can return
|
634
646
|
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
635
647
|
<p>Sockets operate in two general modes, blocking or non-blocking. When
|
636
|
-
in blocking mode all operations
|
648
|
+
in blocking mode all operations (which don’t take an explicit blocking
|
649
|
+
parameter) block until the requested operation
|
637
650
|
is finished or there is an error. In non-blocking mode all calls that
|
638
651
|
would block return immediately with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error.
|
639
652
|
To know when a call would successfully run you can call <a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()"><code class="function">g_socket_condition_check()</code></a>,
|
@@ -674,7 +687,7 @@ locking.</p>
|
|
674
687
|
returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()"><code class="function">g_socket_create_source()</code></a>.</p>
|
675
688
|
<div class="refsect3">
|
676
689
|
<a name="id-1.4.13.2.10.2.5"></a><h4>Parameters</h4>
|
677
|
-
<div class="informaltable"><table width="100%" border="0">
|
690
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
678
691
|
<colgroup>
|
679
692
|
<col width="150px" class="parameters_name">
|
680
693
|
<col class="parameters_description">
|
@@ -702,9 +715,8 @@ returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_
|
|
702
715
|
<div class="refsect3">
|
703
716
|
<a name="id-1.4.13.2.10.2.6"></a><h4>Returns</h4>
|
704
717
|
<p> it should return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the source should be removed.</p>
|
705
|
-
<p></p>
|
706
718
|
</div>
|
707
|
-
<p class="since">Since 2.22</p>
|
719
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
708
720
|
</div>
|
709
721
|
<hr>
|
710
722
|
<div class="refsect2">
|
@@ -729,7 +741,7 @@ system, so you can use protocols not listed in <a class="link" href="GSocket.htm
|
|
729
741
|
know the protocol number used for it.</p>
|
730
742
|
<div class="refsect3">
|
731
743
|
<a name="id-1.4.13.2.10.3.7"></a><h4>Parameters</h4>
|
732
|
-
<div class="informaltable"><table width="100%" border="0">
|
744
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
733
745
|
<colgroup>
|
734
746
|
<col width="150px" class="parameters_name">
|
735
747
|
<col class="parameters_description">
|
@@ -763,9 +775,8 @@ know the protocol number used for it.</p>
|
|
763
775
|
<a name="id-1.4.13.2.10.3.8"></a><h4>Returns</h4>
|
764
776
|
<p> a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
765
777
|
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
766
|
-
<p></p>
|
767
778
|
</div>
|
768
|
-
<p class="since">Since 2.22</p>
|
779
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
769
780
|
</div>
|
770
781
|
<hr>
|
771
782
|
<div class="refsect2">
|
@@ -783,9 +794,11 @@ mode of the <a class="link" href="GSocket.html" title="GSocket"><span class="typ
|
|
783
794
|
. On failure, the
|
784
795
|
caller must close <em class="parameter"><code>fd</code></em>
|
785
796
|
themselves.</p>
|
797
|
+
<p>Since GLib 2.46, it is no longer a fatal error to call this on a non-socket
|
798
|
+
descriptor. Instead, a GError will be set with code <a class="link" href="gio-GIOError.html#G-IO-ERROR-FAILED:CAPS"><code class="literal">G_IO_ERROR_FAILED</code></a></p>
|
786
799
|
<div class="refsect3">
|
787
|
-
<a name="id-1.4.13.2.10.4.
|
788
|
-
<div class="informaltable"><table width="100%" border="0">
|
800
|
+
<a name="id-1.4.13.2.10.4.8"></a><h4>Parameters</h4>
|
801
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
789
802
|
<colgroup>
|
790
803
|
<col width="150px" class="parameters_name">
|
791
804
|
<col class="parameters_description">
|
@@ -806,12 +819,11 @@ caller must close <em class="parameter"><code>fd</code></em>
|
|
806
819
|
</table></div>
|
807
820
|
</div>
|
808
821
|
<div class="refsect3">
|
809
|
-
<a name="id-1.4.13.2.10.4.
|
822
|
+
<a name="id-1.4.13.2.10.4.9"></a><h4>Returns</h4>
|
810
823
|
<p> a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
811
824
|
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
812
|
-
<p></p>
|
813
825
|
</div>
|
814
|
-
<p class="since">Since 2.22</p>
|
826
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
815
827
|
</div>
|
816
828
|
<hr>
|
817
829
|
<div class="refsect2">
|
@@ -847,7 +859,7 @@ broadcast packets sent to that address. (The behavior of unicast
|
|
847
859
|
UDP packets to an address with multiple listeners is not defined.)</p>
|
848
860
|
<div class="refsect3">
|
849
861
|
<a name="id-1.4.13.2.10.5.8"></a><h4>Parameters</h4>
|
850
|
-
<div class="informaltable"><table width="100%" border="0">
|
862
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
851
863
|
<colgroup>
|
852
864
|
<col width="150px" class="parameters_name">
|
853
865
|
<col class="parameters_description">
|
@@ -880,9 +892,8 @@ UDP packets to an address with multiple listeners is not defined.)</p>
|
|
880
892
|
<div class="refsect3">
|
881
893
|
<a name="id-1.4.13.2.10.5.9"></a><h4>Returns</h4>
|
882
894
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
883
|
-
<p></p>
|
884
895
|
</div>
|
885
|
-
<p class="since">Since 2.22</p>
|
896
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
886
897
|
</div>
|
887
898
|
<hr>
|
888
899
|
<div class="refsect2">
|
@@ -898,7 +909,7 @@ to accept incoming requests using <a class="link" href="GSocket.html#g-socket-ac
|
|
898
909
|
<a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()"><code class="function">g_socket_set_listen_backlog()</code></a>.</p>
|
899
910
|
<div class="refsect3">
|
900
911
|
<a name="id-1.4.13.2.10.6.7"></a><h4>Parameters</h4>
|
901
|
-
<div class="informaltable"><table width="100%" border="0">
|
912
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
902
913
|
<colgroup>
|
903
914
|
<col width="150px" class="parameters_name">
|
904
915
|
<col class="parameters_description">
|
@@ -921,9 +932,8 @@ to accept incoming requests using <a class="link" href="GSocket.html#g-socket-ac
|
|
921
932
|
<div class="refsect3">
|
922
933
|
<a name="id-1.4.13.2.10.6.8"></a><h4>Returns</h4>
|
923
934
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
924
|
-
<p></p>
|
925
935
|
</div>
|
926
|
-
<p class="since">Since 2.22</p>
|
936
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
927
937
|
</div>
|
928
938
|
<hr>
|
929
939
|
<div class="refsect2">
|
@@ -943,7 +953,7 @@ or return <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><
|
|
943
953
|
To be notified of an incoming connection, wait for the <a href="../glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.</p>
|
944
954
|
<div class="refsect3">
|
945
955
|
<a name="id-1.4.13.2.10.7.7"></a><h4>Parameters</h4>
|
946
|
-
<div class="informaltable"><table width="100%" border="0">
|
956
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
947
957
|
<colgroup>
|
948
958
|
<col width="150px" class="parameters_name">
|
949
959
|
<col class="parameters_description">
|
@@ -974,7 +984,7 @@ To be notified of an incoming connection, wait for the <a href="../glib/glib-IO-
|
|
974
984
|
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
975
985
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
976
986
|
</div>
|
977
|
-
<p class="since">Since 2.22</p>
|
987
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
978
988
|
</div>
|
979
989
|
<hr>
|
980
990
|
<div class="refsect2">
|
@@ -1000,7 +1010,7 @@ for the G_IO_OUT condition. The result of the connection must then be
|
|
1000
1010
|
checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" title="g_socket_check_connect_result ()"><code class="function">g_socket_check_connect_result()</code></a>.</p>
|
1001
1011
|
<div class="refsect3">
|
1002
1012
|
<a name="id-1.4.13.2.10.8.8"></a><h4>Parameters</h4>
|
1003
|
-
<div class="informaltable"><table width="100%" border="0">
|
1013
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1004
1014
|
<colgroup>
|
1005
1015
|
<col width="150px" class="parameters_name">
|
1006
1016
|
<col class="parameters_description">
|
@@ -1033,9 +1043,8 @@ checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" t
|
|
1033
1043
|
<div class="refsect3">
|
1034
1044
|
<a name="id-1.4.13.2.10.8.9"></a><h4>Returns</h4>
|
1035
1045
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if connected, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
1036
|
-
<p></p>
|
1037
1046
|
</div>
|
1038
|
-
<p class="since">Since 2.22</p>
|
1047
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1039
1048
|
</div>
|
1040
1049
|
<hr>
|
1041
1050
|
<div class="refsect2">
|
@@ -1048,7 +1057,7 @@ This is used to check for errors when <a class="link" href="GSocket.html#g-socke
|
|
1048
1057
|
used in non-blocking mode.</p>
|
1049
1058
|
<div class="refsect3">
|
1050
1059
|
<a name="id-1.4.13.2.10.9.5"></a><h4>Parameters</h4>
|
1051
|
-
<div class="informaltable"><table width="100%" border="0">
|
1060
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1052
1061
|
<colgroup>
|
1053
1062
|
<col width="150px" class="parameters_name">
|
1054
1063
|
<col class="parameters_description">
|
@@ -1072,9 +1081,8 @@ used in non-blocking mode.</p>
|
|
1072
1081
|
<a name="id-1.4.13.2.10.9.6"></a><h4>Returns</h4>
|
1073
1082
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if no error, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise, setting <em class="parameter"><code>error</code></em>
|
1074
1083
|
to the error</p>
|
1075
|
-
<p></p>
|
1076
1084
|
</div>
|
1077
|
-
<p class="since">Since 2.22</p>
|
1085
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1078
1086
|
</div>
|
1079
1087
|
<hr>
|
1080
1088
|
<div class="refsect2">
|
@@ -1113,7 +1121,7 @@ returned. To be notified when data is available, wait for the
|
|
1113
1121
|
is set accordingly.</p>
|
1114
1122
|
<div class="refsect3">
|
1115
1123
|
<a name="id-1.4.13.2.10.10.9"></a><h4>Parameters</h4>
|
1116
|
-
<div class="informaltable"><table width="100%" border="0">
|
1124
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1117
1125
|
<colgroup>
|
1118
1126
|
<col width="150px" class="parameters_name">
|
1119
1127
|
<col class="parameters_description">
|
@@ -1154,9 +1162,8 @@ bytes long). </p></td>
|
|
1154
1162
|
<a name="id-1.4.13.2.10.10.10"></a><h4>Returns</h4>
|
1155
1163
|
<p> Number of bytes read, or 0 if the connection was closed by
|
1156
1164
|
the peer, or -1 on error</p>
|
1157
|
-
<p></p>
|
1158
1165
|
</div>
|
1159
|
-
<p class="since">Since 2.22</p>
|
1166
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1160
1167
|
</div>
|
1161
1168
|
<hr>
|
1162
1169
|
<div class="refsect2">
|
@@ -1179,7 +1186,7 @@ source address of the received packet.
|
|
1179
1186
|
<p>See <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> for additional information.</p>
|
1180
1187
|
<div class="refsect3">
|
1181
1188
|
<a name="id-1.4.13.2.10.11.7"></a><h4>Parameters</h4>
|
1182
|
-
<div class="informaltable"><table width="100%" border="0">
|
1189
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1183
1190
|
<colgroup>
|
1184
1191
|
<col width="150px" class="parameters_name">
|
1185
1192
|
<col class="parameters_description">
|
@@ -1226,9 +1233,8 @@ bytes long). </p></td>
|
|
1226
1233
|
<a name="id-1.4.13.2.10.11.8"></a><h4>Returns</h4>
|
1227
1234
|
<p> Number of bytes read, or 0 if the connection was closed by
|
1228
1235
|
the peer, or -1 on error</p>
|
1229
|
-
<p></p>
|
1230
1236
|
</div>
|
1231
|
-
<p class="since">Since 2.22</p>
|
1237
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1232
1238
|
</div>
|
1233
1239
|
<hr>
|
1234
1240
|
<div class="refsect2">
|
@@ -1243,8 +1249,8 @@ g_socket_receive_message (<em class="parameter"><code><a class="link" href="GSoc
|
|
1243
1249
|
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *flags</code></em>,
|
1244
1250
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1245
1251
|
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1246
|
-
<p>Receive data from a socket.
|
1247
|
-
|
1252
|
+
<p>Receive data from a socket. For receiving multiple messages, see
|
1253
|
+
<a class="link" href="GSocket.html#g-socket-receive-messages" title="g_socket_receive_messages ()"><code class="function">g_socket_receive_messages()</code></a>; for easier use, see
|
1248
1254
|
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> and <a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()"><code class="function">g_socket_receive_from()</code></a>.</p>
|
1249
1255
|
<p>If <em class="parameter"><code>address</code></em>
|
1250
1256
|
is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <em class="parameter"><code>address</code></em>
|
@@ -1292,7 +1298,9 @@ in <em class="parameter"><code>messages</code></em>
|
|
1292
1298
|
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1293
1299
|
values there are the same as the system values, and the flags
|
1294
1300
|
are passed in as-is, so you can pass in system-specific flags too
|
1295
|
-
(and <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()"><code class="function">g_socket_receive_message()</code></a> may pass system-specific flags out)
|
1301
|
+
(and <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()"><code class="function">g_socket_receive_message()</code></a> may pass system-specific flags out).
|
1302
|
+
Flags passed in to the parameter affect the receive operation; flags returned
|
1303
|
+
out of it are relevant to the specific returned message.</p>
|
1296
1304
|
<p>As with <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>, data may be discarded if <em class="parameter"><code>socket</code></em>
|
1297
1305
|
is
|
1298
1306
|
<a class="link" href="GSocket.html#G-SOCKET-TYPE-DATAGRAM:CAPS"><code class="literal">G_SOCKET_TYPE_DATAGRAM</code></a> or <a class="link" href="GSocket.html#G-SOCKET-TYPE-SEQPACKET:CAPS"><code class="literal">G_SOCKET_TYPE_SEQPACKET</code></a> and you do not
|
@@ -1312,7 +1320,7 @@ returned. To be notified when data is available, wait for the
|
|
1312
1320
|
is set accordingly.</p>
|
1313
1321
|
<div class="refsect3">
|
1314
1322
|
<a name="id-1.4.13.2.10.12.15"></a><h4>Parameters</h4>
|
1315
|
-
<div class="informaltable"><table width="100%" border="0">
|
1323
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1316
1324
|
<colgroup>
|
1317
1325
|
<col width="150px" class="parameters_name">
|
1318
1326
|
<col class="parameters_description">
|
@@ -1328,7 +1336,7 @@ returned. To be notified when data is available, wait for the
|
|
1328
1336
|
<td class="parameter_name"><p>address</p></td>
|
1329
1337
|
<td class="parameter_description"><p> a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1330
1338
|
pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1331
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL
|
1339
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
1332
1340
|
</tr>
|
1333
1341
|
<tr>
|
1334
1342
|
<td class="parameter_name"><p>vectors</p></td>
|
@@ -1345,24 +1353,24 @@ pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
|
1345
1353
|
<td class="parameter_name"><p>messages</p></td>
|
1346
1354
|
<td class="parameter_description"><p> a pointer which
|
1347
1355
|
may be filled with an array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1348
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="
|
1356
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
1349
1357
|
</tr>
|
1350
1358
|
<tr>
|
1351
1359
|
<td class="parameter_name"><p>num_messages</p></td>
|
1352
|
-
<td class="parameter_description"><p>a pointer which will be filled with the number of
|
1360
|
+
<td class="parameter_description"><p> a pointer which will be filled with the number of
|
1353
1361
|
elements in <em class="parameter"><code>messages</code></em>
|
1354
|
-
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a
|
1355
|
-
<td class="parameter_annotations">
|
1362
|
+
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1363
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1356
1364
|
</tr>
|
1357
1365
|
<tr>
|
1358
1366
|
<td class="parameter_name"><p>flags</p></td>
|
1359
|
-
<td class="parameter_description"><p>a pointer to an int containing <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</p></td>
|
1360
|
-
<td class="parameter_annotations">
|
1367
|
+
<td class="parameter_description"><p> a pointer to an int containing <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags. </p></td>
|
1368
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
1361
1369
|
</tr>
|
1362
1370
|
<tr>
|
1363
1371
|
<td class="parameter_name"><p>cancellable</p></td>
|
1364
|
-
<td class="parameter_description"><p>
|
1365
|
-
<td class="parameter_annotations"
|
1372
|
+
<td class="parameter_description"><p>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1373
|
+
<td class="parameter_annotations"> </td>
|
1366
1374
|
</tr>
|
1367
1375
|
<tr>
|
1368
1376
|
<td class="parameter_name"><p>error</p></td>
|
@@ -1376,9 +1384,119 @@ elements in <em class="parameter"><code>messages</code></em>
|
|
1376
1384
|
<a name="id-1.4.13.2.10.12.16"></a><h4>Returns</h4>
|
1377
1385
|
<p> Number of bytes read, or 0 if the connection was closed by
|
1378
1386
|
the peer, or -1 on error</p>
|
1379
|
-
<p></p>
|
1380
1387
|
</div>
|
1381
|
-
<p class="since">Since 2.22</p>
|
1388
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1389
|
+
</div>
|
1390
|
+
<hr>
|
1391
|
+
<div class="refsect2">
|
1392
|
+
<a name="g-socket-receive-messages"></a><h3>g_socket_receive_messages ()</h3>
|
1393
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1394
|
+
g_socket_receive_messages (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1395
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GInputMessage" title="struct GInputMessage"><span class="type">GInputMessage</span></a> *messages</code></em>,
|
1396
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> num_messages</code></em>,
|
1397
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>,
|
1398
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1399
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1400
|
+
<p>Receive multiple data messages from <em class="parameter"><code>socket</code></em>
|
1401
|
+
in one go. This is the most
|
1402
|
+
complicated and fully-featured version of this call. For easier use, see
|
1403
|
+
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>, <a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()"><code class="function">g_socket_receive_from()</code></a>, and <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()"><code class="function">g_socket_receive_message()</code></a>.</p>
|
1404
|
+
<p><em class="parameter"><code>messages</code></em>
|
1405
|
+
must point to an array of <a class="link" href="GSocket.html#GInputMessage" title="struct GInputMessage"><span class="type">GInputMessage</span></a> structs and
|
1406
|
+
<em class="parameter"><code>num_messages</code></em>
|
1407
|
+
must be the length of this array. Each <a class="link" href="GSocket.html#GInputMessage" title="struct GInputMessage"><span class="type">GInputMessage</span></a>
|
1408
|
+
contains a pointer to an array of <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> structs describing the
|
1409
|
+
buffers that the data received in each message will be written to. Using
|
1410
|
+
multiple <a href="GSocket.html#GInputVector"><span class="type">GInputVectors</span></a> is more memory-efficient than manually copying data
|
1411
|
+
out of a single buffer to multiple sources, and more system-call-efficient
|
1412
|
+
than making multiple calls to <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>, such as in scenarios where
|
1413
|
+
a lot of data packets need to be received (e.g. high-bandwidth video
|
1414
|
+
streaming over RTP/UDP).</p>
|
1415
|
+
<p><em class="parameter"><code>flags</code></em>
|
1416
|
+
modify how all messages are received. The commonly available
|
1417
|
+
arguments for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1418
|
+
values there are the same as the system values, and the flags
|
1419
|
+
are passed in as-is, so you can pass in system-specific flags too. These
|
1420
|
+
flags affect the overall receive operation. Flags affecting individual
|
1421
|
+
messages are returned in <a class="link" href="GSocket.html#GInputMessage.flags"><span class="type">GInputMessage.flags</span></a>.</p>
|
1422
|
+
<p>The other members of <a class="link" href="GSocket.html#GInputMessage" title="struct GInputMessage"><span class="type">GInputMessage</span></a> are treated as described in its
|
1423
|
+
documentation.</p>
|
1424
|
+
<p>If <a class="link" href="GSocket.html#GSocket--blocking" title="The “blocking” property"><span class="type">“blocking”</span></a> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the call will block until <em class="parameter"><code>num_messages</code></em>
|
1425
|
+
have
|
1426
|
+
been received, or the end of the stream is reached.</p>
|
1427
|
+
<p>If <a class="link" href="GSocket.html#GSocket--blocking" title="The “blocking” property"><span class="type">“blocking”</span></a> is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> the call will return up to <em class="parameter"><code>num_messages</code></em>
|
1428
|
+
|
1429
|
+
without blocking, or <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> if no messages are queued in the
|
1430
|
+
operating system to be received.</p>
|
1431
|
+
<p>In blocking mode, if <a class="link" href="GSocket.html#GSocket--timeout" title="The “timeout” property"><span class="type">“timeout”</span></a> is positive and is reached before any
|
1432
|
+
messages are received, <a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a> is returned, otherwise up to
|
1433
|
+
<em class="parameter"><code>num_messages</code></em>
|
1434
|
+
are returned. (Note: This is effectively the
|
1435
|
+
behaviour of <code class="literal">MSG_WAITFORONE</code> with <code class="function">recvmmsg()</code>.)</p>
|
1436
|
+
<p>To be notified when messages are available, wait for the
|
1437
|
+
<a href="../glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition. Note though that you may still receive
|
1438
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> from <a class="link" href="GSocket.html#g-socket-receive-messages" title="g_socket_receive_messages ()"><code class="function">g_socket_receive_messages()</code></a> even if you were
|
1439
|
+
previously notified of a <a href="../glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.</p>
|
1440
|
+
<p>If the remote peer closes the connection, any messages queued in the
|
1441
|
+
operating system will be returned, and subsequent calls to
|
1442
|
+
<a class="link" href="GSocket.html#g-socket-receive-messages" title="g_socket_receive_messages ()"><code class="function">g_socket_receive_messages()</code></a> will return 0 (with no error set).</p>
|
1443
|
+
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1444
|
+
is set accordingly. An error will only
|
1445
|
+
be returned if zero messages could be received; otherwise the number of
|
1446
|
+
messages successfully received before the error will be returned.</p>
|
1447
|
+
<div class="refsect3">
|
1448
|
+
<a name="id-1.4.13.2.10.13.14"></a><h4>Parameters</h4>
|
1449
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1450
|
+
<colgroup>
|
1451
|
+
<col width="150px" class="parameters_name">
|
1452
|
+
<col class="parameters_description">
|
1453
|
+
<col width="200px" class="parameters_annotations">
|
1454
|
+
</colgroup>
|
1455
|
+
<tbody>
|
1456
|
+
<tr>
|
1457
|
+
<td class="parameter_name"><p>socket</p></td>
|
1458
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1459
|
+
<td class="parameter_annotations"> </td>
|
1460
|
+
</tr>
|
1461
|
+
<tr>
|
1462
|
+
<td class="parameter_name"><p>messages</p></td>
|
1463
|
+
<td class="parameter_description"><p> an array of <a class="link" href="GSocket.html#GInputMessage" title="struct GInputMessage"><span class="type">GInputMessage</span></a> structs. </p></td>
|
1464
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages]</span></td>
|
1465
|
+
</tr>
|
1466
|
+
<tr>
|
1467
|
+
<td class="parameter_name"><p>num_messages</p></td>
|
1468
|
+
<td class="parameter_description"><p>the number of elements in <em class="parameter"><code>messages</code></em>
|
1469
|
+
</p></td>
|
1470
|
+
<td class="parameter_annotations"> </td>
|
1471
|
+
</tr>
|
1472
|
+
<tr>
|
1473
|
+
<td class="parameter_name"><p>flags</p></td>
|
1474
|
+
<td class="parameter_description"><p>an int containing <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags for the overall operation</p></td>
|
1475
|
+
<td class="parameter_annotations"> </td>
|
1476
|
+
</tr>
|
1477
|
+
<tr>
|
1478
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1479
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1480
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1481
|
+
</tr>
|
1482
|
+
<tr>
|
1483
|
+
<td class="parameter_name"><p>error</p></td>
|
1484
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</p></td>
|
1485
|
+
<td class="parameter_annotations"> </td>
|
1486
|
+
</tr>
|
1487
|
+
</tbody>
|
1488
|
+
</table></div>
|
1489
|
+
</div>
|
1490
|
+
<div class="refsect3">
|
1491
|
+
<a name="id-1.4.13.2.10.13.15"></a><h4>Returns</h4>
|
1492
|
+
<p> number of messages received, or -1 on error. Note that the number
|
1493
|
+
of messages received may be smaller than <em class="parameter"><code>num_messages</code></em>
|
1494
|
+
if in non-blocking
|
1495
|
+
mode, if the peer closed the connection, or if <em class="parameter"><code>num_messages</code></em>
|
1496
|
+
was larger than <code class="literal">UIO_MAXIOV</code> (1024), in which case the caller may re-try
|
1497
|
+
to receive the remaining messages.</p>
|
1498
|
+
</div>
|
1499
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1382
1500
|
</div>
|
1383
1501
|
<hr>
|
1384
1502
|
<div class="refsect2">
|
@@ -1396,8 +1514,8 @@ the <em class="parameter"><code>blocking</code></em>
|
|
1396
1514
|
argument rather than by <em class="parameter"><code>socket</code></em>
|
1397
1515
|
's properties.</p>
|
1398
1516
|
<div class="refsect3">
|
1399
|
-
<a name="id-1.4.13.2.10.
|
1400
|
-
<div class="informaltable"><table width="100%" border="0">
|
1517
|
+
<a name="id-1.4.13.2.10.14.5"></a><h4>Parameters</h4>
|
1518
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1401
1519
|
<colgroup>
|
1402
1520
|
<col width="150px" class="parameters_name">
|
1403
1521
|
<col class="parameters_description">
|
@@ -1440,12 +1558,11 @@ bytes long). </p></td>
|
|
1440
1558
|
</table></div>
|
1441
1559
|
</div>
|
1442
1560
|
<div class="refsect3">
|
1443
|
-
<a name="id-1.4.13.2.10.
|
1561
|
+
<a name="id-1.4.13.2.10.14.6"></a><h4>Returns</h4>
|
1444
1562
|
<p> Number of bytes read, or 0 if the connection was closed by
|
1445
1563
|
the peer, or -1 on error</p>
|
1446
|
-
<p></p>
|
1447
1564
|
</div>
|
1448
|
-
<p class="since">Since 2.26</p>
|
1565
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
1449
1566
|
</div>
|
1450
1567
|
<hr>
|
1451
1568
|
<div class="refsect2">
|
@@ -1473,8 +1590,8 @@ very common due to the way the underlying APIs work.)</p>
|
|
1473
1590
|
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1474
1591
|
is set accordingly.</p>
|
1475
1592
|
<div class="refsect3">
|
1476
|
-
<a name="id-1.4.13.2.10.
|
1477
|
-
<div class="informaltable"><table width="100%" border="0">
|
1593
|
+
<a name="id-1.4.13.2.10.15.7"></a><h4>Parameters</h4>
|
1594
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1478
1595
|
<colgroup>
|
1479
1596
|
<col width="150px" class="parameters_name">
|
1480
1597
|
<col class="parameters_description">
|
@@ -1511,13 +1628,12 @@ containing the data to send. </p></td>
|
|
1511
1628
|
</table></div>
|
1512
1629
|
</div>
|
1513
1630
|
<div class="refsect3">
|
1514
|
-
<a name="id-1.4.13.2.10.
|
1631
|
+
<a name="id-1.4.13.2.10.15.8"></a><h4>Returns</h4>
|
1515
1632
|
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1516
1633
|
), or -1
|
1517
1634
|
on error</p>
|
1518
|
-
<p></p>
|
1519
1635
|
</div>
|
1520
|
-
<p class="since">Since 2.22</p>
|
1636
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1521
1637
|
</div>
|
1522
1638
|
<hr>
|
1523
1639
|
<div class="refsect2">
|
@@ -1538,8 +1654,8 @@ g_socket_send_to (<em class="parameter"><code><a class="link" href="GSocket.html
|
|
1538
1654
|
<a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).</p>
|
1539
1655
|
<p>See <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> for additional information.</p>
|
1540
1656
|
<div class="refsect3">
|
1541
|
-
<a name="id-1.4.13.2.10.
|
1542
|
-
<div class="informaltable"><table width="100%" border="0">
|
1657
|
+
<a name="id-1.4.13.2.10.16.6"></a><h4>Parameters</h4>
|
1658
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1543
1659
|
<colgroup>
|
1544
1660
|
<col width="150px" class="parameters_name">
|
1545
1661
|
<col class="parameters_description">
|
@@ -1581,13 +1697,12 @@ containing the data to send. </p></td>
|
|
1581
1697
|
</table></div>
|
1582
1698
|
</div>
|
1583
1699
|
<div class="refsect3">
|
1584
|
-
<a name="id-1.4.13.2.10.
|
1700
|
+
<a name="id-1.4.13.2.10.16.7"></a><h4>Returns</h4>
|
1585
1701
|
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1586
1702
|
), or -1
|
1587
1703
|
on error</p>
|
1588
|
-
<p></p>
|
1589
1704
|
</div>
|
1590
|
-
<p class="since">Since 2.22</p>
|
1705
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1591
1706
|
</div>
|
1592
1707
|
<hr>
|
1593
1708
|
<div class="refsect2">
|
@@ -1604,8 +1719,8 @@ g_socket_send_message (<em class="parameter"><code><a class="link" href="GSocket
|
|
1604
1719
|
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1605
1720
|
<p>Send data to <em class="parameter"><code>address</code></em>
|
1606
1721
|
on <em class="parameter"><code>socket</code></em>
|
1607
|
-
.
|
1608
|
-
|
1722
|
+
. For sending multiple messages see
|
1723
|
+
<a class="link" href="GSocket.html#g-socket-send-messages" title="g_socket_send_messages ()"><code class="function">g_socket_send_messages()</code></a>; for easier use, see
|
1609
1724
|
<a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> and <a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()"><code class="function">g_socket_send_to()</code></a>.</p>
|
1610
1725
|
<p>If <em class="parameter"><code>address</code></em>
|
1611
1726
|
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver
|
@@ -1647,8 +1762,8 @@ very common due to the way the underlying APIs work.)</p>
|
|
1647
1762
|
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1648
1763
|
is set accordingly.</p>
|
1649
1764
|
<div class="refsect3">
|
1650
|
-
<a name="id-1.4.13.2.10.
|
1651
|
-
<div class="informaltable"><table width="100%" border="0">
|
1765
|
+
<a name="id-1.4.13.2.10.17.11"></a><h4>Parameters</h4>
|
1766
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1652
1767
|
<colgroup>
|
1653
1768
|
<col width="150px" class="parameters_name">
|
1654
1769
|
<col class="parameters_description">
|
@@ -1707,13 +1822,12 @@ array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlM
|
|
1707
1822
|
</table></div>
|
1708
1823
|
</div>
|
1709
1824
|
<div class="refsect3">
|
1710
|
-
<a name="id-1.4.13.2.10.
|
1825
|
+
<a name="id-1.4.13.2.10.17.12"></a><h4>Returns</h4>
|
1711
1826
|
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1712
1827
|
), or -1
|
1713
1828
|
on error</p>
|
1714
|
-
<p></p>
|
1715
1829
|
</div>
|
1716
|
-
<p class="since">Since 2.22</p>
|
1830
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1717
1831
|
</div>
|
1718
1832
|
<hr>
|
1719
1833
|
<div class="refsect2">
|
@@ -1757,10 +1871,12 @@ wait for the <a href="../glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="
|
|
1757
1871
|
notified of a <a href="../glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> condition. (On Windows in particular, this is
|
1758
1872
|
very common due to the way the underlying APIs work.)</p>
|
1759
1873
|
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1760
|
-
is set accordingly
|
1874
|
+
is set accordingly. An error will only
|
1875
|
+
be returned if zero messages could be sent; otherwise the number of messages
|
1876
|
+
successfully sent before the error will be returned.</p>
|
1761
1877
|
<div class="refsect3">
|
1762
|
-
<a name="id-1.4.13.2.10.
|
1763
|
-
<div class="informaltable"><table width="100%" border="0">
|
1878
|
+
<a name="id-1.4.13.2.10.18.9"></a><h4>Parameters</h4>
|
1879
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1764
1880
|
<colgroup>
|
1765
1881
|
<col width="150px" class="parameters_name">
|
1766
1882
|
<col class="parameters_description">
|
@@ -1802,16 +1918,15 @@ very common due to the way the underlying APIs work.)</p>
|
|
1802
1918
|
</table></div>
|
1803
1919
|
</div>
|
1804
1920
|
<div class="refsect3">
|
1805
|
-
<a name="id-1.4.13.2.10.
|
1921
|
+
<a name="id-1.4.13.2.10.18.10"></a><h4>Returns</h4>
|
1806
1922
|
<p> number of messages sent, or -1 on error. Note that the number of
|
1807
1923
|
messages sent may be smaller than <em class="parameter"><code>num_messages</code></em>
|
1808
1924
|
if the socket is
|
1809
1925
|
non-blocking or if <em class="parameter"><code>num_messages</code></em>
|
1810
1926
|
was larger than UIO_MAXIOV (1024),
|
1811
1927
|
in which case the caller may re-try to send the remaining messages.</p>
|
1812
|
-
<p></p>
|
1813
1928
|
</div>
|
1814
|
-
<p class="since">Since 2.44</p>
|
1929
|
+
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
1815
1930
|
</div>
|
1816
1931
|
<hr>
|
1817
1932
|
<div class="refsect2">
|
@@ -1829,8 +1944,8 @@ the <em class="parameter"><code>blocking</code></em>
|
|
1829
1944
|
argument rather than by <em class="parameter"><code>socket</code></em>
|
1830
1945
|
's properties.</p>
|
1831
1946
|
<div class="refsect3">
|
1832
|
-
<a name="id-1.4.13.2.10.
|
1833
|
-
<div class="informaltable"><table width="100%" border="0">
|
1947
|
+
<a name="id-1.4.13.2.10.19.5"></a><h4>Parameters</h4>
|
1948
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1834
1949
|
<colgroup>
|
1835
1950
|
<col width="150px" class="parameters_name">
|
1836
1951
|
<col class="parameters_description">
|
@@ -1872,13 +1987,12 @@ containing the data to send. </p></td>
|
|
1872
1987
|
</table></div>
|
1873
1988
|
</div>
|
1874
1989
|
<div class="refsect3">
|
1875
|
-
<a name="id-1.4.13.2.10.
|
1990
|
+
<a name="id-1.4.13.2.10.19.6"></a><h4>Returns</h4>
|
1876
1991
|
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1877
1992
|
), or -1
|
1878
1993
|
on error</p>
|
1879
|
-
<p></p>
|
1880
1994
|
</div>
|
1881
|
-
<p class="since">Since 2.26</p>
|
1995
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
1882
1996
|
</div>
|
1883
1997
|
<hr>
|
1884
1998
|
<div class="refsect2">
|
@@ -1913,8 +2027,8 @@ connection, after which the server can safely call <a class="link" href="GSocket
|
|
1913
2027
|
only works if the client will close its connection after the server
|
1914
2028
|
does.)</p>
|
1915
2029
|
<div class="refsect3">
|
1916
|
-
<a name="id-1.4.13.2.10.
|
1917
|
-
<div class="informaltable"><table width="100%" border="0">
|
2030
|
+
<a name="id-1.4.13.2.10.20.9"></a><h4>Parameters</h4>
|
2031
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1918
2032
|
<colgroup>
|
1919
2033
|
<col width="150px" class="parameters_name">
|
1920
2034
|
<col class="parameters_description">
|
@@ -1935,11 +2049,10 @@ does.)</p>
|
|
1935
2049
|
</table></div>
|
1936
2050
|
</div>
|
1937
2051
|
<div class="refsect3">
|
1938
|
-
<a name="id-1.4.13.2.10.
|
2052
|
+
<a name="id-1.4.13.2.10.20.10"></a><h4>Returns</h4>
|
1939
2053
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</p>
|
1940
|
-
<p></p>
|
1941
2054
|
</div>
|
1942
|
-
<p class="since">Since 2.22</p>
|
2055
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1943
2056
|
</div>
|
1944
2057
|
<hr>
|
1945
2058
|
<div class="refsect2">
|
@@ -1948,8 +2061,8 @@ does.)</p>
|
|
1948
2061
|
g_socket_is_closed (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1949
2062
|
<p>Checks whether a socket is closed.</p>
|
1950
2063
|
<div class="refsect3">
|
1951
|
-
<a name="id-1.4.13.2.10.
|
1952
|
-
<div class="informaltable"><table width="100%" border="0">
|
2064
|
+
<a name="id-1.4.13.2.10.21.5"></a><h4>Parameters</h4>
|
2065
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1953
2066
|
<colgroup>
|
1954
2067
|
<col width="150px" class="parameters_name">
|
1955
2068
|
<col class="parameters_description">
|
@@ -1963,11 +2076,10 @@ g_socket_is_closed (<em class="parameter"><code><a class="link" href="GSocket.ht
|
|
1963
2076
|
</table></div>
|
1964
2077
|
</div>
|
1965
2078
|
<div class="refsect3">
|
1966
|
-
<a name="id-1.4.13.2.10.
|
2079
|
+
<a name="id-1.4.13.2.10.21.6"></a><h4>Returns</h4>
|
1967
2080
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is closed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1968
|
-
<p></p>
|
1969
2081
|
</div>
|
1970
|
-
<p class="since">Since 2.22</p>
|
2082
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
1971
2083
|
</div>
|
1972
2084
|
<hr>
|
1973
2085
|
<div class="refsect2">
|
@@ -1977,7 +2089,7 @@ g_socket_shutdown (<em class="parameter"><code><a class="link" href="GSocket.htm
|
|
1977
2089
|
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
1978
2090
|
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
1979
2091
|
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1980
|
-
<p>Shut down part of a full-duplex connection.</p>
|
2092
|
+
<p>Shut down part or all of a full-duplex connection.</p>
|
1981
2093
|
<p>If <em class="parameter"><code>shutdown_read</code></em>
|
1982
2094
|
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the receiving side of the connection
|
1983
2095
|
is shut down, and further reading is disallowed.</p>
|
@@ -1987,12 +2099,13 @@ is shut down, and further writing is disallowed.</p>
|
|
1987
2099
|
<p>It is allowed for both <em class="parameter"><code>shutdown_read</code></em>
|
1988
2100
|
and <em class="parameter"><code>shutdown_write</code></em>
|
1989
2101
|
to be <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
1990
|
-
<p>One example where
|
1991
|
-
where you close the sending side,
|
1992
|
-
the connection, thus ensuring that the
|
2102
|
+
<p>One example where it is useful to shut down only one side of a connection is
|
2103
|
+
graceful disconnect for TCP connections where you close the sending side,
|
2104
|
+
then wait for the other side to close the connection, thus ensuring that the
|
2105
|
+
other side saw all sent data.</p>
|
1993
2106
|
<div class="refsect3">
|
1994
|
-
<a name="id-1.4.13.2.10.
|
1995
|
-
<div class="informaltable"><table width="100%" border="0">
|
2107
|
+
<a name="id-1.4.13.2.10.22.9"></a><h4>Parameters</h4>
|
2108
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1996
2109
|
<colgroup>
|
1997
2110
|
<col width="150px" class="parameters_name">
|
1998
2111
|
<col class="parameters_description">
|
@@ -2023,11 +2136,10 @@ the connection, thus ensuring that the other side saw all sent data.</p>
|
|
2023
2136
|
</table></div>
|
2024
2137
|
</div>
|
2025
2138
|
<div class="refsect3">
|
2026
|
-
<a name="id-1.4.13.2.10.
|
2139
|
+
<a name="id-1.4.13.2.10.22.10"></a><h4>Returns</h4>
|
2027
2140
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</p>
|
2028
|
-
<p></p>
|
2029
2141
|
</div>
|
2030
|
-
<p class="since">Since 2.22</p>
|
2142
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2031
2143
|
</div>
|
2032
2144
|
<hr>
|
2033
2145
|
<div class="refsect2">
|
@@ -2036,9 +2148,13 @@ the connection, thus ensuring that the other side saw all sent data.</p>
|
|
2036
2148
|
g_socket_is_connected (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2037
2149
|
<p>Check whether the socket is connected. This is only useful for
|
2038
2150
|
connection-oriented sockets.</p>
|
2151
|
+
<p>If using <a class="link" href="GSocket.html#g-socket-shutdown" title="g_socket_shutdown ()"><code class="function">g_socket_shutdown()</code></a>, this function will return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> until the
|
2152
|
+
socket has been shut down for reading and writing. If you do a non-blocking
|
2153
|
+
connect, this function will not return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> until after you call
|
2154
|
+
<a class="link" href="GSocket.html#g-socket-check-connect-result" title="g_socket_check_connect_result ()"><code class="function">g_socket_check_connect_result()</code></a>.</p>
|
2039
2155
|
<div class="refsect3">
|
2040
|
-
<a name="id-1.4.13.2.10.
|
2041
|
-
<div class="informaltable"><table width="100%" border="0">
|
2156
|
+
<a name="id-1.4.13.2.10.23.6"></a><h4>Parameters</h4>
|
2157
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2042
2158
|
<colgroup>
|
2043
2159
|
<col width="150px" class="parameters_name">
|
2044
2160
|
<col class="parameters_description">
|
@@ -2052,11 +2168,10 @@ connection-oriented sockets.</p>
|
|
2052
2168
|
</table></div>
|
2053
2169
|
</div>
|
2054
2170
|
<div class="refsect3">
|
2055
|
-
<a name="id-1.4.13.2.10.
|
2171
|
+
<a name="id-1.4.13.2.10.23.7"></a><h4>Returns</h4>
|
2056
2172
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is connected, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2057
|
-
<p></p>
|
2058
2173
|
</div>
|
2059
|
-
<p class="since">Since 2.22</p>
|
2174
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2060
2175
|
</div>
|
2061
2176
|
<hr>
|
2062
2177
|
<div class="refsect2">
|
@@ -2089,9 +2204,10 @@ occurs, the source will then trigger anyway, reporting <a href="../glib/glib-IO-
|
|
2089
2204
|
will have been
|
2090
2205
|
marked as having had a timeout, and so the next <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> I/O method
|
2091
2206
|
you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>.</p>
|
2207
|
+
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2092
2208
|
<div class="refsect3">
|
2093
|
-
<a name="id-1.4.13.2.10.
|
2094
|
-
<div class="informaltable"><table width="100%" border="0">
|
2209
|
+
<a name="id-1.4.13.2.10.24.10"></a><h4>Parameters</h4>
|
2210
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2095
2211
|
<colgroup>
|
2096
2212
|
<col width="150px" class="parameters_name">
|
2097
2213
|
<col class="parameters_description">
|
@@ -2117,11 +2233,11 @@ you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERRO
|
|
2117
2233
|
</table></div>
|
2118
2234
|
</div>
|
2119
2235
|
<div class="refsect3">
|
2120
|
-
<a name="id-1.4.13.2.10.
|
2236
|
+
<a name="id-1.4.13.2.10.24.11"></a><h4>Returns</h4>
|
2121
2237
|
<p> a newly allocated <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><code class="literal">GSource</code></a>, free with <a href="../glib/glib-The-Main-Event-Loop.html#g-source-unref"><code class="function">g_source_unref()</code></a>. </p>
|
2122
2238
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2123
2239
|
</div>
|
2124
|
-
<p class="since">Since 2.22</p>
|
2240
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2125
2241
|
</div>
|
2126
2242
|
<hr>
|
2127
2243
|
<div class="refsect2">
|
@@ -2147,8 +2263,8 @@ the initial attempt returns <a class="link" href="gio-GIOError.html#G-IO-ERROR-W
|
|
2147
2263
|
these conditions will always be set in the output if they are true.</p>
|
2148
2264
|
<p>This call never blocks.</p>
|
2149
2265
|
<div class="refsect3">
|
2150
|
-
<a name="id-1.4.13.2.10.
|
2151
|
-
<div class="informaltable"><table width="100%" border="0">
|
2266
|
+
<a name="id-1.4.13.2.10.25.8"></a><h4>Parameters</h4>
|
2267
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2152
2268
|
<colgroup>
|
2153
2269
|
<col width="150px" class="parameters_name">
|
2154
2270
|
<col class="parameters_description">
|
@@ -2169,12 +2285,11 @@ these conditions will always be set in the output if they are true.</p>
|
|
2169
2285
|
</table></div>
|
2170
2286
|
</div>
|
2171
2287
|
<div class="refsect3">
|
2172
|
-
<a name="id-1.4.13.2.10.
|
2288
|
+
<a name="id-1.4.13.2.10.25.9"></a><h4>Returns</h4>
|
2173
2289
|
<p> the <em class="parameter"><code>GIOCondition</code></em>
|
2174
2290
|
mask of the current state</p>
|
2175
|
-
<p></p>
|
2176
2291
|
</div>
|
2177
|
-
<p class="since">Since 2.22</p>
|
2292
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2178
2293
|
</div>
|
2179
2294
|
<hr>
|
2180
2295
|
<div class="refsect2">
|
@@ -2197,8 +2312,8 @@ the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCEL
|
|
2197
2312
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>).</p>
|
2198
2313
|
<p>See also <a class="link" href="GSocket.html#g-socket-condition-timed-wait" title="g_socket_condition_timed_wait ()"><code class="function">g_socket_condition_timed_wait()</code></a>.</p>
|
2199
2314
|
<div class="refsect3">
|
2200
|
-
<a name="id-1.4.13.2.10.
|
2201
|
-
<div class="informaltable"><table width="100%" border="0">
|
2315
|
+
<a name="id-1.4.13.2.10.26.7"></a><h4>Parameters</h4>
|
2316
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2202
2317
|
<colgroup>
|
2203
2318
|
<col width="150px" class="parameters_name">
|
2204
2319
|
<col class="parameters_description">
|
@@ -2229,11 +2344,10 @@ the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCEL
|
|
2229
2344
|
</table></div>
|
2230
2345
|
</div>
|
2231
2346
|
<div class="refsect3">
|
2232
|
-
<a name="id-1.4.13.2.10.
|
2347
|
+
<a name="id-1.4.13.2.10.26.8"></a><h4>Returns</h4>
|
2233
2348
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
2234
|
-
<p></p>
|
2235
2349
|
</div>
|
2236
|
-
<p class="since">Since 2.22</p>
|
2350
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2237
2351
|
</div>
|
2238
2352
|
<hr>
|
2239
2353
|
<div class="refsect2">
|
@@ -2267,8 +2381,8 @@ resolution, and the behavior is undefined if <em class="parameter"><code>timeout
|
|
2267
2381
|
is not an
|
2268
2382
|
exact number of milliseconds.</p>
|
2269
2383
|
<div class="refsect3">
|
2270
|
-
<a name="id-1.4.13.2.10.
|
2271
|
-
<div class="informaltable"><table width="100%" border="0">
|
2384
|
+
<a name="id-1.4.13.2.10.27.8"></a><h4>Parameters</h4>
|
2385
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2272
2386
|
<colgroup>
|
2273
2387
|
<col width="150px" class="parameters_name">
|
2274
2388
|
<col class="parameters_description">
|
@@ -2304,18 +2418,17 @@ exact number of milliseconds.</p>
|
|
2304
2418
|
</table></div>
|
2305
2419
|
</div>
|
2306
2420
|
<div class="refsect3">
|
2307
|
-
<a name="id-1.4.13.2.10.
|
2421
|
+
<a name="id-1.4.13.2.10.27.9"></a><h4>Returns</h4>
|
2308
2422
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
2309
|
-
<p></p>
|
2310
2423
|
</div>
|
2311
|
-
<p class="since">Since 2.32</p>
|
2424
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2312
2425
|
</div>
|
2313
2426
|
<hr>
|
2314
2427
|
<div class="refsect2">
|
2315
2428
|
<a name="g-socket-get-available-bytes"></a><h3>g_socket_get_available_bytes ()</h3>
|
2316
2429
|
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
2317
2430
|
g_socket_get_available_bytes (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2318
|
-
<p>Get the amount of data pending in the OS input buffer.</p>
|
2431
|
+
<p>Get the amount of data pending in the OS input buffer, without blocking.</p>
|
2319
2432
|
<p>If <em class="parameter"><code>socket</code></em>
|
2320
2433
|
is a UDP or SCTP socket, this will return the size of
|
2321
2434
|
just the next packet, even if additional packets are buffered after
|
@@ -2327,8 +2440,8 @@ of the incoming packet, it is better to just do a
|
|
2327
2440
|
<a class="link" href="GSocket.html#g-socket-get-available-bytes" title="g_socket_get_available_bytes ()"><code class="function">g_socket_get_available_bytes()</code></a> first and then doing a receive of
|
2328
2441
|
exactly the right size.</p>
|
2329
2442
|
<div class="refsect3">
|
2330
|
-
<a name="id-1.4.13.2.10.
|
2331
|
-
<div class="informaltable"><table width="100%" border="0">
|
2443
|
+
<a name="id-1.4.13.2.10.28.7"></a><h4>Parameters</h4>
|
2444
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2332
2445
|
<colgroup>
|
2333
2446
|
<col width="150px" class="parameters_name">
|
2334
2447
|
<col class="parameters_description">
|
@@ -2342,12 +2455,11 @@ exactly the right size.</p>
|
|
2342
2455
|
</table></div>
|
2343
2456
|
</div>
|
2344
2457
|
<div class="refsect3">
|
2345
|
-
<a name="id-1.4.13.2.10.
|
2458
|
+
<a name="id-1.4.13.2.10.28.8"></a><h4>Returns</h4>
|
2346
2459
|
<p> the number of bytes that can be read from the socket
|
2347
2460
|
without blocking or truncating, or -1 on error.</p>
|
2348
|
-
<p></p>
|
2349
2461
|
</div>
|
2350
|
-
<p class="since">Since 2.32</p>
|
2462
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2351
2463
|
</div>
|
2352
2464
|
<hr>
|
2353
2465
|
<div class="refsect2">
|
@@ -2362,8 +2474,8 @@ on time then the new connections will be refused.</p>
|
|
2362
2474
|
<p>Note that this must be called before <a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()"><code class="function">g_socket_listen()</code></a> and has no
|
2363
2475
|
effect if called after that.</p>
|
2364
2476
|
<div class="refsect3">
|
2365
|
-
<a name="id-1.4.13.2.10.
|
2366
|
-
<div class="informaltable"><table width="100%" border="0">
|
2477
|
+
<a name="id-1.4.13.2.10.29.6"></a><h4>Parameters</h4>
|
2478
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2367
2479
|
<colgroup>
|
2368
2480
|
<col width="150px" class="parameters_name">
|
2369
2481
|
<col class="parameters_description">
|
@@ -2383,7 +2495,7 @@ effect if called after that.</p>
|
|
2383
2495
|
</tbody>
|
2384
2496
|
</table></div>
|
2385
2497
|
</div>
|
2386
|
-
<p class="since">Since 2.22</p>
|
2498
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2387
2499
|
</div>
|
2388
2500
|
<hr>
|
2389
2501
|
<div class="refsect2">
|
@@ -2393,8 +2505,8 @@ g_socket_get_listen_backlog (<em class="parameter"><code><a class="link" href="G
|
|
2393
2505
|
<p>Gets the listen backlog setting of the socket. For details on this,
|
2394
2506
|
see <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()"><code class="function">g_socket_set_listen_backlog()</code></a>.</p>
|
2395
2507
|
<div class="refsect3">
|
2396
|
-
<a name="id-1.4.13.2.10.
|
2397
|
-
<div class="informaltable"><table width="100%" border="0">
|
2508
|
+
<a name="id-1.4.13.2.10.30.5"></a><h4>Parameters</h4>
|
2509
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2398
2510
|
<colgroup>
|
2399
2511
|
<col width="150px" class="parameters_name">
|
2400
2512
|
<col class="parameters_description">
|
@@ -2408,11 +2520,10 @@ see <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_soc
|
|
2408
2520
|
</table></div>
|
2409
2521
|
</div>
|
2410
2522
|
<div class="refsect3">
|
2411
|
-
<a name="id-1.4.13.2.10.
|
2523
|
+
<a name="id-1.4.13.2.10.30.6"></a><h4>Returns</h4>
|
2412
2524
|
<p> the maximum number of pending connections.</p>
|
2413
|
-
<p></p>
|
2414
2525
|
</div>
|
2415
|
-
<p class="since">Since 2.22</p>
|
2526
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2416
2527
|
</div>
|
2417
2528
|
<hr>
|
2418
2529
|
<div class="refsect2">
|
@@ -2422,8 +2533,8 @@ g_socket_get_blocking (<em class="parameter"><code><a class="link" href="GSocket
|
|
2422
2533
|
<p>Gets the blocking mode of the socket. For details on blocking I/O,
|
2423
2534
|
see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_set_blocking ()"><code class="function">g_socket_set_blocking()</code></a>.</p>
|
2424
2535
|
<div class="refsect3">
|
2425
|
-
<a name="id-1.4.13.2.10.
|
2426
|
-
<div class="informaltable"><table width="100%" border="0">
|
2536
|
+
<a name="id-1.4.13.2.10.31.5"></a><h4>Parameters</h4>
|
2537
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2427
2538
|
<colgroup>
|
2428
2539
|
<col width="150px" class="parameters_name">
|
2429
2540
|
<col class="parameters_description">
|
@@ -2437,11 +2548,10 @@ see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_se
|
|
2437
2548
|
</table></div>
|
2438
2549
|
</div>
|
2439
2550
|
<div class="refsect3">
|
2440
|
-
<a name="id-1.4.13.2.10.
|
2551
|
+
<a name="id-1.4.13.2.10.31.6"></a><h4>Returns</h4>
|
2441
2552
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if blocking I/O is used, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2442
|
-
<p></p>
|
2443
2553
|
</div>
|
2444
|
-
<p class="since">Since 2.22</p>
|
2554
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2445
2555
|
</div>
|
2446
2556
|
<hr>
|
2447
2557
|
<div class="refsect2">
|
@@ -2450,15 +2560,16 @@ see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_se
|
|
2450
2560
|
g_socket_set_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2451
2561
|
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);</pre>
|
2452
2562
|
<p>Sets the blocking mode of the socket. In blocking mode
|
2453
|
-
all operations
|
2563
|
+
all operations (which don’t take an explicit blocking parameter) block until
|
2564
|
+
they succeed or there is an error. In
|
2454
2565
|
non-blocking mode all functions return results immediately or
|
2455
2566
|
with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error.</p>
|
2456
2567
|
<p>All sockets are created in blocking mode. However, note that the
|
2457
2568
|
platform level socket is always non-blocking, and blocking mode
|
2458
2569
|
is a GSocket level feature.</p>
|
2459
2570
|
<div class="refsect3">
|
2460
|
-
<a name="id-1.4.13.2.10.
|
2461
|
-
<div class="informaltable"><table width="100%" border="0">
|
2571
|
+
<a name="id-1.4.13.2.10.32.6"></a><h4>Parameters</h4>
|
2572
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2462
2573
|
<colgroup>
|
2463
2574
|
<col width="150px" class="parameters_name">
|
2464
2575
|
<col class="parameters_description">
|
@@ -2478,7 +2589,7 @@ is a GSocket level feature.</p>
|
|
2478
2589
|
</tbody>
|
2479
2590
|
</table></div>
|
2480
2591
|
</div>
|
2481
|
-
<p class="since">Since 2.22</p>
|
2592
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2482
2593
|
</div>
|
2483
2594
|
<hr>
|
2484
2595
|
<div class="refsect2">
|
@@ -2488,8 +2599,8 @@ g_socket_get_keepalive (<em class="parameter"><code><a class="link" href="GSocke
|
|
2488
2599
|
<p>Gets the keepalive mode of the socket. For details on this,
|
2489
2600
|
see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_set_keepalive ()"><code class="function">g_socket_set_keepalive()</code></a>.</p>
|
2490
2601
|
<div class="refsect3">
|
2491
|
-
<a name="id-1.4.13.2.10.
|
2492
|
-
<div class="informaltable"><table width="100%" border="0">
|
2602
|
+
<a name="id-1.4.13.2.10.33.5"></a><h4>Parameters</h4>
|
2603
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2493
2604
|
<colgroup>
|
2494
2605
|
<col width="150px" class="parameters_name">
|
2495
2606
|
<col class="parameters_description">
|
@@ -2503,11 +2614,10 @@ see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_s
|
|
2503
2614
|
</table></div>
|
2504
2615
|
</div>
|
2505
2616
|
<div class="refsect3">
|
2506
|
-
<a name="id-1.4.13.2.10.
|
2617
|
+
<a name="id-1.4.13.2.10.33.6"></a><h4>Returns</h4>
|
2507
2618
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if keepalive is active, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2508
|
-
<p></p>
|
2509
2619
|
</div>
|
2510
|
-
<p class="since">Since 2.22</p>
|
2620
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2511
2621
|
</div>
|
2512
2622
|
<hr>
|
2513
2623
|
<div class="refsect2">
|
@@ -2529,8 +2639,8 @@ on a server socket if you want to allow clients to remain idle for long
|
|
2529
2639
|
periods of time, but also want to ensure that connections are eventually
|
2530
2640
|
garbage-collected if clients crash or become unreachable.</p>
|
2531
2641
|
<div class="refsect3">
|
2532
|
-
<a name="id-1.4.13.2.10.
|
2533
|
-
<div class="informaltable"><table width="100%" border="0">
|
2642
|
+
<a name="id-1.4.13.2.10.34.7"></a><h4>Parameters</h4>
|
2643
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2534
2644
|
<colgroup>
|
2535
2645
|
<col width="150px" class="parameters_name">
|
2536
2646
|
<col class="parameters_description">
|
@@ -2550,7 +2660,7 @@ garbage-collected if clients crash or become unreachable.</p>
|
|
2550
2660
|
</tbody>
|
2551
2661
|
</table></div>
|
2552
2662
|
</div>
|
2553
|
-
<p class="since">Since 2.22</p>
|
2663
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2554
2664
|
</div>
|
2555
2665
|
<hr>
|
2556
2666
|
<div class="refsect2">
|
@@ -2560,8 +2670,8 @@ g_socket_get_timeout (<em class="parameter"><code><a class="link" href="GSocket.
|
|
2560
2670
|
<p>Gets the timeout setting of the socket. For details on this, see
|
2561
2671
|
<a class="link" href="GSocket.html#g-socket-set-timeout" title="g_socket_set_timeout ()"><code class="function">g_socket_set_timeout()</code></a>.</p>
|
2562
2672
|
<div class="refsect3">
|
2563
|
-
<a name="id-1.4.13.2.10.
|
2564
|
-
<div class="informaltable"><table width="100%" border="0">
|
2673
|
+
<a name="id-1.4.13.2.10.35.5"></a><h4>Parameters</h4>
|
2674
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2565
2675
|
<colgroup>
|
2566
2676
|
<col width="150px" class="parameters_name">
|
2567
2677
|
<col class="parameters_description">
|
@@ -2575,11 +2685,10 @@ g_socket_get_timeout (<em class="parameter"><code><a class="link" href="GSocket.
|
|
2575
2685
|
</table></div>
|
2576
2686
|
</div>
|
2577
2687
|
<div class="refsect3">
|
2578
|
-
<a name="id-1.4.13.2.10.
|
2688
|
+
<a name="id-1.4.13.2.10.35.6"></a><h4>Returns</h4>
|
2579
2689
|
<p> the timeout in seconds</p>
|
2580
|
-
<p></p>
|
2581
2690
|
</div>
|
2582
|
-
<p class="since">Since 2.26</p>
|
2691
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
2583
2692
|
</div>
|
2584
2693
|
<hr>
|
2585
2694
|
<div class="refsect2">
|
@@ -2608,8 +2717,8 @@ on their own.</p>
|
|
2608
2717
|
<p>Note that if an I/O operation is interrupted by a signal, this may
|
2609
2718
|
cause the timeout to be reset.</p>
|
2610
2719
|
<div class="refsect3">
|
2611
|
-
<a name="id-1.4.13.2.10.
|
2612
|
-
<div class="informaltable"><table width="100%" border="0">
|
2720
|
+
<a name="id-1.4.13.2.10.36.9"></a><h4>Parameters</h4>
|
2721
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2613
2722
|
<colgroup>
|
2614
2723
|
<col width="150px" class="parameters_name">
|
2615
2724
|
<col class="parameters_description">
|
@@ -2630,7 +2739,7 @@ cause the timeout to be reset.</p>
|
|
2630
2739
|
</tbody>
|
2631
2740
|
</table></div>
|
2632
2741
|
</div>
|
2633
|
-
<p class="since">Since 2.26</p>
|
2742
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
2634
2743
|
</div>
|
2635
2744
|
<hr>
|
2636
2745
|
<div class="refsect2">
|
@@ -2642,8 +2751,8 @@ g_socket_set_ttl (<em class="parameter"><code><a class="link" href="GSocket.html
|
|
2642
2751
|
.
|
2643
2752
|
By default the platform-specific default value is used.</p>
|
2644
2753
|
<div class="refsect3">
|
2645
|
-
<a name="id-1.4.13.2.10.
|
2646
|
-
<div class="informaltable"><table width="100%" border="0">
|
2754
|
+
<a name="id-1.4.13.2.10.37.5"></a><h4>Parameters</h4>
|
2755
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2647
2756
|
<colgroup>
|
2648
2757
|
<col width="150px" class="parameters_name">
|
2649
2758
|
<col class="parameters_description">
|
@@ -2664,7 +2773,7 @@ By default the platform-specific default value is used.</p>
|
|
2664
2773
|
</tbody>
|
2665
2774
|
</table></div>
|
2666
2775
|
</div>
|
2667
|
-
<p class="since">Since 2.32</p>
|
2776
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2668
2777
|
</div>
|
2669
2778
|
<hr>
|
2670
2779
|
<div class="refsect2">
|
@@ -2675,8 +2784,8 @@ g_socket_get_ttl (<em class="parameter"><code><a class="link" href="GSocket.html
|
|
2675
2784
|
; see
|
2676
2785
|
<a class="link" href="GSocket.html#g-socket-set-ttl" title="g_socket_set_ttl ()"><code class="function">g_socket_set_ttl()</code></a> for more details.</p>
|
2677
2786
|
<div class="refsect3">
|
2678
|
-
<a name="id-1.4.13.2.10.
|
2679
|
-
<div class="informaltable"><table width="100%" border="0">
|
2787
|
+
<a name="id-1.4.13.2.10.38.5"></a><h4>Parameters</h4>
|
2788
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2680
2789
|
<colgroup>
|
2681
2790
|
<col width="150px" class="parameters_name">
|
2682
2791
|
<col class="parameters_description">
|
@@ -2690,12 +2799,11 @@ g_socket_get_ttl (<em class="parameter"><code><a class="link" href="GSocket.html
|
|
2690
2799
|
</table></div>
|
2691
2800
|
</div>
|
2692
2801
|
<div class="refsect3">
|
2693
|
-
<a name="id-1.4.13.2.10.
|
2802
|
+
<a name="id-1.4.13.2.10.38.6"></a><h4>Returns</h4>
|
2694
2803
|
<p> the time-to-live setting on <em class="parameter"><code>socket</code></em>
|
2695
2804
|
</p>
|
2696
|
-
<p></p>
|
2697
2805
|
</div>
|
2698
|
-
<p class="since">Since 2.32</p>
|
2806
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2699
2807
|
</div>
|
2700
2808
|
<hr>
|
2701
2809
|
<div class="refsect2">
|
@@ -2707,8 +2815,8 @@ g_socket_get_broadcast (<em class="parameter"><code><a class="link" href="GSocke
|
|
2707
2815
|
it is possible to send packets to broadcast
|
2708
2816
|
addresses.</p>
|
2709
2817
|
<div class="refsect3">
|
2710
|
-
<a name="id-1.4.13.2.10.
|
2711
|
-
<div class="informaltable"><table width="100%" border="0">
|
2818
|
+
<a name="id-1.4.13.2.10.39.5"></a><h4>Parameters</h4>
|
2819
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2712
2820
|
<colgroup>
|
2713
2821
|
<col width="150px" class="parameters_name">
|
2714
2822
|
<col class="parameters_description">
|
@@ -2722,12 +2830,11 @@ addresses.</p>
|
|
2722
2830
|
</table></div>
|
2723
2831
|
</div>
|
2724
2832
|
<div class="refsect3">
|
2725
|
-
<a name="id-1.4.13.2.10.
|
2833
|
+
<a name="id-1.4.13.2.10.39.6"></a><h4>Returns</h4>
|
2726
2834
|
<p> the broadcast setting on <em class="parameter"><code>socket</code></em>
|
2727
2835
|
</p>
|
2728
|
-
<p></p>
|
2729
2836
|
</div>
|
2730
|
-
<p class="since">Since 2.32</p>
|
2837
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2731
2838
|
</div>
|
2732
2839
|
<hr>
|
2733
2840
|
<div class="refsect2">
|
@@ -2739,8 +2846,8 @@ g_socket_set_broadcast (<em class="parameter"><code><a class="link" href="GSocke
|
|
2739
2846
|
should allow sending to broadcast addresses.
|
2740
2847
|
This is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> by default.</p>
|
2741
2848
|
<div class="refsect3">
|
2742
|
-
<a name="id-1.4.13.2.10.
|
2743
|
-
<div class="informaltable"><table width="100%" border="0">
|
2849
|
+
<a name="id-1.4.13.2.10.40.5"></a><h4>Parameters</h4>
|
2850
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2744
2851
|
<colgroup>
|
2745
2852
|
<col width="150px" class="parameters_name">
|
2746
2853
|
<col class="parameters_description">
|
@@ -2762,7 +2869,7 @@ addresses</p></td>
|
|
2762
2869
|
</tbody>
|
2763
2870
|
</table></div>
|
2764
2871
|
</div>
|
2765
|
-
<p class="since">Since 2.32</p>
|
2872
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2766
2873
|
</div>
|
2767
2874
|
<hr>
|
2768
2875
|
<div class="refsect2">
|
@@ -2787,8 +2894,8 @@ headers.</p>
|
|
2787
2894
|
is still a pointer to a <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> variable, not a <a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>;
|
2788
2895
|
<a class="link" href="GSocket.html#g-socket-get-option" title="g_socket_get_option ()"><code class="function">g_socket_get_option()</code></a> will handle the conversion internally.</p>
|
2789
2896
|
<div class="refsect3">
|
2790
|
-
<a name="id-1.4.13.2.10.
|
2791
|
-
<div class="informaltable"><table width="100%" border="0">
|
2897
|
+
<a name="id-1.4.13.2.10.41.7"></a><h4>Parameters</h4>
|
2898
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2792
2899
|
<colgroup>
|
2793
2900
|
<col width="150px" class="parameters_name">
|
2794
2901
|
<col class="parameters_description">
|
@@ -2824,14 +2931,13 @@ headers.</p>
|
|
2824
2931
|
</table></div>
|
2825
2932
|
</div>
|
2826
2933
|
<div class="refsect3">
|
2827
|
-
<a name="id-1.4.13.2.10.
|
2934
|
+
<a name="id-1.4.13.2.10.41.8"></a><h4>Returns</h4>
|
2828
2935
|
<p> success or failure. On failure, <em class="parameter"><code>error</code></em>
|
2829
2936
|
will be set, and
|
2830
2937
|
the system error value (<code class="literal">errno</code> or <code class="function">WSAGetLastError()</code>) will still
|
2831
2938
|
be set to the result of the <code class="function">getsockopt()</code> call.</p>
|
2832
|
-
<p></p>
|
2833
2939
|
</div>
|
2834
|
-
<p class="since">Since 2.36</p>
|
2940
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
2835
2941
|
</div>
|
2836
2942
|
<hr>
|
2837
2943
|
<div class="refsect2">
|
@@ -2852,8 +2958,8 @@ standard/portable socket options. For unusual socket protocols or
|
|
2852
2958
|
platform-dependent options, you may need to include additional
|
2853
2959
|
headers.</p>
|
2854
2960
|
<div class="refsect3">
|
2855
|
-
<a name="id-1.4.13.2.10.
|
2856
|
-
<div class="informaltable"><table width="100%" border="0">
|
2961
|
+
<a name="id-1.4.13.2.10.42.6"></a><h4>Parameters</h4>
|
2962
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2857
2963
|
<colgroup>
|
2858
2964
|
<col width="150px" class="parameters_name">
|
2859
2965
|
<col class="parameters_description">
|
@@ -2889,14 +2995,13 @@ headers.</p>
|
|
2889
2995
|
</table></div>
|
2890
2996
|
</div>
|
2891
2997
|
<div class="refsect3">
|
2892
|
-
<a name="id-1.4.13.2.10.
|
2998
|
+
<a name="id-1.4.13.2.10.42.7"></a><h4>Returns</h4>
|
2893
2999
|
<p> success or failure. On failure, <em class="parameter"><code>error</code></em>
|
2894
3000
|
will be set, and
|
2895
3001
|
the system error value (<code class="literal">errno</code> or <code class="function">WSAGetLastError()</code>) will still
|
2896
3002
|
be set to the result of the <code class="function">setsockopt()</code> call.</p>
|
2897
|
-
<p></p>
|
2898
3003
|
</div>
|
2899
|
-
<p class="since">Since 2.36</p>
|
3004
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
2900
3005
|
</div>
|
2901
3006
|
<hr>
|
2902
3007
|
<div class="refsect2">
|
@@ -2905,8 +3010,8 @@ be set to the result of the <code class="function">setsockopt()</code> call.</p>
|
|
2905
3010
|
g_socket_get_family (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2906
3011
|
<p>Gets the socket family of the socket.</p>
|
2907
3012
|
<div class="refsect3">
|
2908
|
-
<a name="id-1.4.13.2.10.
|
2909
|
-
<div class="informaltable"><table width="100%" border="0">
|
3013
|
+
<a name="id-1.4.13.2.10.43.5"></a><h4>Parameters</h4>
|
3014
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2910
3015
|
<colgroup>
|
2911
3016
|
<col width="150px" class="parameters_name">
|
2912
3017
|
<col class="parameters_description">
|
@@ -2920,11 +3025,10 @@ g_socket_get_family (<em class="parameter"><code><a class="link" href="GSocket.h
|
|
2920
3025
|
</table></div>
|
2921
3026
|
</div>
|
2922
3027
|
<div class="refsect3">
|
2923
|
-
<a name="id-1.4.13.2.10.
|
3028
|
+
<a name="id-1.4.13.2.10.43.6"></a><h4>Returns</h4>
|
2924
3029
|
<p> a <a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a></p>
|
2925
|
-
<p></p>
|
2926
3030
|
</div>
|
2927
|
-
<p class="since">Since 2.22</p>
|
3031
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2928
3032
|
</div>
|
2929
3033
|
<hr>
|
2930
3034
|
<div class="refsect2">
|
@@ -2937,8 +3041,8 @@ a Winsock2 SOCKET handle. This may be useful for
|
|
2937
3041
|
doing platform specific or otherwise unusual operations
|
2938
3042
|
on the socket.</p>
|
2939
3043
|
<div class="refsect3">
|
2940
|
-
<a name="id-1.4.13.2.10.
|
2941
|
-
<div class="informaltable"><table width="100%" border="0">
|
3044
|
+
<a name="id-1.4.13.2.10.44.5"></a><h4>Parameters</h4>
|
3045
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2942
3046
|
<colgroup>
|
2943
3047
|
<col width="150px" class="parameters_name">
|
2944
3048
|
<col class="parameters_description">
|
@@ -2952,11 +3056,10 @@ on the socket.</p>
|
|
2952
3056
|
</table></div>
|
2953
3057
|
</div>
|
2954
3058
|
<div class="refsect3">
|
2955
|
-
<a name="id-1.4.13.2.10.
|
3059
|
+
<a name="id-1.4.13.2.10.44.6"></a><h4>Returns</h4>
|
2956
3060
|
<p> the file descriptor of the socket.</p>
|
2957
|
-
<p></p>
|
2958
3061
|
</div>
|
2959
|
-
<p class="since">Since 2.22</p>
|
3062
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2960
3063
|
</div>
|
2961
3064
|
<hr>
|
2962
3065
|
<div class="refsect2">
|
@@ -2968,8 +3071,8 @@ g_socket_get_local_address (<em class="parameter"><code><a class="link" href="GS
|
|
2968
3071
|
useful if the socket has been bound to a local address,
|
2969
3072
|
either explicitly or implicitly when connecting.</p>
|
2970
3073
|
<div class="refsect3">
|
2971
|
-
<a name="id-1.4.13.2.10.
|
2972
|
-
<div class="informaltable"><table width="100%" border="0">
|
3074
|
+
<a name="id-1.4.13.2.10.45.5"></a><h4>Parameters</h4>
|
3075
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2973
3076
|
<colgroup>
|
2974
3077
|
<col width="150px" class="parameters_name">
|
2975
3078
|
<col class="parameters_description">
|
@@ -2990,12 +3093,12 @@ either explicitly or implicitly when connecting.</p>
|
|
2990
3093
|
</table></div>
|
2991
3094
|
</div>
|
2992
3095
|
<div class="refsect3">
|
2993
|
-
<a name="id-1.4.13.2.10.
|
3096
|
+
<a name="id-1.4.13.2.10.45.6"></a><h4>Returns</h4>
|
2994
3097
|
<p> a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2995
3098
|
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
2996
3099
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2997
3100
|
</div>
|
2998
|
-
<p class="since">Since 2.22</p>
|
3101
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
2999
3102
|
</div>
|
3000
3103
|
<hr>
|
3001
3104
|
<div class="refsect2">
|
@@ -3005,8 +3108,8 @@ g_socket_get_protocol (<em class="parameter"><code><a class="link" href="GSocket
|
|
3005
3108
|
<p>Gets the socket protocol id the socket was created with.
|
3006
3109
|
In case the protocol is unknown, -1 is returned.</p>
|
3007
3110
|
<div class="refsect3">
|
3008
|
-
<a name="id-1.4.13.2.10.
|
3009
|
-
<div class="informaltable"><table width="100%" border="0">
|
3111
|
+
<a name="id-1.4.13.2.10.46.5"></a><h4>Parameters</h4>
|
3112
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3010
3113
|
<colgroup>
|
3011
3114
|
<col width="150px" class="parameters_name">
|
3012
3115
|
<col class="parameters_description">
|
@@ -3020,11 +3123,10 @@ In case the protocol is unknown, -1 is returned.</p>
|
|
3020
3123
|
</table></div>
|
3021
3124
|
</div>
|
3022
3125
|
<div class="refsect3">
|
3023
|
-
<a name="id-1.4.13.2.10.
|
3126
|
+
<a name="id-1.4.13.2.10.46.6"></a><h4>Returns</h4>
|
3024
3127
|
<p> a protocol id, or -1 if unknown</p>
|
3025
|
-
<p></p>
|
3026
3128
|
</div>
|
3027
|
-
<p class="since">Since 2.22</p>
|
3129
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3028
3130
|
</div>
|
3029
3131
|
<hr>
|
3030
3132
|
<div class="refsect2">
|
@@ -3035,8 +3137,8 @@ g_socket_get_remote_address (<em class="parameter"><code><a class="link" href="G
|
|
3035
3137
|
<p>Try to get the remove address of a connected socket. This is only
|
3036
3138
|
useful for connection oriented sockets that have been connected.</p>
|
3037
3139
|
<div class="refsect3">
|
3038
|
-
<a name="id-1.4.13.2.10.
|
3039
|
-
<div class="informaltable"><table width="100%" border="0">
|
3140
|
+
<a name="id-1.4.13.2.10.47.5"></a><h4>Parameters</h4>
|
3141
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3040
3142
|
<colgroup>
|
3041
3143
|
<col width="150px" class="parameters_name">
|
3042
3144
|
<col class="parameters_description">
|
@@ -3057,12 +3159,12 @@ useful for connection oriented sockets that have been connected.</p>
|
|
3057
3159
|
</table></div>
|
3058
3160
|
</div>
|
3059
3161
|
<div class="refsect3">
|
3060
|
-
<a name="id-1.4.13.2.10.
|
3162
|
+
<a name="id-1.4.13.2.10.47.6"></a><h4>Returns</h4>
|
3061
3163
|
<p> a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
3062
3164
|
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
3063
3165
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3064
3166
|
</div>
|
3065
|
-
<p class="since">Since 2.22</p>
|
3167
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3066
3168
|
</div>
|
3067
3169
|
<hr>
|
3068
3170
|
<div class="refsect2">
|
@@ -3071,8 +3173,8 @@ Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.h
|
|
3071
3173
|
g_socket_get_socket_type (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
3072
3174
|
<p>Gets the socket type of the socket.</p>
|
3073
3175
|
<div class="refsect3">
|
3074
|
-
<a name="id-1.4.13.2.10.
|
3075
|
-
<div class="informaltable"><table width="100%" border="0">
|
3176
|
+
<a name="id-1.4.13.2.10.48.5"></a><h4>Parameters</h4>
|
3177
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3076
3178
|
<colgroup>
|
3077
3179
|
<col width="150px" class="parameters_name">
|
3078
3180
|
<col class="parameters_description">
|
@@ -3086,11 +3188,10 @@ g_socket_get_socket_type (<em class="parameter"><code><a class="link" href="GSoc
|
|
3086
3188
|
</table></div>
|
3087
3189
|
</div>
|
3088
3190
|
<div class="refsect3">
|
3089
|
-
<a name="id-1.4.13.2.10.
|
3191
|
+
<a name="id-1.4.13.2.10.48.6"></a><h4>Returns</h4>
|
3090
3192
|
<p> a <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a></p>
|
3091
|
-
<p></p>
|
3092
3193
|
</div>
|
3093
|
-
<p class="since">Since 2.22</p>
|
3194
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3094
3195
|
</div>
|
3095
3196
|
<hr>
|
3096
3197
|
<div class="refsect2">
|
@@ -3105,8 +3206,8 @@ information.</p>
|
|
3105
3206
|
<p>No other types of sockets are currently considered as being capable
|
3106
3207
|
of speaking IPv4.</p>
|
3107
3208
|
<div class="refsect3">
|
3108
|
-
<a name="id-1.4.13.2.10.
|
3109
|
-
<div class="informaltable"><table width="100%" border="0">
|
3209
|
+
<a name="id-1.4.13.2.10.49.7"></a><h4>Parameters</h4>
|
3210
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3110
3211
|
<colgroup>
|
3111
3212
|
<col width="150px" class="parameters_name">
|
3112
3213
|
<col class="parameters_description">
|
@@ -3120,11 +3221,10 @@ of speaking IPv4.</p>
|
|
3120
3221
|
</table></div>
|
3121
3222
|
</div>
|
3122
3223
|
<div class="refsect3">
|
3123
|
-
<a name="id-1.4.13.2.10.
|
3224
|
+
<a name="id-1.4.13.2.10.49.8"></a><h4>Returns</h4>
|
3124
3225
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this socket can be used with IPv4.</p>
|
3125
|
-
<p></p>
|
3126
3226
|
</div>
|
3127
|
-
<p class="since">Since 2.22</p>
|
3227
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3128
3228
|
</div>
|
3129
3229
|
<hr>
|
3130
3230
|
<div class="refsect2">
|
@@ -3143,8 +3243,8 @@ by reading the <code class="literal">SO_PEERCRED</code> option on the underlying
|
|
3143
3243
|
<a class="link" href="GUnixConnection.html#g-unix-connection-send-credentials" title="g_unix_connection_send_credentials ()"><code class="function">g_unix_connection_send_credentials()</code></a> /
|
3144
3244
|
<a class="link" href="GUnixConnection.html#g-unix-connection-receive-credentials" title="g_unix_connection_receive_credentials ()"><code class="function">g_unix_connection_receive_credentials()</code></a> functions.</p>
|
3145
3245
|
<div class="refsect3">
|
3146
|
-
<a name="id-1.4.13.2.10.
|
3147
|
-
<div class="informaltable"><table width="100%" border="0">
|
3246
|
+
<a name="id-1.4.13.2.10.50.7"></a><h4>Parameters</h4>
|
3247
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3148
3248
|
<colgroup>
|
3149
3249
|
<col width="150px" class="parameters_name">
|
3150
3250
|
<col class="parameters_description">
|
@@ -3165,13 +3265,13 @@ by reading the <code class="literal">SO_PEERCRED</code> option on the underlying
|
|
3165
3265
|
</table></div>
|
3166
3266
|
</div>
|
3167
3267
|
<div class="refsect3">
|
3168
|
-
<a name="id-1.4.13.2.10.
|
3268
|
+
<a name="id-1.4.13.2.10.50.8"></a><h4>Returns</h4>
|
3169
3269
|
<p> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
3170
3270
|
is set, otherwise a <a class="link" href="GCredentials.html" title="GCredentials"><span class="type">GCredentials</span></a> object
|
3171
3271
|
that must be freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
3172
3272
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3173
3273
|
</div>
|
3174
|
-
<p class="since">Since 2.26</p>
|
3274
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
3175
3275
|
</div>
|
3176
3276
|
<hr>
|
3177
3277
|
<div class="refsect2">
|
@@ -3198,8 +3298,8 @@ to bind to based on <em class="parameter"><code>group</code></em>
|
|
3198
3298
|
in RFC 4604 is used. Note that on older platforms this may fail
|
3199
3299
|
with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a> error.</p>
|
3200
3300
|
<div class="refsect3">
|
3201
|
-
<a name="id-1.4.13.2.10.
|
3202
|
-
<div class="informaltable"><table width="100%" border="0">
|
3301
|
+
<a name="id-1.4.13.2.10.51.7"></a><h4>Parameters</h4>
|
3302
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3203
3303
|
<colgroup>
|
3204
3304
|
<col width="150px" class="parameters_name">
|
3205
3305
|
<col class="parameters_description">
|
@@ -3235,11 +3335,10 @@ with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><c
|
|
3235
3335
|
</table></div>
|
3236
3336
|
</div>
|
3237
3337
|
<div class="refsect3">
|
3238
|
-
<a name="id-1.4.13.2.10.
|
3338
|
+
<a name="id-1.4.13.2.10.51.8"></a><h4>Returns</h4>
|
3239
3339
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
3240
|
-
<p></p>
|
3241
3340
|
</div>
|
3242
|
-
<p class="since">Since 2.32</p>
|
3341
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3243
3342
|
</div>
|
3244
3343
|
<hr>
|
3245
3344
|
<div class="refsect2">
|
@@ -3261,8 +3360,8 @@ when you joined the group).</p>
|
|
3261
3360
|
remains bound to its address and port, and can still receive
|
3262
3361
|
unicast messages after calling this.</p>
|
3263
3362
|
<div class="refsect3">
|
3264
|
-
<a name="id-1.4.13.2.10.
|
3265
|
-
<div class="informaltable"><table width="100%" border="0">
|
3363
|
+
<a name="id-1.4.13.2.10.52.6"></a><h4>Parameters</h4>
|
3364
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3266
3365
|
<colgroup>
|
3267
3366
|
<col width="150px" class="parameters_name">
|
3268
3367
|
<col class="parameters_description">
|
@@ -3298,11 +3397,10 @@ unicast messages after calling this.</p>
|
|
3298
3397
|
</table></div>
|
3299
3398
|
</div>
|
3300
3399
|
<div class="refsect3">
|
3301
|
-
<a name="id-1.4.13.2.10.
|
3400
|
+
<a name="id-1.4.13.2.10.52.7"></a><h4>Returns</h4>
|
3302
3401
|
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
3303
|
-
<p></p>
|
3304
3402
|
</div>
|
3305
|
-
<p class="since">Since 2.32</p>
|
3403
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3306
3404
|
</div>
|
3307
3405
|
<hr>
|
3308
3406
|
<div class="refsect2">
|
@@ -3314,8 +3412,8 @@ g_socket_get_multicast_loopback (<em class="parameter"><code><a class="link" hre
|
|
3314
3412
|
default), outgoing multicast packets will be looped back to
|
3315
3413
|
multicast listeners on the same host.</p>
|
3316
3414
|
<div class="refsect3">
|
3317
|
-
<a name="id-1.4.13.2.10.
|
3318
|
-
<div class="informaltable"><table width="100%" border="0">
|
3415
|
+
<a name="id-1.4.13.2.10.53.5"></a><h4>Parameters</h4>
|
3416
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3319
3417
|
<colgroup>
|
3320
3418
|
<col width="150px" class="parameters_name">
|
3321
3419
|
<col class="parameters_description">
|
@@ -3329,12 +3427,11 @@ multicast listeners on the same host.</p>
|
|
3329
3427
|
</table></div>
|
3330
3428
|
</div>
|
3331
3429
|
<div class="refsect3">
|
3332
|
-
<a name="id-1.4.13.2.10.
|
3430
|
+
<a name="id-1.4.13.2.10.53.6"></a><h4>Returns</h4>
|
3333
3431
|
<p> the multicast loopback setting on <em class="parameter"><code>socket</code></em>
|
3334
3432
|
</p>
|
3335
|
-
<p></p>
|
3336
3433
|
</div>
|
3337
|
-
<p class="since">Since 2.32</p>
|
3434
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3338
3435
|
</div>
|
3339
3436
|
<hr>
|
3340
3437
|
<div class="refsect2">
|
@@ -3346,8 +3443,8 @@ g_socket_set_multicast_loopback (<em class="parameter"><code><a class="link" hre
|
|
3346
3443
|
listening on that multicast address on the same host. This is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
3347
3444
|
by default.</p>
|
3348
3445
|
<div class="refsect3">
|
3349
|
-
<a name="id-1.4.13.2.10.
|
3350
|
-
<div class="informaltable"><table width="100%" border="0">
|
3446
|
+
<a name="id-1.4.13.2.10.54.5"></a><h4>Parameters</h4>
|
3447
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3351
3448
|
<colgroup>
|
3352
3449
|
<col width="150px" class="parameters_name">
|
3353
3450
|
<col class="parameters_description">
|
@@ -3369,7 +3466,7 @@ multicast groups from the local host</p></td>
|
|
3369
3466
|
</tbody>
|
3370
3467
|
</table></div>
|
3371
3468
|
</div>
|
3372
|
-
<p class="since">Since 2.32</p>
|
3469
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3373
3470
|
</div>
|
3374
3471
|
<hr>
|
3375
3472
|
<div class="refsect2">
|
@@ -3380,8 +3477,8 @@ g_socket_get_multicast_ttl (<em class="parameter"><code><a class="link" href="GS
|
|
3380
3477
|
; see
|
3381
3478
|
<a class="link" href="GSocket.html#g-socket-set-multicast-ttl" title="g_socket_set_multicast_ttl ()"><code class="function">g_socket_set_multicast_ttl()</code></a> for more details.</p>
|
3382
3479
|
<div class="refsect3">
|
3383
|
-
<a name="id-1.4.13.2.10.
|
3384
|
-
<div class="informaltable"><table width="100%" border="0">
|
3480
|
+
<a name="id-1.4.13.2.10.55.5"></a><h4>Parameters</h4>
|
3481
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3385
3482
|
<colgroup>
|
3386
3483
|
<col width="150px" class="parameters_name">
|
3387
3484
|
<col class="parameters_description">
|
@@ -3395,12 +3492,11 @@ g_socket_get_multicast_ttl (<em class="parameter"><code><a class="link" href="GS
|
|
3395
3492
|
</table></div>
|
3396
3493
|
</div>
|
3397
3494
|
<div class="refsect3">
|
3398
|
-
<a name="id-1.4.13.2.10.
|
3495
|
+
<a name="id-1.4.13.2.10.55.6"></a><h4>Returns</h4>
|
3399
3496
|
<p> the multicast time-to-live setting on <em class="parameter"><code>socket</code></em>
|
3400
3497
|
</p>
|
3401
|
-
<p></p>
|
3402
3498
|
</div>
|
3403
|
-
<p class="since">Since 2.32</p>
|
3499
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3404
3500
|
</div>
|
3405
3501
|
<hr>
|
3406
3502
|
<div class="refsect2">
|
@@ -3413,8 +3509,8 @@ g_socket_set_multicast_ttl (<em class="parameter"><code><a class="link" href="GS
|
|
3413
3509
|
By default, this is 1, meaning that multicast packets will not leave
|
3414
3510
|
the local network.</p>
|
3415
3511
|
<div class="refsect3">
|
3416
|
-
<a name="id-1.4.13.2.10.
|
3417
|
-
<div class="informaltable"><table width="100%" border="0">
|
3512
|
+
<a name="id-1.4.13.2.10.56.5"></a><h4>Parameters</h4>
|
3513
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3418
3514
|
<colgroup>
|
3419
3515
|
<col width="150px" class="parameters_name">
|
3420
3516
|
<col class="parameters_description">
|
@@ -3435,7 +3531,7 @@ the local network.</p>
|
|
3435
3531
|
</tbody>
|
3436
3532
|
</table></div>
|
3437
3533
|
</div>
|
3438
|
-
<p class="since">Since 2.32</p>
|
3534
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3439
3535
|
</div>
|
3440
3536
|
</div>
|
3441
3537
|
<div class="refsect1">
|
@@ -3444,7 +3540,7 @@ the local network.</p>
|
|
3444
3540
|
<a name="GSocket-struct"></a><h3>GSocket</h3>
|
3445
3541
|
<pre class="programlisting">typedef struct _GSocket GSocket;</pre>
|
3446
3542
|
<p>A lowlevel network socket object.</p>
|
3447
|
-
<p class="since">Since 2.22</p>
|
3543
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3448
3544
|
</div>
|
3449
3545
|
<hr>
|
3450
3546
|
<div class="refsect2">
|
@@ -3453,7 +3549,7 @@ the local network.</p>
|
|
3453
3549
|
all the socket types.</p>
|
3454
3550
|
<div class="refsect3">
|
3455
3551
|
<a name="id-1.4.13.2.11.3.4"></a><h4>Members</h4>
|
3456
|
-
<div class="informaltable"><table width="100%" border="0">
|
3552
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3457
3553
|
<colgroup>
|
3458
3554
|
<col width="300px" class="enum_members_name">
|
3459
3555
|
<col class="enum_members_description">
|
@@ -3493,7 +3589,7 @@ all the socket types.</p>
|
|
3493
3589
|
</tbody>
|
3494
3590
|
</table></div>
|
3495
3591
|
</div>
|
3496
|
-
<p class="since">Since 2.22</p>
|
3592
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3497
3593
|
</div>
|
3498
3594
|
<hr>
|
3499
3595
|
<div class="refsect2">
|
@@ -3506,7 +3602,7 @@ can also pass any other identifiers handled by the platform in order to
|
|
3506
3602
|
use protocols not listed here.</p>
|
3507
3603
|
<div class="refsect3">
|
3508
3604
|
<a name="id-1.4.13.2.11.4.5"></a><h4>Members</h4>
|
3509
|
-
<div class="informaltable"><table width="100%" border="0">
|
3605
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3510
3606
|
<colgroup>
|
3511
3607
|
<col width="300px" class="enum_members_name">
|
3512
3608
|
<col class="enum_members_description">
|
@@ -3551,7 +3647,7 @@ use protocols not listed here.</p>
|
|
3551
3647
|
</tbody>
|
3552
3648
|
</table></div>
|
3553
3649
|
</div>
|
3554
|
-
<p class="since">Since 2.22</p>
|
3650
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3555
3651
|
</div>
|
3556
3652
|
<hr>
|
3557
3653
|
<div class="refsect2">
|
@@ -3563,7 +3659,7 @@ are passed in/out as is. So to use a platform specific flag, just include
|
|
3563
3659
|
the right system header and pass in the flag.</p>
|
3564
3660
|
<div class="refsect3">
|
3565
3661
|
<a name="id-1.4.13.2.11.5.4"></a><h4>Members</h4>
|
3566
|
-
<div class="informaltable"><table width="100%" border="0">
|
3662
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3567
3663
|
<colgroup>
|
3568
3664
|
<col width="300px" class="enum_members_name">
|
3569
3665
|
<col class="enum_members_description">
|
@@ -3603,7 +3699,7 @@ the right system header and pass in the flag.</p>
|
|
3603
3699
|
</tbody>
|
3604
3700
|
</table></div>
|
3605
3701
|
</div>
|
3606
|
-
<p class="since">Since 2.22</p>
|
3702
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3607
3703
|
</div>
|
3608
3704
|
<hr>
|
3609
3705
|
<div class="refsect2">
|
@@ -3619,7 +3715,7 @@ and the operation will store the read data starting in the
|
|
3619
3715
|
first buffer, switching to the next as needed.</p>
|
3620
3716
|
<div class="refsect3">
|
3621
3717
|
<a name="id-1.4.13.2.11.6.5"></a><h4>Members</h4>
|
3622
|
-
<div class="informaltable"><table width="100%" border="0">
|
3718
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3623
3719
|
<colgroup>
|
3624
3720
|
<col width="300px" class="struct_members_name">
|
3625
3721
|
<col class="struct_members_description">
|
@@ -3640,7 +3736,101 @@ first buffer, switching to the next as needed.</p>
|
|
3640
3736
|
</tbody>
|
3641
3737
|
</table></div>
|
3642
3738
|
</div>
|
3643
|
-
<p class="since">Since 2.22</p>
|
3739
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3740
|
+
</div>
|
3741
|
+
<hr>
|
3742
|
+
<div class="refsect2">
|
3743
|
+
<a name="GInputMessage"></a><h3>struct GInputMessage</h3>
|
3744
|
+
<pre class="programlisting">struct GInputMessage {
|
3745
|
+
GSocketAddress **address;
|
3746
|
+
|
3747
|
+
GInputVector *vectors;
|
3748
|
+
guint num_vectors;
|
3749
|
+
|
3750
|
+
gsize bytes_received;
|
3751
|
+
gint flags;
|
3752
|
+
|
3753
|
+
GSocketControlMessage ***control_messages;
|
3754
|
+
guint *num_control_messages;
|
3755
|
+
};
|
3756
|
+
</pre>
|
3757
|
+
<p>Structure used for scatter/gather data input when receiving multiple
|
3758
|
+
messages or packets in one go. You generally pass in an array of empty
|
3759
|
+
<a href="GSocket.html#GInputVector"><span class="type">GInputVectors</span></a> and the operation will use all the buffers as if they
|
3760
|
+
were one buffer, and will set <em class="parameter"><code>bytes_received</code></em>
|
3761
|
+
to the total number of bytes
|
3762
|
+
received across all <a href="GSocket.html#GInputVector"><span class="type">GInputVectors</span></a>.</p>
|
3763
|
+
<p>This structure closely mirrors <code class="literal">struct mmsghdr</code> and <code class="literal">struct msghdr</code> from
|
3764
|
+
the POSIX sockets API (see <code class="literal">man 2 recvmmsg</code>).</p>
|
3765
|
+
<p>If <em class="parameter"><code>address</code></em>
|
3766
|
+
is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then it is set to the source address the message
|
3767
|
+
was received from, and the caller must free it afterwards.</p>
|
3768
|
+
<p>If <em class="parameter"><code>control_messages</code></em>
|
3769
|
+
is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then it is set to an array of control
|
3770
|
+
messages received with the message (if any), and the caller must free it
|
3771
|
+
afterwards. <em class="parameter"><code>num_control_messages</code></em>
|
3772
|
+
is set to the number of elements in
|
3773
|
+
this array, which may be zero.</p>
|
3774
|
+
<p>Flags relevant to this message will be returned in <em class="parameter"><code>flags</code></em>
|
3775
|
+
. For example,
|
3776
|
+
<code class="literal">MSG_EOR</code> or <code class="literal">MSG_TRUNC</code>.</p>
|
3777
|
+
<div class="refsect3">
|
3778
|
+
<a name="id-1.4.13.2.11.7.9"></a><h4>Members</h4>
|
3779
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3780
|
+
<colgroup>
|
3781
|
+
<col width="300px" class="struct_members_name">
|
3782
|
+
<col class="struct_members_description">
|
3783
|
+
<col width="200px" class="struct_members_annotations">
|
3784
|
+
</colgroup>
|
3785
|
+
<tbody>
|
3786
|
+
<tr>
|
3787
|
+
<td class="struct_member_name"><p><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **<em class="structfield"><code><a name="GInputMessage.address"></a>address</code></em>;</p></td>
|
3788
|
+
<td class="struct_member_description"><p> return location
|
3789
|
+
for a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3790
|
+
<td class="struct_member_annotations"><span class="annotation">[<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
3791
|
+
</tr>
|
3792
|
+
<tr>
|
3793
|
+
<td class="struct_member_name"><p><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> *<em class="structfield"><code><a name="GInputMessage.vectors"></a>vectors</code></em>;</p></td>
|
3794
|
+
<td class="struct_member_description"><p> pointer to an
|
3795
|
+
array of input vectors. </p></td>
|
3796
|
+
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_vectors][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
3797
|
+
</tr>
|
3798
|
+
<tr>
|
3799
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GInputMessage.num-vectors"></a>num_vectors</code></em>;</p></td>
|
3800
|
+
<td class="struct_member_description"><p>the number of input vectors pointed to by <em class="parameter"><code>vectors</code></em>
|
3801
|
+
</p></td>
|
3802
|
+
<td class="struct_member_annotations"> </td>
|
3803
|
+
</tr>
|
3804
|
+
<tr>
|
3805
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GInputMessage.bytes-received"></a>bytes_received</code></em>;</p></td>
|
3806
|
+
<td class="struct_member_description"><p> will be set to the number of bytes that have been
|
3807
|
+
received. </p></td>
|
3808
|
+
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
3809
|
+
</tr>
|
3810
|
+
<tr>
|
3811
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GInputMessage.flags"></a>flags</code></em>;</p></td>
|
3812
|
+
<td class="struct_member_description"><p> collection of <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> for the received message,
|
3813
|
+
outputted by the call. </p></td>
|
3814
|
+
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
3815
|
+
</tr>
|
3816
|
+
<tr>
|
3817
|
+
<td class="struct_member_name"><p><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> ***<em class="structfield"><code><a name="GInputMessage.control-messages"></a>control_messages</code></em>;</p></td>
|
3818
|
+
<td class="struct_member_description"><p>(array length=num_control_messages) (optional)
|
3819
|
+
(out) (transfer full): return location for a
|
3820
|
+
caller-allocated array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
3821
|
+
<td class="struct_member_annotations"> </td>
|
3822
|
+
</tr>
|
3823
|
+
<tr>
|
3824
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *<em class="structfield"><code><a name="GInputMessage.num-control-messages"></a>num_control_messages</code></em>;</p></td>
|
3825
|
+
<td class="struct_member_description"><p> return location for the number of
|
3826
|
+
elements in <em class="parameter"><code>control_messages</code></em>
|
3827
|
+
. </p></td>
|
3828
|
+
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
3829
|
+
</tr>
|
3830
|
+
</tbody>
|
3831
|
+
</table></div>
|
3832
|
+
</div>
|
3833
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
3644
3834
|
</div>
|
3645
3835
|
<hr>
|
3646
3836
|
<div class="refsect2">
|
@@ -3655,8 +3845,8 @@ You generally pass in an array of <a href="GSocket.html#GOutputVector"><span cla
|
|
3655
3845
|
and the operation will use all the buffers as if they were
|
3656
3846
|
one buffer.</p>
|
3657
3847
|
<div class="refsect3">
|
3658
|
-
<a name="id-1.4.13.2.11.
|
3659
|
-
<div class="informaltable"><table width="100%" border="0">
|
3848
|
+
<a name="id-1.4.13.2.11.8.5"></a><h4>Members</h4>
|
3849
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3660
3850
|
<colgroup>
|
3661
3851
|
<col width="300px" class="struct_members_name">
|
3662
3852
|
<col class="struct_members_description">
|
@@ -3677,7 +3867,7 @@ one buffer.</p>
|
|
3677
3867
|
</tbody>
|
3678
3868
|
</table></div>
|
3679
3869
|
</div>
|
3680
|
-
<p class="since">Since 2.22</p>
|
3870
|
+
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
|
3681
3871
|
</div>
|
3682
3872
|
<hr>
|
3683
3873
|
<div class="refsect2">
|
@@ -3702,8 +3892,8 @@ were one buffer.</p>
|
|
3702
3892
|
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver
|
3703
3893
|
(as previously set by <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).</p>
|
3704
3894
|
<div class="refsect3">
|
3705
|
-
<a name="id-1.4.13.2.11.
|
3706
|
-
<div class="informaltable"><table width="100%" border="0">
|
3895
|
+
<a name="id-1.4.13.2.11.9.6"></a><h4>Members</h4>
|
3896
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3707
3897
|
<colgroup>
|
3708
3898
|
<col width="300px" class="struct_members_name">
|
3709
3899
|
<col class="struct_members_description">
|
@@ -3747,7 +3937,7 @@ to an array of <a href="GSocketControlMessage.html"><span class="type">GSocketCo
|
|
3747
3937
|
</tbody>
|
3748
3938
|
</table></div>
|
3749
3939
|
</div>
|
3750
|
-
<p class="since">Since 2.44</p>
|
3940
|
+
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
3751
3941
|
</div>
|
3752
3942
|
</div>
|
3753
3943
|
<div class="refsect1">
|
@@ -3766,7 +3956,7 @@ to an array of <a href="GSocketControlMessage.html"><span class="type">GSocketCo
|
|
3766
3956
|
<p>Whether the socket should allow sending to broadcast addresses.</p>
|
3767
3957
|
<p>Flags: Read / Write</p>
|
3768
3958
|
<p>Default value: FALSE</p>
|
3769
|
-
<p class="since">Since 2.32</p>
|
3959
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3770
3960
|
</div>
|
3771
3961
|
<hr>
|
3772
3962
|
<div class="refsect2">
|
@@ -3815,7 +4005,7 @@ to an array of <a href="GSocketControlMessage.html"><span class="type">GSocketCo
|
|
3815
4005
|
<p>Whether outgoing multicast packets loop back to the local host.</p>
|
3816
4006
|
<p>Flags: Read / Write</p>
|
3817
4007
|
<p>Default value: TRUE</p>
|
3818
|
-
<p class="since">Since 2.32</p>
|
4008
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3819
4009
|
</div>
|
3820
4010
|
<hr>
|
3821
4011
|
<div class="refsect2">
|
@@ -3824,7 +4014,7 @@ to an array of <a href="GSocketControlMessage.html"><span class="type">GSocketCo
|
|
3824
4014
|
<p>Time-to-live out outgoing multicast packets</p>
|
3825
4015
|
<p>Flags: Read / Write</p>
|
3826
4016
|
<p>Default value: 1</p>
|
3827
|
-
<p class="since">Since 2.32</p>
|
4017
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3828
4018
|
</div>
|
3829
4019
|
<hr>
|
3830
4020
|
<div class="refsect2">
|
@@ -3848,7 +4038,7 @@ to an array of <a href="GSocketControlMessage.html"><span class="type">GSocketCo
|
|
3848
4038
|
<p>The timeout in seconds on socket I/O</p>
|
3849
4039
|
<p>Flags: Read / Write</p>
|
3850
4040
|
<p>Default value: 0</p>
|
3851
|
-
<p class="since">Since 2.26</p>
|
4041
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
3852
4042
|
</div>
|
3853
4043
|
<hr>
|
3854
4044
|
<div class="refsect2">
|
@@ -3857,7 +4047,7 @@ to an array of <a href="GSocketControlMessage.html"><span class="type">GSocketCo
|
|
3857
4047
|
<p>Time-to-live for outgoing unicast packets</p>
|
3858
4048
|
<p>Flags: Read / Write</p>
|
3859
4049
|
<p>Default value: 0</p>
|
3860
|
-
<p class="since">Since 2.32</p>
|
4050
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3861
4051
|
</div>
|
3862
4052
|
<hr>
|
3863
4053
|
<div class="refsect2">
|
@@ -3874,7 +4064,6 @@ to an array of <a href="GSocketControlMessage.html"><span class="type">GSocketCo
|
|
3874
4064
|
</div>
|
3875
4065
|
</div>
|
3876
4066
|
<div class="footer">
|
3877
|
-
<hr>
|
3878
|
-
Generated by GTK-Doc V1.21.1</div>
|
4067
|
+
<hr>Generated by GTK-Doc V1.24</div>
|
3879
4068
|
</body>
|
3880
4069
|
</html>
|