glib2 3.0.7-x64-mingw32 → 3.0.8-x64-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.rb +2 -1
- data/lib/glib2/regex.rb +29 -0
- 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-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-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 +4 -4
- 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/libidn.la +1 -1
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +2 -2
- 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/libp11-kit.la +1 -1
- 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/pkcs11/p11-kit-trust.la +1 -1
- 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/libidn.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.win64/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.win64/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
@@ -0,0 +1,1521 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GDtlsConnection: GIO Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
+
<link rel="up" href="tls.html" title="TLS (SSL) support">
|
9
|
+
<link rel="prev" href="GTlsServerConnection.html" title="GTlsServerConnection">
|
10
|
+
<link rel="next" href="GDtlsClientConnection.html" title="GDtlsClientConnection">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GDtlsConnection.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GDtlsConnection.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites"> <span class="dim">|</span>
|
20
|
+
<a href="#GDtlsConnection.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_derived_interfaces"> <span class="dim">|</span>
|
21
|
+
<a href="#GDtlsConnection.derived-interfaces" class="shortcut">Known Derived Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
22
|
+
<a href="#GDtlsConnection.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
23
|
+
<a href="#GDtlsConnection.signals" class="shortcut">Signals</a></span>
|
24
|
+
</td>
|
25
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
|
+
<td><a accesskey="u" href="tls.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
27
|
+
<td><a accesskey="p" href="GTlsServerConnection.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="n" href="GDtlsClientConnection.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
29
|
+
</tr></table>
|
30
|
+
<div class="refentry">
|
31
|
+
<a name="GDtlsConnection"></a><div class="titlepage"></div>
|
32
|
+
<div class="refnamediv"><table width="100%"><tr>
|
33
|
+
<td valign="top">
|
34
|
+
<h2><span class="refentrytitle"><a name="GDtlsConnection.top_of_page"></a>GDtlsConnection</span></h2>
|
35
|
+
<p>GDtlsConnection — DTLS connection type</p>
|
36
|
+
</td>
|
37
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
|
+
</tr></table></div>
|
39
|
+
<div class="refsect1">
|
40
|
+
<a name="GDtlsConnection.functions"></a><h2>Functions</h2>
|
41
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
42
|
+
<colgroup>
|
43
|
+
<col width="150px" class="functions_return">
|
44
|
+
<col class="functions_name">
|
45
|
+
</colgroup>
|
46
|
+
<tbody>
|
47
|
+
<tr>
|
48
|
+
<td class="function_type">
|
49
|
+
<span class="returnvalue">void</span>
|
50
|
+
</td>
|
51
|
+
<td class="function_name">
|
52
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-certificate" title="g_dtls_connection_set_certificate ()">g_dtls_connection_set_certificate</a> <span class="c_punctuation">()</span>
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td class="function_type">
|
57
|
+
<a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="returnvalue">GTlsCertificate</span></a> *
|
58
|
+
</td>
|
59
|
+
<td class="function_name">
|
60
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-get-certificate" title="g_dtls_connection_get_certificate ()">g_dtls_connection_get_certificate</a> <span class="c_punctuation">()</span>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td class="function_type">
|
65
|
+
<a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="returnvalue">GTlsCertificate</span></a> *
|
66
|
+
</td>
|
67
|
+
<td class="function_name">
|
68
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-get-peer-certificate" title="g_dtls_connection_get_peer_certificate ()">g_dtls_connection_get_peer_certificate</a> <span class="c_punctuation">()</span>
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td class="function_type">
|
73
|
+
<a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags" title="enum GTlsCertificateFlags"><span class="returnvalue">GTlsCertificateFlags</span></a>
|
74
|
+
</td>
|
75
|
+
<td class="function_name">
|
76
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-get-peer-certificate-errors" title="g_dtls_connection_get_peer_certificate_errors ()">g_dtls_connection_get_peer_certificate_errors</a> <span class="c_punctuation">()</span>
|
77
|
+
</td>
|
78
|
+
</tr>
|
79
|
+
<tr>
|
80
|
+
<td class="function_type">
|
81
|
+
<span class="returnvalue">void</span>
|
82
|
+
</td>
|
83
|
+
<td class="function_name">
|
84
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-require-close-notify" title="g_dtls_connection_set_require_close_notify ()">g_dtls_connection_set_require_close_notify</a> <span class="c_punctuation">()</span>
|
85
|
+
</td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td class="function_type">
|
89
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
90
|
+
</td>
|
91
|
+
<td class="function_name">
|
92
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-get-require-close-notify" title="g_dtls_connection_get_require_close_notify ()">g_dtls_connection_get_require_close_notify</a> <span class="c_punctuation">()</span>
|
93
|
+
</td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<td class="function_type">
|
97
|
+
<span class="returnvalue">void</span>
|
98
|
+
</td>
|
99
|
+
<td class="function_name">
|
100
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-rehandshake-mode" title="g_dtls_connection_set_rehandshake_mode ()">g_dtls_connection_set_rehandshake_mode</a> <span class="c_punctuation">()</span>
|
101
|
+
</td>
|
102
|
+
</tr>
|
103
|
+
<tr>
|
104
|
+
<td class="function_type">
|
105
|
+
<a class="link" href="GTlsConnection.html#GTlsRehandshakeMode" title="enum GTlsRehandshakeMode"><span class="returnvalue">GTlsRehandshakeMode</span></a>
|
106
|
+
</td>
|
107
|
+
<td class="function_name">
|
108
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-get-rehandshake-mode" title="g_dtls_connection_get_rehandshake_mode ()">g_dtls_connection_get_rehandshake_mode</a> <span class="c_punctuation">()</span>
|
109
|
+
</td>
|
110
|
+
</tr>
|
111
|
+
<tr>
|
112
|
+
<td class="function_type">
|
113
|
+
<a class="link" href="GTlsDatabase.html" title="GTlsDatabase"><span class="returnvalue">GTlsDatabase</span></a> *
|
114
|
+
</td>
|
115
|
+
<td class="function_name">
|
116
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-get-database" title="g_dtls_connection_get_database ()">g_dtls_connection_get_database</a> <span class="c_punctuation">()</span>
|
117
|
+
</td>
|
118
|
+
</tr>
|
119
|
+
<tr>
|
120
|
+
<td class="function_type">
|
121
|
+
<span class="returnvalue">void</span>
|
122
|
+
</td>
|
123
|
+
<td class="function_name">
|
124
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-database" title="g_dtls_connection_set_database ()">g_dtls_connection_set_database</a> <span class="c_punctuation">()</span>
|
125
|
+
</td>
|
126
|
+
</tr>
|
127
|
+
<tr>
|
128
|
+
<td class="function_type">
|
129
|
+
<a class="link" href="GTlsInteraction.html" title="GTlsInteraction"><span class="returnvalue">GTlsInteraction</span></a> *
|
130
|
+
</td>
|
131
|
+
<td class="function_name">
|
132
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-get-interaction" title="g_dtls_connection_get_interaction ()">g_dtls_connection_get_interaction</a> <span class="c_punctuation">()</span>
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td class="function_type">
|
137
|
+
<span class="returnvalue">void</span>
|
138
|
+
</td>
|
139
|
+
<td class="function_name">
|
140
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-interaction" title="g_dtls_connection_set_interaction ()">g_dtls_connection_set_interaction</a> <span class="c_punctuation">()</span>
|
141
|
+
</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td class="function_type">
|
145
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
146
|
+
</td>
|
147
|
+
<td class="function_name">
|
148
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-handshake" title="g_dtls_connection_handshake ()">g_dtls_connection_handshake</a> <span class="c_punctuation">()</span>
|
149
|
+
</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<td class="function_type">
|
153
|
+
<span class="returnvalue">void</span>
|
154
|
+
</td>
|
155
|
+
<td class="function_name">
|
156
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-handshake-async" title="g_dtls_connection_handshake_async ()">g_dtls_connection_handshake_async</a> <span class="c_punctuation">()</span>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
<tr>
|
160
|
+
<td class="function_type">
|
161
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
162
|
+
</td>
|
163
|
+
<td class="function_name">
|
164
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-handshake-finish" title="g_dtls_connection_handshake_finish ()">g_dtls_connection_handshake_finish</a> <span class="c_punctuation">()</span>
|
165
|
+
</td>
|
166
|
+
</tr>
|
167
|
+
<tr>
|
168
|
+
<td class="function_type">
|
169
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
170
|
+
</td>
|
171
|
+
<td class="function_name">
|
172
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-shutdown" title="g_dtls_connection_shutdown ()">g_dtls_connection_shutdown</a> <span class="c_punctuation">()</span>
|
173
|
+
</td>
|
174
|
+
</tr>
|
175
|
+
<tr>
|
176
|
+
<td class="function_type">
|
177
|
+
<span class="returnvalue">void</span>
|
178
|
+
</td>
|
179
|
+
<td class="function_name">
|
180
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-shutdown-async" title="g_dtls_connection_shutdown_async ()">g_dtls_connection_shutdown_async</a> <span class="c_punctuation">()</span>
|
181
|
+
</td>
|
182
|
+
</tr>
|
183
|
+
<tr>
|
184
|
+
<td class="function_type">
|
185
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
186
|
+
</td>
|
187
|
+
<td class="function_name">
|
188
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-shutdown-finish" title="g_dtls_connection_shutdown_finish ()">g_dtls_connection_shutdown_finish</a> <span class="c_punctuation">()</span>
|
189
|
+
</td>
|
190
|
+
</tr>
|
191
|
+
<tr>
|
192
|
+
<td class="function_type">
|
193
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
194
|
+
</td>
|
195
|
+
<td class="function_name">
|
196
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-close" title="g_dtls_connection_close ()">g_dtls_connection_close</a> <span class="c_punctuation">()</span>
|
197
|
+
</td>
|
198
|
+
</tr>
|
199
|
+
<tr>
|
200
|
+
<td class="function_type">
|
201
|
+
<span class="returnvalue">void</span>
|
202
|
+
</td>
|
203
|
+
<td class="function_name">
|
204
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-close-async" title="g_dtls_connection_close_async ()">g_dtls_connection_close_async</a> <span class="c_punctuation">()</span>
|
205
|
+
</td>
|
206
|
+
</tr>
|
207
|
+
<tr>
|
208
|
+
<td class="function_type">
|
209
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
210
|
+
</td>
|
211
|
+
<td class="function_name">
|
212
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-close-finish" title="g_dtls_connection_close_finish ()">g_dtls_connection_close_finish</a> <span class="c_punctuation">()</span>
|
213
|
+
</td>
|
214
|
+
</tr>
|
215
|
+
<tr>
|
216
|
+
<td class="function_type">
|
217
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
218
|
+
</td>
|
219
|
+
<td class="function_name">
|
220
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-emit-accept-certificate" title="g_dtls_connection_emit_accept_certificate ()">g_dtls_connection_emit_accept_certificate</a> <span class="c_punctuation">()</span>
|
221
|
+
</td>
|
222
|
+
</tr>
|
223
|
+
</tbody>
|
224
|
+
</table></div>
|
225
|
+
</div>
|
226
|
+
<div class="refsect1">
|
227
|
+
<a name="GDtlsConnection.properties"></a><h2>Properties</h2>
|
228
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
229
|
+
<colgroup>
|
230
|
+
<col width="150px" class="properties_type">
|
231
|
+
<col width="300px" class="properties_name">
|
232
|
+
<col width="200px" class="properties_flags">
|
233
|
+
</colgroup>
|
234
|
+
<tbody>
|
235
|
+
<tr>
|
236
|
+
<td class="property_type">
|
237
|
+
<a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a> *</td>
|
238
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--base-socket" title="The “base-socket” property">base-socket</a></td>
|
239
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
240
|
+
</tr>
|
241
|
+
<tr>
|
242
|
+
<td class="property_type">
|
243
|
+
<a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a> *</td>
|
244
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--certificate" title="The “certificate” property">certificate</a></td>
|
245
|
+
<td class="property_flags">Read / Write</td>
|
246
|
+
</tr>
|
247
|
+
<tr>
|
248
|
+
<td class="property_type">
|
249
|
+
<a class="link" href="GTlsDatabase.html" title="GTlsDatabase"><span class="type">GTlsDatabase</span></a> *</td>
|
250
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--database" title="The “database” property">database</a></td>
|
251
|
+
<td class="property_flags">Read / Write</td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="property_type">
|
255
|
+
<a class="link" href="GTlsInteraction.html" title="GTlsInteraction"><span class="type">GTlsInteraction</span></a> *</td>
|
256
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--interaction" title="The “interaction” property">interaction</a></td>
|
257
|
+
<td class="property_flags">Read / Write</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td class="property_type">
|
261
|
+
<a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a> *</td>
|
262
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--peer-certificate" title="The “peer-certificate” property">peer-certificate</a></td>
|
263
|
+
<td class="property_flags">Read</td>
|
264
|
+
</tr>
|
265
|
+
<tr>
|
266
|
+
<td class="property_type"><a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags" title="enum GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a></td>
|
267
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--peer-certificate-errors" title="The “peer-certificate-errors” property">peer-certificate-errors</a></td>
|
268
|
+
<td class="property_flags">Read</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td class="property_type"><a class="link" href="GTlsConnection.html#GTlsRehandshakeMode" title="enum GTlsRehandshakeMode"><span class="type">GTlsRehandshakeMode</span></a></td>
|
272
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--rehandshake-mode" title="The “rehandshake-mode” property">rehandshake-mode</a></td>
|
273
|
+
<td class="property_flags">Read / Write / Construct</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
277
|
+
<td class="property_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection--require-close-notify" title="The “require-close-notify” property">require-close-notify</a></td>
|
278
|
+
<td class="property_flags">Read / Write / Construct</td>
|
279
|
+
</tr>
|
280
|
+
</tbody>
|
281
|
+
</table></div>
|
282
|
+
</div>
|
283
|
+
<div class="refsect1">
|
284
|
+
<a name="GDtlsConnection.signals"></a><h2>Signals</h2>
|
285
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
286
|
+
<colgroup>
|
287
|
+
<col width="150px" class="signals_return">
|
288
|
+
<col width="300px" class="signals_name">
|
289
|
+
<col width="200px" class="signals_flags">
|
290
|
+
</colgroup>
|
291
|
+
<tbody><tr>
|
292
|
+
<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
293
|
+
<td class="signal_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal">accept-certificate</a></td>
|
294
|
+
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
295
|
+
</tr></tbody>
|
296
|
+
</table></div>
|
297
|
+
</div>
|
298
|
+
<div class="refsect1">
|
299
|
+
<a name="GDtlsConnection.other"></a><h2>Types and Values</h2>
|
300
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
301
|
+
<colgroup>
|
302
|
+
<col width="150px" class="name">
|
303
|
+
<col class="description">
|
304
|
+
</colgroup>
|
305
|
+
<tbody><tr>
|
306
|
+
<td class="datatype_keyword"> </td>
|
307
|
+
<td class="function_name"><a class="link" href="GDtlsConnection.html#GDtlsConnection-struct" title="GDtlsConnection">GDtlsConnection</a></td>
|
308
|
+
</tr></tbody>
|
309
|
+
</table></div>
|
310
|
+
</div>
|
311
|
+
<div class="refsect1">
|
312
|
+
<a name="GDtlsConnection.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
313
|
+
<pre class="screen"> <a href="../gobject/GTypeModule.html">GInterface</a>
|
314
|
+
<span class="lineart">╰──</span> GDtlsConnection
|
315
|
+
</pre>
|
316
|
+
</div>
|
317
|
+
<div class="refsect1">
|
318
|
+
<a name="GDtlsConnection.prerequisites"></a><h2>Prerequisites</h2>
|
319
|
+
<p>
|
320
|
+
GDtlsConnection requires
|
321
|
+
<a class="link" href="GDatagramBased.html" title="GDatagramBased">GDatagramBased</a> and <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
|
322
|
+
</div>
|
323
|
+
<div class="refsect1">
|
324
|
+
<a name="GDtlsConnection.derived-interfaces"></a><h2>Known Derived Interfaces</h2>
|
325
|
+
<p>
|
326
|
+
GDtlsConnection is required by
|
327
|
+
<a class="link" href="GDtlsClientConnection.html" title="GDtlsClientConnection">GDtlsClientConnection</a> and <a class="link" href="GDtlsServerConnection.html" title="GDtlsServerConnection">GDtlsServerConnection</a>.</p>
|
328
|
+
</div>
|
329
|
+
<div class="refsect1">
|
330
|
+
<a name="GDtlsConnection.includes"></a><h2>Includes</h2>
|
331
|
+
<pre class="synopsis">#include <gio/gio.h>
|
332
|
+
</pre>
|
333
|
+
</div>
|
334
|
+
<div class="refsect1">
|
335
|
+
<a name="GDtlsConnection.description"></a><h2>Description</h2>
|
336
|
+
<p><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> is the base DTLS connection class type, which wraps
|
337
|
+
a <a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a> and provides DTLS encryption on top of it. Its
|
338
|
+
subclasses, <a class="link" href="GDtlsClientConnection.html" title="GDtlsClientConnection"><span class="type">GDtlsClientConnection</span></a> and <a class="link" href="GDtlsServerConnection.html" title="GDtlsServerConnection"><span class="type">GDtlsServerConnection</span></a>,
|
339
|
+
implement client-side and server-side DTLS, respectively.</p>
|
340
|
+
<p>For TLS support, see <a class="link" href="GTlsConnection.html" title="GTlsConnection"><span class="type">GTlsConnection</span></a>.</p>
|
341
|
+
<p>As DTLS is datagram based, <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> implements <a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a>,
|
342
|
+
presenting a datagram-socket-like API for the encrypted connection. This
|
343
|
+
operates over a base datagram connection, which is also a <a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a>
|
344
|
+
(<a class="link" href="GDtlsConnection.html#GDtlsConnection--base-socket" title="The “base-socket” property"><span class="type">“base-socket”</span></a>).</p>
|
345
|
+
<p>To close a DTLS connection, use <a class="link" href="GDtlsConnection.html#g-dtls-connection-close" title="g_dtls_connection_close ()"><code class="function">g_dtls_connection_close()</code></a>.</p>
|
346
|
+
<p>Neither <a class="link" href="GDtlsServerConnection.html" title="GDtlsServerConnection"><span class="type">GDtlsServerConnection</span></a> or <a class="link" href="GDtlsClientConnection.html" title="GDtlsClientConnection"><span class="type">GDtlsClientConnection</span></a> set the peer address
|
347
|
+
on their base <a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a> if it is a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> — it is up to the caller to
|
348
|
+
do that if they wish. If they do not, and <a class="link" href="GSocket.html#g-socket-close" title="g_socket_close ()"><code class="function">g_socket_close()</code></a> is called on the
|
349
|
+
base socket, the <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> will not raise a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-CONNECTED:CAPS"><code class="literal">G_IO_ERROR_NOT_CONNECTED</code></a>
|
350
|
+
error on further I/O.</p>
|
351
|
+
</div>
|
352
|
+
<div class="refsect1">
|
353
|
+
<a name="GDtlsConnection.functions_details"></a><h2>Functions</h2>
|
354
|
+
<div class="refsect2">
|
355
|
+
<a name="g-dtls-connection-set-certificate"></a><h3>g_dtls_connection_set_certificate ()</h3>
|
356
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
357
|
+
g_dtls_connection_set_certificate (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
358
|
+
<em class="parameter"><code><a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a> *certificate</code></em>);</pre>
|
359
|
+
<p>This sets the certificate that <em class="parameter"><code>conn</code></em>
|
360
|
+
will present to its peer
|
361
|
+
during the TLS handshake. For a <a class="link" href="GDtlsServerConnection.html" title="GDtlsServerConnection"><span class="type">GDtlsServerConnection</span></a>, it is
|
362
|
+
mandatory to set this, and that will normally be done at construct
|
363
|
+
time.</p>
|
364
|
+
<p>For a <a class="link" href="GDtlsClientConnection.html" title="GDtlsClientConnection"><span class="type">GDtlsClientConnection</span></a>, this is optional. If a handshake fails
|
365
|
+
with <a class="link" href="gio-TLS-Overview.html#G-TLS-ERROR-CERTIFICATE-REQUIRED:CAPS"><code class="literal">G_TLS_ERROR_CERTIFICATE_REQUIRED</code></a>, that means that the server
|
366
|
+
requires a certificate, and if you try connecting again, you should
|
367
|
+
call this method first. You can call
|
368
|
+
<a class="link" href="GDtlsClientConnection.html#g-dtls-client-connection-get-accepted-cas" title="g_dtls_client_connection_get_accepted_cas ()"><code class="function">g_dtls_client_connection_get_accepted_cas()</code></a> on the failed connection
|
369
|
+
to get a list of Certificate Authorities that the server will
|
370
|
+
accept certificates from.</p>
|
371
|
+
<p>(It is also possible that a server will allow the connection with
|
372
|
+
or without a certificate; in that case, if you don't provide a
|
373
|
+
certificate, you can tell that the server requested one by the fact
|
374
|
+
that <a class="link" href="GDtlsClientConnection.html#g-dtls-client-connection-get-accepted-cas" title="g_dtls_client_connection_get_accepted_cas ()"><code class="function">g_dtls_client_connection_get_accepted_cas()</code></a> will return
|
375
|
+
non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.)</p>
|
376
|
+
<div class="refsect3">
|
377
|
+
<a name="id-1.4.15.7.12.2.7"></a><h4>Parameters</h4>
|
378
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
379
|
+
<colgroup>
|
380
|
+
<col width="150px" class="parameters_name">
|
381
|
+
<col class="parameters_description">
|
382
|
+
<col width="200px" class="parameters_annotations">
|
383
|
+
</colgroup>
|
384
|
+
<tbody>
|
385
|
+
<tr>
|
386
|
+
<td class="parameter_name"><p>conn</p></td>
|
387
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
388
|
+
<td class="parameter_annotations"> </td>
|
389
|
+
</tr>
|
390
|
+
<tr>
|
391
|
+
<td class="parameter_name"><p>certificate</p></td>
|
392
|
+
<td class="parameter_description"><p>the certificate to use for <em class="parameter"><code>conn</code></em>
|
393
|
+
</p></td>
|
394
|
+
<td class="parameter_annotations"> </td>
|
395
|
+
</tr>
|
396
|
+
</tbody>
|
397
|
+
</table></div>
|
398
|
+
</div>
|
399
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
400
|
+
</div>
|
401
|
+
<hr>
|
402
|
+
<div class="refsect2">
|
403
|
+
<a name="g-dtls-connection-get-certificate"></a><h3>g_dtls_connection_get_certificate ()</h3>
|
404
|
+
<pre class="programlisting"><a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="returnvalue">GTlsCertificate</span></a> *
|
405
|
+
g_dtls_connection_get_certificate (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>);</pre>
|
406
|
+
<p>Gets <em class="parameter"><code>conn</code></em>
|
407
|
+
's certificate, as set by
|
408
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-certificate" title="g_dtls_connection_set_certificate ()"><code class="function">g_dtls_connection_set_certificate()</code></a>.</p>
|
409
|
+
<div class="refsect3">
|
410
|
+
<a name="id-1.4.15.7.12.3.5"></a><h4>Parameters</h4>
|
411
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
412
|
+
<colgroup>
|
413
|
+
<col width="150px" class="parameters_name">
|
414
|
+
<col class="parameters_description">
|
415
|
+
<col width="200px" class="parameters_annotations">
|
416
|
+
</colgroup>
|
417
|
+
<tbody><tr>
|
418
|
+
<td class="parameter_name"><p>conn</p></td>
|
419
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
420
|
+
<td class="parameter_annotations"> </td>
|
421
|
+
</tr></tbody>
|
422
|
+
</table></div>
|
423
|
+
</div>
|
424
|
+
<div class="refsect3">
|
425
|
+
<a name="id-1.4.15.7.12.3.6"></a><h4>Returns</h4>
|
426
|
+
<p> <em class="parameter"><code>conn</code></em>
|
427
|
+
's certificate, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
428
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
429
|
+
</div>
|
430
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
431
|
+
</div>
|
432
|
+
<hr>
|
433
|
+
<div class="refsect2">
|
434
|
+
<a name="g-dtls-connection-get-peer-certificate"></a><h3>g_dtls_connection_get_peer_certificate ()</h3>
|
435
|
+
<pre class="programlisting"><a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="returnvalue">GTlsCertificate</span></a> *
|
436
|
+
g_dtls_connection_get_peer_certificate
|
437
|
+
(<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>);</pre>
|
438
|
+
<p>Gets <em class="parameter"><code>conn</code></em>
|
439
|
+
's peer's certificate after the handshake has completed.
|
440
|
+
(It is not set during the emission of
|
441
|
+
<a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal"><span class="type">“accept-certificate”</span></a>.)</p>
|
442
|
+
<div class="refsect3">
|
443
|
+
<a name="id-1.4.15.7.12.4.5"></a><h4>Parameters</h4>
|
444
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
445
|
+
<colgroup>
|
446
|
+
<col width="150px" class="parameters_name">
|
447
|
+
<col class="parameters_description">
|
448
|
+
<col width="200px" class="parameters_annotations">
|
449
|
+
</colgroup>
|
450
|
+
<tbody><tr>
|
451
|
+
<td class="parameter_name"><p>conn</p></td>
|
452
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
453
|
+
<td class="parameter_annotations"> </td>
|
454
|
+
</tr></tbody>
|
455
|
+
</table></div>
|
456
|
+
</div>
|
457
|
+
<div class="refsect3">
|
458
|
+
<a name="id-1.4.15.7.12.4.6"></a><h4>Returns</h4>
|
459
|
+
<p> <em class="parameter"><code>conn</code></em>
|
460
|
+
's peer's certificate, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
461
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
462
|
+
</div>
|
463
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
464
|
+
</div>
|
465
|
+
<hr>
|
466
|
+
<div class="refsect2">
|
467
|
+
<a name="g-dtls-connection-get-peer-certificate-errors"></a><h3>g_dtls_connection_get_peer_certificate_errors ()</h3>
|
468
|
+
<pre class="programlisting"><a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags" title="enum GTlsCertificateFlags"><span class="returnvalue">GTlsCertificateFlags</span></a>
|
469
|
+
g_dtls_connection_get_peer_certificate_errors
|
470
|
+
(<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>);</pre>
|
471
|
+
<p>Gets the errors associated with validating <em class="parameter"><code>conn</code></em>
|
472
|
+
's peer's
|
473
|
+
certificate, after the handshake has completed. (It is not set
|
474
|
+
during the emission of <a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal"><span class="type">“accept-certificate”</span></a>.)</p>
|
475
|
+
<div class="refsect3">
|
476
|
+
<a name="id-1.4.15.7.12.5.5"></a><h4>Parameters</h4>
|
477
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
478
|
+
<colgroup>
|
479
|
+
<col width="150px" class="parameters_name">
|
480
|
+
<col class="parameters_description">
|
481
|
+
<col width="200px" class="parameters_annotations">
|
482
|
+
</colgroup>
|
483
|
+
<tbody><tr>
|
484
|
+
<td class="parameter_name"><p>conn</p></td>
|
485
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
486
|
+
<td class="parameter_annotations"> </td>
|
487
|
+
</tr></tbody>
|
488
|
+
</table></div>
|
489
|
+
</div>
|
490
|
+
<div class="refsect3">
|
491
|
+
<a name="id-1.4.15.7.12.5.6"></a><h4>Returns</h4>
|
492
|
+
<p> <em class="parameter"><code>conn</code></em>
|
493
|
+
's peer's certificate errors</p>
|
494
|
+
</div>
|
495
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
496
|
+
</div>
|
497
|
+
<hr>
|
498
|
+
<div class="refsect2">
|
499
|
+
<a name="g-dtls-connection-set-require-close-notify"></a><h3>g_dtls_connection_set_require_close_notify ()</h3>
|
500
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
501
|
+
g_dtls_connection_set_require_close_notify
|
502
|
+
(<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
503
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> require_close_notify</code></em>);</pre>
|
504
|
+
<p>Sets whether or not <em class="parameter"><code>conn</code></em>
|
505
|
+
expects a proper TLS close notification
|
506
|
+
before the connection is closed. If this is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default),
|
507
|
+
then <em class="parameter"><code>conn</code></em>
|
508
|
+
will expect to receive a TLS close notification from its
|
509
|
+
peer before the connection is closed, and will return a
|
510
|
+
<a class="link" href="gio-TLS-Overview.html#G-TLS-ERROR-EOF:CAPS"><code class="literal">G_TLS_ERROR_EOF</code></a> error if the connection is closed without proper
|
511
|
+
notification (since this may indicate a network error, or
|
512
|
+
man-in-the-middle attack).</p>
|
513
|
+
<p>In some protocols, the application will know whether or not the
|
514
|
+
connection was closed cleanly based on application-level data
|
515
|
+
(because the application-level data includes a length field, or is
|
516
|
+
somehow self-delimiting); in this case, the close notify is
|
517
|
+
redundant and may be omitted. You
|
518
|
+
can use <a class="link" href="GDtlsConnection.html#g-dtls-connection-set-require-close-notify" title="g_dtls_connection_set_require_close_notify ()"><code class="function">g_dtls_connection_set_require_close_notify()</code></a> to tell <em class="parameter"><code>conn</code></em>
|
519
|
+
|
520
|
+
to allow an "unannounced" connection close, in which case the close
|
521
|
+
will show up as a 0-length read, as in a non-TLS
|
522
|
+
<a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a>, and it is up to the application to check that
|
523
|
+
the data has been fully received.</p>
|
524
|
+
<p>Note that this only affects the behavior when the peer closes the
|
525
|
+
connection; when the application calls <a class="link" href="GDtlsConnection.html#g-dtls-connection-close-async" title="g_dtls_connection_close_async ()"><code class="function">g_dtls_connection_close_async()</code></a> on
|
526
|
+
<em class="parameter"><code>conn</code></em>
|
527
|
+
itself, this will send a close notification regardless of the
|
528
|
+
setting of this property. If you explicitly want to do an unclean
|
529
|
+
close, you can close <em class="parameter"><code>conn</code></em>
|
530
|
+
's <a class="link" href="GDtlsConnection.html#GDtlsConnection--base-socket" title="The “base-socket” property"><span class="type">“base-socket”</span></a> rather
|
531
|
+
than closing <em class="parameter"><code>conn</code></em>
|
532
|
+
itself.</p>
|
533
|
+
<div class="refsect3">
|
534
|
+
<a name="id-1.4.15.7.12.6.7"></a><h4>Parameters</h4>
|
535
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
536
|
+
<colgroup>
|
537
|
+
<col width="150px" class="parameters_name">
|
538
|
+
<col class="parameters_description">
|
539
|
+
<col width="200px" class="parameters_annotations">
|
540
|
+
</colgroup>
|
541
|
+
<tbody>
|
542
|
+
<tr>
|
543
|
+
<td class="parameter_name"><p>conn</p></td>
|
544
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
545
|
+
<td class="parameter_annotations"> </td>
|
546
|
+
</tr>
|
547
|
+
<tr>
|
548
|
+
<td class="parameter_name"><p>require_close_notify</p></td>
|
549
|
+
<td class="parameter_description"><p>whether or not to require close notification</p></td>
|
550
|
+
<td class="parameter_annotations"> </td>
|
551
|
+
</tr>
|
552
|
+
</tbody>
|
553
|
+
</table></div>
|
554
|
+
</div>
|
555
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
556
|
+
</div>
|
557
|
+
<hr>
|
558
|
+
<div class="refsect2">
|
559
|
+
<a name="g-dtls-connection-get-require-close-notify"></a><h3>g_dtls_connection_get_require_close_notify ()</h3>
|
560
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
561
|
+
g_dtls_connection_get_require_close_notify
|
562
|
+
(<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>);</pre>
|
563
|
+
<p>Tests whether or not <em class="parameter"><code>conn</code></em>
|
564
|
+
expects a proper TLS close notification
|
565
|
+
when the connection is closed. See
|
566
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-require-close-notify" title="g_dtls_connection_set_require_close_notify ()"><code class="function">g_dtls_connection_set_require_close_notify()</code></a> for details.</p>
|
567
|
+
<div class="refsect3">
|
568
|
+
<a name="id-1.4.15.7.12.7.5"></a><h4>Parameters</h4>
|
569
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
570
|
+
<colgroup>
|
571
|
+
<col width="150px" class="parameters_name">
|
572
|
+
<col class="parameters_description">
|
573
|
+
<col width="200px" class="parameters_annotations">
|
574
|
+
</colgroup>
|
575
|
+
<tbody><tr>
|
576
|
+
<td class="parameter_name"><p>conn</p></td>
|
577
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
578
|
+
<td class="parameter_annotations"> </td>
|
579
|
+
</tr></tbody>
|
580
|
+
</table></div>
|
581
|
+
</div>
|
582
|
+
<div class="refsect3">
|
583
|
+
<a name="id-1.4.15.7.12.7.6"></a><h4>Returns</h4>
|
584
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>conn</code></em>
|
585
|
+
requires a proper TLS close notification.</p>
|
586
|
+
</div>
|
587
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
588
|
+
</div>
|
589
|
+
<hr>
|
590
|
+
<div class="refsect2">
|
591
|
+
<a name="g-dtls-connection-set-rehandshake-mode"></a><h3>g_dtls_connection_set_rehandshake_mode ()</h3>
|
592
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
593
|
+
g_dtls_connection_set_rehandshake_mode
|
594
|
+
(<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
595
|
+
<em class="parameter"><code><a class="link" href="GTlsConnection.html#GTlsRehandshakeMode" title="enum GTlsRehandshakeMode"><span class="type">GTlsRehandshakeMode</span></a> mode</code></em>);</pre>
|
596
|
+
<p>Sets how <em class="parameter"><code>conn</code></em>
|
597
|
+
behaves with respect to rehandshaking requests.</p>
|
598
|
+
<p><a class="link" href="GTlsConnection.html#G-TLS-REHANDSHAKE-NEVER:CAPS"><code class="literal">G_TLS_REHANDSHAKE_NEVER</code></a> means that it will never agree to
|
599
|
+
rehandshake after the initial handshake is complete. (For a client,
|
600
|
+
this means it will refuse rehandshake requests from the server, and
|
601
|
+
for a server, this means it will close the connection with an error
|
602
|
+
if the client attempts to rehandshake.)</p>
|
603
|
+
<p><a class="link" href="GTlsConnection.html#G-TLS-REHANDSHAKE-SAFELY:CAPS"><code class="literal">G_TLS_REHANDSHAKE_SAFELY</code></a> means that the connection will allow a
|
604
|
+
rehandshake only if the other end of the connection supports the
|
605
|
+
TLS <code class="literal">renegotiation_info</code> extension. This is the default behavior,
|
606
|
+
but means that rehandshaking will not work against older
|
607
|
+
implementations that do not support that extension.</p>
|
608
|
+
<p><a class="link" href="GTlsConnection.html#G-TLS-REHANDSHAKE-UNSAFELY:CAPS"><code class="literal">G_TLS_REHANDSHAKE_UNSAFELY</code></a> means that the connection will allow
|
609
|
+
rehandshaking even without the <code class="literal">renegotiation_info</code> extension. On
|
610
|
+
the server side in particular, this is not recommended, since it
|
611
|
+
leaves the server open to certain attacks. However, this mode is
|
612
|
+
necessary if you need to allow renegotiation with older client
|
613
|
+
software.</p>
|
614
|
+
<div class="refsect3">
|
615
|
+
<a name="id-1.4.15.7.12.8.8"></a><h4>Parameters</h4>
|
616
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
617
|
+
<colgroup>
|
618
|
+
<col width="150px" class="parameters_name">
|
619
|
+
<col class="parameters_description">
|
620
|
+
<col width="200px" class="parameters_annotations">
|
621
|
+
</colgroup>
|
622
|
+
<tbody>
|
623
|
+
<tr>
|
624
|
+
<td class="parameter_name"><p>conn</p></td>
|
625
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
626
|
+
<td class="parameter_annotations"> </td>
|
627
|
+
</tr>
|
628
|
+
<tr>
|
629
|
+
<td class="parameter_name"><p>mode</p></td>
|
630
|
+
<td class="parameter_description"><p>the rehandshaking mode</p></td>
|
631
|
+
<td class="parameter_annotations"> </td>
|
632
|
+
</tr>
|
633
|
+
</tbody>
|
634
|
+
</table></div>
|
635
|
+
</div>
|
636
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
637
|
+
</div>
|
638
|
+
<hr>
|
639
|
+
<div class="refsect2">
|
640
|
+
<a name="g-dtls-connection-get-rehandshake-mode"></a><h3>g_dtls_connection_get_rehandshake_mode ()</h3>
|
641
|
+
<pre class="programlisting"><a class="link" href="GTlsConnection.html#GTlsRehandshakeMode" title="enum GTlsRehandshakeMode"><span class="returnvalue">GTlsRehandshakeMode</span></a>
|
642
|
+
g_dtls_connection_get_rehandshake_mode
|
643
|
+
(<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>);</pre>
|
644
|
+
<p>Gets <em class="parameter"><code>conn</code></em>
|
645
|
+
rehandshaking mode. See
|
646
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-rehandshake-mode" title="g_dtls_connection_set_rehandshake_mode ()"><code class="function">g_dtls_connection_set_rehandshake_mode()</code></a> for details.</p>
|
647
|
+
<div class="refsect3">
|
648
|
+
<a name="id-1.4.15.7.12.9.5"></a><h4>Parameters</h4>
|
649
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
650
|
+
<colgroup>
|
651
|
+
<col width="150px" class="parameters_name">
|
652
|
+
<col class="parameters_description">
|
653
|
+
<col width="200px" class="parameters_annotations">
|
654
|
+
</colgroup>
|
655
|
+
<tbody><tr>
|
656
|
+
<td class="parameter_name"><p>conn</p></td>
|
657
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
658
|
+
<td class="parameter_annotations"> </td>
|
659
|
+
</tr></tbody>
|
660
|
+
</table></div>
|
661
|
+
</div>
|
662
|
+
<div class="refsect3">
|
663
|
+
<a name="id-1.4.15.7.12.9.6"></a><h4>Returns</h4>
|
664
|
+
<p> <em class="parameter"><code>conn</code></em>
|
665
|
+
's rehandshaking mode</p>
|
666
|
+
</div>
|
667
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
668
|
+
</div>
|
669
|
+
<hr>
|
670
|
+
<div class="refsect2">
|
671
|
+
<a name="g-dtls-connection-get-database"></a><h3>g_dtls_connection_get_database ()</h3>
|
672
|
+
<pre class="programlisting"><a class="link" href="GTlsDatabase.html" title="GTlsDatabase"><span class="returnvalue">GTlsDatabase</span></a> *
|
673
|
+
g_dtls_connection_get_database (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>);</pre>
|
674
|
+
<p>Gets the certificate database that <em class="parameter"><code>conn</code></em>
|
675
|
+
uses to verify
|
676
|
+
peer certificates. See <a class="link" href="GDtlsConnection.html#g-dtls-connection-set-database" title="g_dtls_connection_set_database ()"><code class="function">g_dtls_connection_set_database()</code></a>.</p>
|
677
|
+
<div class="refsect3">
|
678
|
+
<a name="id-1.4.15.7.12.10.5"></a><h4>Parameters</h4>
|
679
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
680
|
+
<colgroup>
|
681
|
+
<col width="150px" class="parameters_name">
|
682
|
+
<col class="parameters_description">
|
683
|
+
<col width="200px" class="parameters_annotations">
|
684
|
+
</colgroup>
|
685
|
+
<tbody><tr>
|
686
|
+
<td class="parameter_name"><p>conn</p></td>
|
687
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
688
|
+
<td class="parameter_annotations"> </td>
|
689
|
+
</tr></tbody>
|
690
|
+
</table></div>
|
691
|
+
</div>
|
692
|
+
<div class="refsect3">
|
693
|
+
<a name="id-1.4.15.7.12.10.6"></a><h4>Returns</h4>
|
694
|
+
<p> the certificate database that <em class="parameter"><code>conn</code></em>
|
695
|
+
uses or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
696
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
697
|
+
</div>
|
698
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
699
|
+
</div>
|
700
|
+
<hr>
|
701
|
+
<div class="refsect2">
|
702
|
+
<a name="g-dtls-connection-set-database"></a><h3>g_dtls_connection_set_database ()</h3>
|
703
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
704
|
+
g_dtls_connection_set_database (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
705
|
+
<em class="parameter"><code><a class="link" href="GTlsDatabase.html" title="GTlsDatabase"><span class="type">GTlsDatabase</span></a> *database</code></em>);</pre>
|
706
|
+
<p>Sets the certificate database that is used to verify peer certificates.
|
707
|
+
This is set to the default database by default. See
|
708
|
+
<code class="function">g_dtls_backend_get_default_database()</code>. If set to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
|
709
|
+
peer certificate validation will always set the
|
710
|
+
<a class="link" href="gio-TLS-Overview.html#G-TLS-CERTIFICATE-UNKNOWN-CA:CAPS"><code class="literal">G_TLS_CERTIFICATE_UNKNOWN_CA</code></a> error (meaning
|
711
|
+
<a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal"><span class="type">“accept-certificate”</span></a> will always be emitted on
|
712
|
+
client-side connections, unless that bit is not set in
|
713
|
+
<a class="link" href="GDtlsClientConnection.html#GDtlsClientConnection--validation-flags" title="The “validation-flags” property"><span class="type">“validation-flags”</span></a>).</p>
|
714
|
+
<div class="refsect3">
|
715
|
+
<a name="id-1.4.15.7.12.11.5"></a><h4>Parameters</h4>
|
716
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
717
|
+
<colgroup>
|
718
|
+
<col width="150px" class="parameters_name">
|
719
|
+
<col class="parameters_description">
|
720
|
+
<col width="200px" class="parameters_annotations">
|
721
|
+
</colgroup>
|
722
|
+
<tbody>
|
723
|
+
<tr>
|
724
|
+
<td class="parameter_name"><p>conn</p></td>
|
725
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
726
|
+
<td class="parameter_annotations"> </td>
|
727
|
+
</tr>
|
728
|
+
<tr>
|
729
|
+
<td class="parameter_name"><p>database</p></td>
|
730
|
+
<td class="parameter_description"><p>a <a class="link" href="GTlsDatabase.html" title="GTlsDatabase"><span class="type">GTlsDatabase</span></a></p></td>
|
731
|
+
<td class="parameter_annotations"> </td>
|
732
|
+
</tr>
|
733
|
+
</tbody>
|
734
|
+
</table></div>
|
735
|
+
</div>
|
736
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
737
|
+
</div>
|
738
|
+
<hr>
|
739
|
+
<div class="refsect2">
|
740
|
+
<a name="g-dtls-connection-get-interaction"></a><h3>g_dtls_connection_get_interaction ()</h3>
|
741
|
+
<pre class="programlisting"><a class="link" href="GTlsInteraction.html" title="GTlsInteraction"><span class="returnvalue">GTlsInteraction</span></a> *
|
742
|
+
g_dtls_connection_get_interaction (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>);</pre>
|
743
|
+
<p>Get the object that will be used to interact with the user. It will be used
|
744
|
+
for things like prompting the user for passwords. If <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
745
|
+
no user interaction will occur for this connection.</p>
|
746
|
+
<div class="refsect3">
|
747
|
+
<a name="id-1.4.15.7.12.12.5"></a><h4>Parameters</h4>
|
748
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
749
|
+
<colgroup>
|
750
|
+
<col width="150px" class="parameters_name">
|
751
|
+
<col class="parameters_description">
|
752
|
+
<col width="200px" class="parameters_annotations">
|
753
|
+
</colgroup>
|
754
|
+
<tbody><tr>
|
755
|
+
<td class="parameter_name"><p>conn</p></td>
|
756
|
+
<td class="parameter_description"><p>a connection</p></td>
|
757
|
+
<td class="parameter_annotations"> </td>
|
758
|
+
</tr></tbody>
|
759
|
+
</table></div>
|
760
|
+
</div>
|
761
|
+
<div class="refsect3">
|
762
|
+
<a name="id-1.4.15.7.12.12.6"></a><h4>Returns</h4>
|
763
|
+
<p> The interaction object. </p>
|
764
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
765
|
+
</div>
|
766
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
767
|
+
</div>
|
768
|
+
<hr>
|
769
|
+
<div class="refsect2">
|
770
|
+
<a name="g-dtls-connection-set-interaction"></a><h3>g_dtls_connection_set_interaction ()</h3>
|
771
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
772
|
+
g_dtls_connection_set_interaction (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
773
|
+
<em class="parameter"><code><a class="link" href="GTlsInteraction.html" title="GTlsInteraction"><span class="type">GTlsInteraction</span></a> *interaction</code></em>);</pre>
|
774
|
+
<p>Set the object that will be used to interact with the user. It will be used
|
775
|
+
for things like prompting the user for passwords.</p>
|
776
|
+
<p>The <em class="parameter"><code>interaction</code></em>
|
777
|
+
argument will normally be a derived subclass of
|
778
|
+
<a class="link" href="GTlsInteraction.html" title="GTlsInteraction"><span class="type">GTlsInteraction</span></a>. <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can also be provided if no user interaction
|
779
|
+
should occur for this connection.</p>
|
780
|
+
<div class="refsect3">
|
781
|
+
<a name="id-1.4.15.7.12.13.6"></a><h4>Parameters</h4>
|
782
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
783
|
+
<colgroup>
|
784
|
+
<col width="150px" class="parameters_name">
|
785
|
+
<col class="parameters_description">
|
786
|
+
<col width="200px" class="parameters_annotations">
|
787
|
+
</colgroup>
|
788
|
+
<tbody>
|
789
|
+
<tr>
|
790
|
+
<td class="parameter_name"><p>conn</p></td>
|
791
|
+
<td class="parameter_description"><p>a connection</p></td>
|
792
|
+
<td class="parameter_annotations"> </td>
|
793
|
+
</tr>
|
794
|
+
<tr>
|
795
|
+
<td class="parameter_name"><p>interaction</p></td>
|
796
|
+
<td class="parameter_description"><p> an interaction object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
797
|
+
<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>
|
798
|
+
</tr>
|
799
|
+
</tbody>
|
800
|
+
</table></div>
|
801
|
+
</div>
|
802
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
803
|
+
</div>
|
804
|
+
<hr>
|
805
|
+
<div class="refsect2">
|
806
|
+
<a name="g-dtls-connection-handshake"></a><h3>g_dtls_connection_handshake ()</h3>
|
807
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
808
|
+
g_dtls_connection_handshake (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
809
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
810
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
811
|
+
<p>Attempts a TLS handshake on <em class="parameter"><code>conn</code></em>
|
812
|
+
.</p>
|
813
|
+
<p>On the client side, it is never necessary to call this method;
|
814
|
+
although the connection needs to perform a handshake after
|
815
|
+
connecting (or after sending a "STARTTLS"-type command) and may
|
816
|
+
need to rehandshake later if the server requests it,
|
817
|
+
<a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> will handle this for you automatically when you try
|
818
|
+
to send or receive data on the connection. However, you can call
|
819
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-handshake" title="g_dtls_connection_handshake ()"><code class="function">g_dtls_connection_handshake()</code></a> manually if you want to know for sure
|
820
|
+
whether the initial handshake succeeded or failed (as opposed to
|
821
|
+
just immediately trying to write to <em class="parameter"><code>conn</code></em>
|
822
|
+
, in which
|
823
|
+
case if it fails, it may not be possible to tell if it failed
|
824
|
+
before or after completing the handshake).</p>
|
825
|
+
<p>Likewise, on the server side, although a handshake is necessary at
|
826
|
+
the beginning of the communication, you do not need to call this
|
827
|
+
function explicitly unless you want clearer error reporting.
|
828
|
+
However, you may call <a class="link" href="GDtlsConnection.html#g-dtls-connection-handshake" title="g_dtls_connection_handshake ()"><code class="function">g_dtls_connection_handshake()</code></a> later on to
|
829
|
+
renegotiate parameters (encryption methods, etc) with the client.</p>
|
830
|
+
<p><a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal"><span class="type">“accept_certificate”</span></a> may be emitted during the
|
831
|
+
handshake.</p>
|
832
|
+
<div class="refsect3">
|
833
|
+
<a name="id-1.4.15.7.12.14.8"></a><h4>Parameters</h4>
|
834
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
835
|
+
<colgroup>
|
836
|
+
<col width="150px" class="parameters_name">
|
837
|
+
<col class="parameters_description">
|
838
|
+
<col width="200px" class="parameters_annotations">
|
839
|
+
</colgroup>
|
840
|
+
<tbody>
|
841
|
+
<tr>
|
842
|
+
<td class="parameter_name"><p>conn</p></td>
|
843
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
844
|
+
<td class="parameter_annotations"> </td>
|
845
|
+
</tr>
|
846
|
+
<tr>
|
847
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
848
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
849
|
+
<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>
|
850
|
+
</tr>
|
851
|
+
<tr>
|
852
|
+
<td class="parameter_name"><p>error</p></td>
|
853
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
854
|
+
<td class="parameter_annotations"> </td>
|
855
|
+
</tr>
|
856
|
+
</tbody>
|
857
|
+
</table></div>
|
858
|
+
</div>
|
859
|
+
<div class="refsect3">
|
860
|
+
<a name="id-1.4.15.7.12.14.9"></a><h4>Returns</h4>
|
861
|
+
<p> success or failure</p>
|
862
|
+
</div>
|
863
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
864
|
+
</div>
|
865
|
+
<hr>
|
866
|
+
<div class="refsect2">
|
867
|
+
<a name="g-dtls-connection-handshake-async"></a><h3>g_dtls_connection_handshake_async ()</h3>
|
868
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
869
|
+
g_dtls_connection_handshake_async (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
870
|
+
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
871
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
872
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
873
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
874
|
+
<p>Asynchronously performs a TLS handshake on <em class="parameter"><code>conn</code></em>
|
875
|
+
. See
|
876
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-handshake" title="g_dtls_connection_handshake ()"><code class="function">g_dtls_connection_handshake()</code></a> for more information.</p>
|
877
|
+
<div class="refsect3">
|
878
|
+
<a name="id-1.4.15.7.12.15.5"></a><h4>Parameters</h4>
|
879
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
880
|
+
<colgroup>
|
881
|
+
<col width="150px" class="parameters_name">
|
882
|
+
<col class="parameters_description">
|
883
|
+
<col width="200px" class="parameters_annotations">
|
884
|
+
</colgroup>
|
885
|
+
<tbody>
|
886
|
+
<tr>
|
887
|
+
<td class="parameter_name"><p>conn</p></td>
|
888
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
889
|
+
<td class="parameter_annotations"> </td>
|
890
|
+
</tr>
|
891
|
+
<tr>
|
892
|
+
<td class="parameter_name"><p>io_priority</p></td>
|
893
|
+
<td class="parameter_description"><p>the <a class="link" href="GAsyncResult.html#io-priority" title="I/O Priority">I/O priority</a> of the request</p></td>
|
894
|
+
<td class="parameter_annotations"> </td>
|
895
|
+
</tr>
|
896
|
+
<tr>
|
897
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
898
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
899
|
+
<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>
|
900
|
+
</tr>
|
901
|
+
<tr>
|
902
|
+
<td class="parameter_name"><p>callback</p></td>
|
903
|
+
<td class="parameter_description"><p>callback to call when the handshake is complete</p></td>
|
904
|
+
<td class="parameter_annotations"> </td>
|
905
|
+
</tr>
|
906
|
+
<tr>
|
907
|
+
<td class="parameter_name"><p>user_data</p></td>
|
908
|
+
<td class="parameter_description"><p>the data to pass to the callback function</p></td>
|
909
|
+
<td class="parameter_annotations"> </td>
|
910
|
+
</tr>
|
911
|
+
</tbody>
|
912
|
+
</table></div>
|
913
|
+
</div>
|
914
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
915
|
+
</div>
|
916
|
+
<hr>
|
917
|
+
<div class="refsect2">
|
918
|
+
<a name="g-dtls-connection-handshake-finish"></a><h3>g_dtls_connection_handshake_finish ()</h3>
|
919
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
920
|
+
g_dtls_connection_handshake_finish (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
921
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
922
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
923
|
+
<p>Finish an asynchronous TLS handshake operation. See
|
924
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-handshake" title="g_dtls_connection_handshake ()"><code class="function">g_dtls_connection_handshake()</code></a> for more information.</p>
|
925
|
+
<div class="refsect3">
|
926
|
+
<a name="id-1.4.15.7.12.16.5"></a><h4>Parameters</h4>
|
927
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
928
|
+
<colgroup>
|
929
|
+
<col width="150px" class="parameters_name">
|
930
|
+
<col class="parameters_description">
|
931
|
+
<col width="200px" class="parameters_annotations">
|
932
|
+
</colgroup>
|
933
|
+
<tbody>
|
934
|
+
<tr>
|
935
|
+
<td class="parameter_name"><p>conn</p></td>
|
936
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
937
|
+
<td class="parameter_annotations"> </td>
|
938
|
+
</tr>
|
939
|
+
<tr>
|
940
|
+
<td class="parameter_name"><p>result</p></td>
|
941
|
+
<td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.</p></td>
|
942
|
+
<td class="parameter_annotations"> </td>
|
943
|
+
</tr>
|
944
|
+
<tr>
|
945
|
+
<td class="parameter_name"><p>error</p></td>
|
946
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
947
|
+
<td class="parameter_annotations"> </td>
|
948
|
+
</tr>
|
949
|
+
</tbody>
|
950
|
+
</table></div>
|
951
|
+
</div>
|
952
|
+
<div class="refsect3">
|
953
|
+
<a name="id-1.4.15.7.12.16.6"></a><h4>Returns</h4>
|
954
|
+
<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 failure, in which
|
955
|
+
case <em class="parameter"><code>error</code></em>
|
956
|
+
will be set.</p>
|
957
|
+
</div>
|
958
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
959
|
+
</div>
|
960
|
+
<hr>
|
961
|
+
<div class="refsect2">
|
962
|
+
<a name="g-dtls-connection-shutdown"></a><h3>g_dtls_connection_shutdown ()</h3>
|
963
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
964
|
+
g_dtls_connection_shutdown (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
965
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
966
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
967
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
968
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
969
|
+
<p>Shut down part or all of a DTLS connection.</p>
|
970
|
+
<p>If <em class="parameter"><code>shutdown_read</code></em>
|
971
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the receiving side of the connection is shut
|
972
|
+
down, and further reading is disallowed. Subsequent calls to
|
973
|
+
<a class="link" href="GDatagramBased.html#g-datagram-based-receive-messages" title="g_datagram_based_receive_messages ()"><code class="function">g_datagram_based_receive_messages()</code></a> will return <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>.</p>
|
974
|
+
<p>If <em class="parameter"><code>shutdown_write</code></em>
|
975
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the sending side of the connection is shut
|
976
|
+
down, and further writing is disallowed. Subsequent calls to
|
977
|
+
<a class="link" href="GDatagramBased.html#g-datagram-based-send-messages" title="g_datagram_based_send_messages ()"><code class="function">g_datagram_based_send_messages()</code></a> will return <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>.</p>
|
978
|
+
<p>It is allowed for both <em class="parameter"><code>shutdown_read</code></em>
|
979
|
+
and <em class="parameter"><code>shutdown_write</code></em>
|
980
|
+
to be TRUE — this
|
981
|
+
is equivalent to calling <a class="link" href="GDtlsConnection.html#g-dtls-connection-close" title="g_dtls_connection_close ()"><code class="function">g_dtls_connection_close()</code></a>.</p>
|
982
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
983
|
+
is cancelled, the <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> may be left
|
984
|
+
partially-closed and any pending untransmitted data may be lost. Call
|
985
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-shutdown" title="g_dtls_connection_shutdown ()"><code class="function">g_dtls_connection_shutdown()</code></a> again to complete closing the <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a>.</p>
|
986
|
+
<div class="refsect3">
|
987
|
+
<a name="id-1.4.15.7.12.17.9"></a><h4>Parameters</h4>
|
988
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
989
|
+
<colgroup>
|
990
|
+
<col width="150px" class="parameters_name">
|
991
|
+
<col class="parameters_description">
|
992
|
+
<col width="200px" class="parameters_annotations">
|
993
|
+
</colgroup>
|
994
|
+
<tbody>
|
995
|
+
<tr>
|
996
|
+
<td class="parameter_name"><p>conn</p></td>
|
997
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
998
|
+
<td class="parameter_annotations"> </td>
|
999
|
+
</tr>
|
1000
|
+
<tr>
|
1001
|
+
<td class="parameter_name"><p>shutdown_read</p></td>
|
1002
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop reception of incoming datagrams</p></td>
|
1003
|
+
<td class="parameter_annotations"> </td>
|
1004
|
+
</tr>
|
1005
|
+
<tr>
|
1006
|
+
<td class="parameter_name"><p>shutdown_write</p></td>
|
1007
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop sending outgoing datagrams</p></td>
|
1008
|
+
<td class="parameter_annotations"> </td>
|
1009
|
+
</tr>
|
1010
|
+
<tr>
|
1011
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1012
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1013
|
+
<td class="parameter_annotations"><span class="annotation">[<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>
|
1014
|
+
</tr>
|
1015
|
+
<tr>
|
1016
|
+
<td class="parameter_name"><p>error</p></td>
|
1017
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1018
|
+
<td class="parameter_annotations"> </td>
|
1019
|
+
</tr>
|
1020
|
+
</tbody>
|
1021
|
+
</table></div>
|
1022
|
+
</div>
|
1023
|
+
<div class="refsect3">
|
1024
|
+
<a name="id-1.4.15.7.12.17.10"></a><h4>Returns</h4>
|
1025
|
+
<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> otherwise</p>
|
1026
|
+
</div>
|
1027
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1028
|
+
</div>
|
1029
|
+
<hr>
|
1030
|
+
<div class="refsect2">
|
1031
|
+
<a name="g-dtls-connection-shutdown-async"></a><h3>g_dtls_connection_shutdown_async ()</h3>
|
1032
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1033
|
+
g_dtls_connection_shutdown_async (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
1034
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
1035
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
1036
|
+
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
1037
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1038
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1039
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1040
|
+
<p>Asynchronously shut down part or all of the DTLS connection. See
|
1041
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-shutdown" title="g_dtls_connection_shutdown ()"><code class="function">g_dtls_connection_shutdown()</code></a> for more information.</p>
|
1042
|
+
<div class="refsect3">
|
1043
|
+
<a name="id-1.4.15.7.12.18.5"></a><h4>Parameters</h4>
|
1044
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1045
|
+
<colgroup>
|
1046
|
+
<col width="150px" class="parameters_name">
|
1047
|
+
<col class="parameters_description">
|
1048
|
+
<col width="200px" class="parameters_annotations">
|
1049
|
+
</colgroup>
|
1050
|
+
<tbody>
|
1051
|
+
<tr>
|
1052
|
+
<td class="parameter_name"><p>conn</p></td>
|
1053
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
1054
|
+
<td class="parameter_annotations"> </td>
|
1055
|
+
</tr>
|
1056
|
+
<tr>
|
1057
|
+
<td class="parameter_name"><p>shutdown_read</p></td>
|
1058
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop reception of incoming datagrams</p></td>
|
1059
|
+
<td class="parameter_annotations"> </td>
|
1060
|
+
</tr>
|
1061
|
+
<tr>
|
1062
|
+
<td class="parameter_name"><p>shutdown_write</p></td>
|
1063
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop sending outgoing datagrams</p></td>
|
1064
|
+
<td class="parameter_annotations"> </td>
|
1065
|
+
</tr>
|
1066
|
+
<tr>
|
1067
|
+
<td class="parameter_name"><p>io_priority</p></td>
|
1068
|
+
<td class="parameter_description"><p>the <a class="link" href="GAsyncResult.html#io-priority" title="I/O Priority">I/O priority</a> of the request</p></td>
|
1069
|
+
<td class="parameter_annotations"> </td>
|
1070
|
+
</tr>
|
1071
|
+
<tr>
|
1072
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1073
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1074
|
+
<td class="parameter_annotations"><span class="annotation">[<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>
|
1075
|
+
</tr>
|
1076
|
+
<tr>
|
1077
|
+
<td class="parameter_name"><p>callback</p></td>
|
1078
|
+
<td class="parameter_description"><p>callback to call when the shutdown operation is complete</p></td>
|
1079
|
+
<td class="parameter_annotations"> </td>
|
1080
|
+
</tr>
|
1081
|
+
<tr>
|
1082
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1083
|
+
<td class="parameter_description"><p>the data to pass to the callback function</p></td>
|
1084
|
+
<td class="parameter_annotations"> </td>
|
1085
|
+
</tr>
|
1086
|
+
</tbody>
|
1087
|
+
</table></div>
|
1088
|
+
</div>
|
1089
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1090
|
+
</div>
|
1091
|
+
<hr>
|
1092
|
+
<div class="refsect2">
|
1093
|
+
<a name="g-dtls-connection-shutdown-finish"></a><h3>g_dtls_connection_shutdown_finish ()</h3>
|
1094
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1095
|
+
g_dtls_connection_shutdown_finish (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
1096
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
1097
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1098
|
+
<p>Finish an asynchronous TLS shutdown operation. See
|
1099
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-shutdown" title="g_dtls_connection_shutdown ()"><code class="function">g_dtls_connection_shutdown()</code></a> for more information.</p>
|
1100
|
+
<div class="refsect3">
|
1101
|
+
<a name="id-1.4.15.7.12.19.5"></a><h4>Parameters</h4>
|
1102
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1103
|
+
<colgroup>
|
1104
|
+
<col width="150px" class="parameters_name">
|
1105
|
+
<col class="parameters_description">
|
1106
|
+
<col width="200px" class="parameters_annotations">
|
1107
|
+
</colgroup>
|
1108
|
+
<tbody>
|
1109
|
+
<tr>
|
1110
|
+
<td class="parameter_name"><p>conn</p></td>
|
1111
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
1112
|
+
<td class="parameter_annotations"> </td>
|
1113
|
+
</tr>
|
1114
|
+
<tr>
|
1115
|
+
<td class="parameter_name"><p>result</p></td>
|
1116
|
+
<td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a></p></td>
|
1117
|
+
<td class="parameter_annotations"> </td>
|
1118
|
+
</tr>
|
1119
|
+
<tr>
|
1120
|
+
<td class="parameter_name"><p>error</p></td>
|
1121
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1122
|
+
<td class="parameter_annotations"> </td>
|
1123
|
+
</tr>
|
1124
|
+
</tbody>
|
1125
|
+
</table></div>
|
1126
|
+
</div>
|
1127
|
+
<div class="refsect3">
|
1128
|
+
<a name="id-1.4.15.7.12.19.6"></a><h4>Returns</h4>
|
1129
|
+
<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 failure, in which
|
1130
|
+
case <em class="parameter"><code>error</code></em>
|
1131
|
+
will be set</p>
|
1132
|
+
</div>
|
1133
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1134
|
+
</div>
|
1135
|
+
<hr>
|
1136
|
+
<div class="refsect2">
|
1137
|
+
<a name="g-dtls-connection-close"></a><h3>g_dtls_connection_close ()</h3>
|
1138
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1139
|
+
g_dtls_connection_close (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
1140
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1141
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1142
|
+
<p>Close the DTLS connection. This is equivalent to calling
|
1143
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-shutdown" title="g_dtls_connection_shutdown ()"><code class="function">g_dtls_connection_shutdown()</code></a> to shut down both sides of the connection.</p>
|
1144
|
+
<p>Closing a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> waits for all buffered but untransmitted data to
|
1145
|
+
be sent before it completes. It then sends a <code class="literal">close_notify</code> DTLS alert to the
|
1146
|
+
peer and may wait for a <code class="literal">close_notify</code> to be received from the peer. It does
|
1147
|
+
not close the underlying <a class="link" href="GDtlsConnection.html#GDtlsConnection--base-socket" title="The “base-socket” property"><span class="type">“base-socket”</span></a>; that must be closed
|
1148
|
+
separately.</p>
|
1149
|
+
<p>Once <em class="parameter"><code>conn</code></em>
|
1150
|
+
is closed, all other operations will return <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>.
|
1151
|
+
Closing a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> multiple times will not return an error.</p>
|
1152
|
+
<p><a href="GDtlsConnection.html"><span class="type">GDtlsConnections</span></a> will be automatically closed when the last reference is
|
1153
|
+
dropped, but you might want to call this function to make sure resources are
|
1154
|
+
released as early as possible.</p>
|
1155
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
1156
|
+
is cancelled, the <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> may be left
|
1157
|
+
partially-closed and any pending untransmitted data may be lost. Call
|
1158
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-close" title="g_dtls_connection_close ()"><code class="function">g_dtls_connection_close()</code></a> again to complete closing the <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a>.</p>
|
1159
|
+
<div class="refsect3">
|
1160
|
+
<a name="id-1.4.15.7.12.20.9"></a><h4>Parameters</h4>
|
1161
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1162
|
+
<colgroup>
|
1163
|
+
<col width="150px" class="parameters_name">
|
1164
|
+
<col class="parameters_description">
|
1165
|
+
<col width="200px" class="parameters_annotations">
|
1166
|
+
</colgroup>
|
1167
|
+
<tbody>
|
1168
|
+
<tr>
|
1169
|
+
<td class="parameter_name"><p>conn</p></td>
|
1170
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
1171
|
+
<td class="parameter_annotations"> </td>
|
1172
|
+
</tr>
|
1173
|
+
<tr>
|
1174
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1175
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1176
|
+
<td class="parameter_annotations"><span class="annotation">[<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>
|
1177
|
+
</tr>
|
1178
|
+
<tr>
|
1179
|
+
<td class="parameter_name"><p>error</p></td>
|
1180
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1181
|
+
<td class="parameter_annotations"> </td>
|
1182
|
+
</tr>
|
1183
|
+
</tbody>
|
1184
|
+
</table></div>
|
1185
|
+
</div>
|
1186
|
+
<div class="refsect3">
|
1187
|
+
<a name="id-1.4.15.7.12.20.10"></a><h4>Returns</h4>
|
1188
|
+
<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> otherwise</p>
|
1189
|
+
</div>
|
1190
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1191
|
+
</div>
|
1192
|
+
<hr>
|
1193
|
+
<div class="refsect2">
|
1194
|
+
<a name="g-dtls-connection-close-async"></a><h3>g_dtls_connection_close_async ()</h3>
|
1195
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1196
|
+
g_dtls_connection_close_async (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
1197
|
+
<em class="parameter"><code><span class="type">int</span> io_priority</code></em>,
|
1198
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1199
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1200
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1201
|
+
<p>Asynchronously close the DTLS connection. See <a class="link" href="GDtlsConnection.html#g-dtls-connection-close" title="g_dtls_connection_close ()"><code class="function">g_dtls_connection_close()</code></a> for
|
1202
|
+
more information.</p>
|
1203
|
+
<div class="refsect3">
|
1204
|
+
<a name="id-1.4.15.7.12.21.5"></a><h4>Parameters</h4>
|
1205
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1206
|
+
<colgroup>
|
1207
|
+
<col width="150px" class="parameters_name">
|
1208
|
+
<col class="parameters_description">
|
1209
|
+
<col width="200px" class="parameters_annotations">
|
1210
|
+
</colgroup>
|
1211
|
+
<tbody>
|
1212
|
+
<tr>
|
1213
|
+
<td class="parameter_name"><p>conn</p></td>
|
1214
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
1215
|
+
<td class="parameter_annotations"> </td>
|
1216
|
+
</tr>
|
1217
|
+
<tr>
|
1218
|
+
<td class="parameter_name"><p>io_priority</p></td>
|
1219
|
+
<td class="parameter_description"><p>the <a class="link" href="GAsyncResult.html#io-priority" title="I/O Priority">I/O priority</a> of the request</p></td>
|
1220
|
+
<td class="parameter_annotations"> </td>
|
1221
|
+
</tr>
|
1222
|
+
<tr>
|
1223
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1224
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1225
|
+
<td class="parameter_annotations"><span class="annotation">[<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>
|
1226
|
+
</tr>
|
1227
|
+
<tr>
|
1228
|
+
<td class="parameter_name"><p>callback</p></td>
|
1229
|
+
<td class="parameter_description"><p>callback to call when the close operation is complete</p></td>
|
1230
|
+
<td class="parameter_annotations"> </td>
|
1231
|
+
</tr>
|
1232
|
+
<tr>
|
1233
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1234
|
+
<td class="parameter_description"><p>the data to pass to the callback function</p></td>
|
1235
|
+
<td class="parameter_annotations"> </td>
|
1236
|
+
</tr>
|
1237
|
+
</tbody>
|
1238
|
+
</table></div>
|
1239
|
+
</div>
|
1240
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1241
|
+
</div>
|
1242
|
+
<hr>
|
1243
|
+
<div class="refsect2">
|
1244
|
+
<a name="g-dtls-connection-close-finish"></a><h3>g_dtls_connection_close_finish ()</h3>
|
1245
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1246
|
+
g_dtls_connection_close_finish (<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
1247
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
1248
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1249
|
+
<p>Finish an asynchronous TLS close operation. See <a class="link" href="GDtlsConnection.html#g-dtls-connection-close" title="g_dtls_connection_close ()"><code class="function">g_dtls_connection_close()</code></a>
|
1250
|
+
for more information.</p>
|
1251
|
+
<div class="refsect3">
|
1252
|
+
<a name="id-1.4.15.7.12.22.5"></a><h4>Parameters</h4>
|
1253
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1254
|
+
<colgroup>
|
1255
|
+
<col width="150px" class="parameters_name">
|
1256
|
+
<col class="parameters_description">
|
1257
|
+
<col width="200px" class="parameters_annotations">
|
1258
|
+
</colgroup>
|
1259
|
+
<tbody>
|
1260
|
+
<tr>
|
1261
|
+
<td class="parameter_name"><p>conn</p></td>
|
1262
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
1263
|
+
<td class="parameter_annotations"> </td>
|
1264
|
+
</tr>
|
1265
|
+
<tr>
|
1266
|
+
<td class="parameter_name"><p>result</p></td>
|
1267
|
+
<td class="parameter_description"><p>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a></p></td>
|
1268
|
+
<td class="parameter_annotations"> </td>
|
1269
|
+
</tr>
|
1270
|
+
<tr>
|
1271
|
+
<td class="parameter_name"><p>error</p></td>
|
1272
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1273
|
+
<td class="parameter_annotations"> </td>
|
1274
|
+
</tr>
|
1275
|
+
</tbody>
|
1276
|
+
</table></div>
|
1277
|
+
</div>
|
1278
|
+
<div class="refsect3">
|
1279
|
+
<a name="id-1.4.15.7.12.22.6"></a><h4>Returns</h4>
|
1280
|
+
<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 failure, in which
|
1281
|
+
case <em class="parameter"><code>error</code></em>
|
1282
|
+
will be set</p>
|
1283
|
+
</div>
|
1284
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1285
|
+
</div>
|
1286
|
+
<hr>
|
1287
|
+
<div class="refsect2">
|
1288
|
+
<a name="g-dtls-connection-emit-accept-certificate"></a><h3>g_dtls_connection_emit_accept_certificate ()</h3>
|
1289
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1290
|
+
g_dtls_connection_emit_accept_certificate
|
1291
|
+
(<em class="parameter"><code><a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn</code></em>,
|
1292
|
+
<em class="parameter"><code><a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a> *peer_cert</code></em>,
|
1293
|
+
<em class="parameter"><code><a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags" title="enum GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> errors</code></em>);</pre>
|
1294
|
+
<p>Used by <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> implementations to emit the
|
1295
|
+
<a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal"><span class="type">“accept-certificate”</span></a> signal.</p>
|
1296
|
+
<div class="refsect3">
|
1297
|
+
<a name="id-1.4.15.7.12.23.5"></a><h4>Parameters</h4>
|
1298
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1299
|
+
<colgroup>
|
1300
|
+
<col width="150px" class="parameters_name">
|
1301
|
+
<col class="parameters_description">
|
1302
|
+
<col width="200px" class="parameters_annotations">
|
1303
|
+
</colgroup>
|
1304
|
+
<tbody>
|
1305
|
+
<tr>
|
1306
|
+
<td class="parameter_name"><p>conn</p></td>
|
1307
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
1308
|
+
<td class="parameter_annotations"> </td>
|
1309
|
+
</tr>
|
1310
|
+
<tr>
|
1311
|
+
<td class="parameter_name"><p>peer_cert</p></td>
|
1312
|
+
<td class="parameter_description"><p>the peer's <a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a></p></td>
|
1313
|
+
<td class="parameter_annotations"> </td>
|
1314
|
+
</tr>
|
1315
|
+
<tr>
|
1316
|
+
<td class="parameter_name"><p>errors</p></td>
|
1317
|
+
<td class="parameter_description"><p>the problems with <em class="parameter"><code>peer_cert</code></em>
|
1318
|
+
</p></td>
|
1319
|
+
<td class="parameter_annotations"> </td>
|
1320
|
+
</tr>
|
1321
|
+
</tbody>
|
1322
|
+
</table></div>
|
1323
|
+
</div>
|
1324
|
+
<div class="refsect3">
|
1325
|
+
<a name="id-1.4.15.7.12.23.6"></a><h4>Returns</h4>
|
1326
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if one of the signal handlers has returned
|
1327
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to accept <em class="parameter"><code>peer_cert</code></em>
|
1328
|
+
</p>
|
1329
|
+
</div>
|
1330
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1331
|
+
</div>
|
1332
|
+
</div>
|
1333
|
+
<div class="refsect1">
|
1334
|
+
<a name="GDtlsConnection.other_details"></a><h2>Types and Values</h2>
|
1335
|
+
<div class="refsect2">
|
1336
|
+
<a name="GDtlsConnection-struct"></a><h3>GDtlsConnection</h3>
|
1337
|
+
<pre class="programlisting">typedef struct _GDtlsConnection GDtlsConnection;</pre>
|
1338
|
+
<p>Abstract base class for the backend-specific <a class="link" href="GDtlsClientConnection.html" title="GDtlsClientConnection"><span class="type">GDtlsClientConnection</span></a>
|
1339
|
+
and <a class="link" href="GDtlsServerConnection.html" title="GDtlsServerConnection"><span class="type">GDtlsServerConnection</span></a> types.</p>
|
1340
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1341
|
+
</div>
|
1342
|
+
</div>
|
1343
|
+
<div class="refsect1">
|
1344
|
+
<a name="GDtlsConnection.property-details"></a><h2>Property Details</h2>
|
1345
|
+
<div class="refsect2">
|
1346
|
+
<a name="GDtlsConnection--base-socket"></a><h3>The <code class="literal">“base-socket”</code> property</h3>
|
1347
|
+
<pre class="programlisting"> “base-socket” <a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a> *</pre>
|
1348
|
+
<p>The <a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a> that the connection wraps. Note that this may be any
|
1349
|
+
implementation of <a class="link" href="GDatagramBased.html" title="GDatagramBased"><span class="type">GDatagramBased</span></a>, not just a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p>
|
1350
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1351
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1352
|
+
</div>
|
1353
|
+
<hr>
|
1354
|
+
<div class="refsect2">
|
1355
|
+
<a name="GDtlsConnection--certificate"></a><h3>The <code class="literal">“certificate”</code> property</h3>
|
1356
|
+
<pre class="programlisting"> “certificate” <a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a> *</pre>
|
1357
|
+
<p>The connection's certificate; see
|
1358
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-certificate" title="g_dtls_connection_set_certificate ()"><code class="function">g_dtls_connection_set_certificate()</code></a>.</p>
|
1359
|
+
<p>Flags: Read / Write</p>
|
1360
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1361
|
+
</div>
|
1362
|
+
<hr>
|
1363
|
+
<div class="refsect2">
|
1364
|
+
<a name="GDtlsConnection--database"></a><h3>The <code class="literal">“database”</code> property</h3>
|
1365
|
+
<pre class="programlisting"> “database” <a class="link" href="GTlsDatabase.html" title="GTlsDatabase"><span class="type">GTlsDatabase</span></a> *</pre>
|
1366
|
+
<p>The certificate database to use when verifying this TLS connection.
|
1367
|
+
If no certificate database is set, then the default database will be
|
1368
|
+
used. See <code class="function">g_dtls_backend_get_default_database()</code>.</p>
|
1369
|
+
<p>Flags: Read / Write</p>
|
1370
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1371
|
+
</div>
|
1372
|
+
<hr>
|
1373
|
+
<div class="refsect2">
|
1374
|
+
<a name="GDtlsConnection--interaction"></a><h3>The <code class="literal">“interaction”</code> property</h3>
|
1375
|
+
<pre class="programlisting"> “interaction” <a class="link" href="GTlsInteraction.html" title="GTlsInteraction"><span class="type">GTlsInteraction</span></a> *</pre>
|
1376
|
+
<p>A <a class="link" href="GTlsInteraction.html" title="GTlsInteraction"><span class="type">GTlsInteraction</span></a> object to be used when the connection or certificate
|
1377
|
+
database need to interact with the user. This will be used to prompt the
|
1378
|
+
user for passwords where necessary.</p>
|
1379
|
+
<p>Flags: Read / Write</p>
|
1380
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1381
|
+
</div>
|
1382
|
+
<hr>
|
1383
|
+
<div class="refsect2">
|
1384
|
+
<a name="GDtlsConnection--peer-certificate"></a><h3>The <code class="literal">“peer-certificate”</code> property</h3>
|
1385
|
+
<pre class="programlisting"> “peer-certificate” <a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a> *</pre>
|
1386
|
+
<p>The connection's peer's certificate, after the TLS handshake has
|
1387
|
+
completed and the certificate has been accepted. Note in
|
1388
|
+
particular that this is not yet set during the emission of
|
1389
|
+
<a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal"><span class="type">“accept-certificate”</span></a>.</p>
|
1390
|
+
<p>(You can watch for a <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-notify"><span class="type">“notify”</span></a> signal on this property to
|
1391
|
+
detect when a handshake has occurred.)</p>
|
1392
|
+
<p>Flags: Read</p>
|
1393
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1394
|
+
</div>
|
1395
|
+
<hr>
|
1396
|
+
<div class="refsect2">
|
1397
|
+
<a name="GDtlsConnection--peer-certificate-errors"></a><h3>The <code class="literal">“peer-certificate-errors”</code> property</h3>
|
1398
|
+
<pre class="programlisting"> “peer-certificate-errors” <a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags" title="enum GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a></pre>
|
1399
|
+
<p>The errors noticed-and-ignored while verifying
|
1400
|
+
<a class="link" href="GDtlsConnection.html#GDtlsConnection--peer-certificate" title="The “peer-certificate” property"><span class="type">“peer-certificate”</span></a>. Normally this should be 0, but
|
1401
|
+
it may not be if <a class="link" href="GDtlsClientConnection.html#GDtlsClientConnection--validation-flags" title="The “validation-flags” property"><span class="type">“validation-flags”</span></a> is not
|
1402
|
+
<a class="link" href="gio-TLS-Overview.html#G-TLS-CERTIFICATE-VALIDATE-ALL:CAPS"><code class="literal">G_TLS_CERTIFICATE_VALIDATE_ALL</code></a>, or if
|
1403
|
+
<a class="link" href="GDtlsConnection.html#GDtlsConnection-accept-certificate" title="The “accept-certificate” signal"><span class="type">“accept-certificate”</span></a> overrode the default
|
1404
|
+
behavior.</p>
|
1405
|
+
<p>Flags: Read</p>
|
1406
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1407
|
+
</div>
|
1408
|
+
<hr>
|
1409
|
+
<div class="refsect2">
|
1410
|
+
<a name="GDtlsConnection--rehandshake-mode"></a><h3>The <code class="literal">“rehandshake-mode”</code> property</h3>
|
1411
|
+
<pre class="programlisting"> “rehandshake-mode” <a class="link" href="GTlsConnection.html#GTlsRehandshakeMode" title="enum GTlsRehandshakeMode"><span class="type">GTlsRehandshakeMode</span></a></pre>
|
1412
|
+
<p>The rehandshaking mode. See
|
1413
|
+
<a class="link" href="GDtlsConnection.html#g-dtls-connection-set-rehandshake-mode" title="g_dtls_connection_set_rehandshake_mode ()"><code class="function">g_dtls_connection_set_rehandshake_mode()</code></a>.</p>
|
1414
|
+
<p>Flags: Read / Write / Construct</p>
|
1415
|
+
<p>Default value: G_TLS_REHANDSHAKE_NEVER</p>
|
1416
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1417
|
+
</div>
|
1418
|
+
<hr>
|
1419
|
+
<div class="refsect2">
|
1420
|
+
<a name="GDtlsConnection--require-close-notify"></a><h3>The <code class="literal">“require-close-notify”</code> property</h3>
|
1421
|
+
<pre class="programlisting"> “require-close-notify” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1422
|
+
<p>Whether or not proper TLS close notification is required.
|
1423
|
+
See <a class="link" href="GDtlsConnection.html#g-dtls-connection-set-require-close-notify" title="g_dtls_connection_set_require_close_notify ()"><code class="function">g_dtls_connection_set_require_close_notify()</code></a>.</p>
|
1424
|
+
<p>Flags: Read / Write / Construct</p>
|
1425
|
+
<p>Default value: TRUE</p>
|
1426
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1427
|
+
</div>
|
1428
|
+
</div>
|
1429
|
+
<div class="refsect1">
|
1430
|
+
<a name="GDtlsConnection.signal-details"></a><h2>Signal Details</h2>
|
1431
|
+
<div class="refsect2">
|
1432
|
+
<a name="GDtlsConnection-accept-certificate"></a><h3>The <code class="literal">“accept-certificate”</code> signal</h3>
|
1433
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1434
|
+
user_function (<a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a> *conn,
|
1435
|
+
<a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a> *peer_cert,
|
1436
|
+
<a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags" title="enum GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> errors,
|
1437
|
+
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1438
|
+
<p>Emitted during the TLS handshake after the peer certificate has
|
1439
|
+
been received. You can examine <em class="parameter"><code>peer_cert</code></em>
|
1440
|
+
's certification path by
|
1441
|
+
calling <a class="link" href="GTlsCertificate.html#g-tls-certificate-get-issuer" title="g_tls_certificate_get_issuer ()"><code class="function">g_tls_certificate_get_issuer()</code></a> on it.</p>
|
1442
|
+
<p>For a client-side connection, <em class="parameter"><code>peer_cert</code></em>
|
1443
|
+
is the server's
|
1444
|
+
certificate, and the signal will only be emitted if the
|
1445
|
+
certificate was not acceptable according to <em class="parameter"><code>conn</code></em>
|
1446
|
+
's
|
1447
|
+
<a class="link" href="GDtlsClientConnection.html#GDtlsClientConnection--validation-flags" title="The “validation-flags” property"><span class="type">“validation_flags”</span></a>. If you would like the
|
1448
|
+
certificate to be accepted despite <em class="parameter"><code>errors</code></em>
|
1449
|
+
, return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> from the
|
1450
|
+
signal handler. Otherwise, if no handler accepts the certificate,
|
1451
|
+
the handshake will fail with <a class="link" href="gio-TLS-Overview.html#G-TLS-ERROR-BAD-CERTIFICATE:CAPS"><code class="literal">G_TLS_ERROR_BAD_CERTIFICATE</code></a>.</p>
|
1452
|
+
<p>For a server-side connection, <em class="parameter"><code>peer_cert</code></em>
|
1453
|
+
is the certificate
|
1454
|
+
presented by the client, if this was requested via the server's
|
1455
|
+
<a class="link" href="GDtlsServerConnection.html#GDtlsServerConnection--authentication-mode" title="The “authentication-mode” property"><span class="type">“authentication_mode”</span></a>. On the server side,
|
1456
|
+
the signal is always emitted when the client presents a
|
1457
|
+
certificate, and the certificate will only be accepted if a
|
1458
|
+
handler returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
1459
|
+
<p>Note that if this signal is emitted as part of asynchronous I/O
|
1460
|
+
in the main thread, then you should not attempt to interact with
|
1461
|
+
the user before returning from the signal handler. If you want to
|
1462
|
+
let the user decide whether or not to accept the certificate, you
|
1463
|
+
would have to return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> from the signal handler on the first
|
1464
|
+
attempt, and then after the connection attempt returns a
|
1465
|
+
<a class="link" href="gio-TLS-Overview.html#G-TLS-ERROR-HANDSHAKE:CAPS"><code class="literal">G_TLS_ERROR_HANDSHAKE</code></a>, you can interact with the user, and if
|
1466
|
+
the user decides to accept the certificate, remember that fact,
|
1467
|
+
create a new connection, and return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> from the signal handler
|
1468
|
+
the next time.</p>
|
1469
|
+
<p>If you are doing I/O in another thread, you do not
|
1470
|
+
need to worry about this, and can simply block in the signal
|
1471
|
+
handler until the UI thread returns an answer.</p>
|
1472
|
+
<div class="refsect3">
|
1473
|
+
<a name="id-1.4.15.7.15.2.9"></a><h4>Parameters</h4>
|
1474
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1475
|
+
<colgroup>
|
1476
|
+
<col width="150px" class="parameters_name">
|
1477
|
+
<col class="parameters_description">
|
1478
|
+
<col width="200px" class="parameters_annotations">
|
1479
|
+
</colgroup>
|
1480
|
+
<tbody>
|
1481
|
+
<tr>
|
1482
|
+
<td class="parameter_name"><p>conn</p></td>
|
1483
|
+
<td class="parameter_description"><p>a <a class="link" href="GDtlsConnection.html" title="GDtlsConnection"><span class="type">GDtlsConnection</span></a></p></td>
|
1484
|
+
<td class="parameter_annotations"> </td>
|
1485
|
+
</tr>
|
1486
|
+
<tr>
|
1487
|
+
<td class="parameter_name"><p>peer_cert</p></td>
|
1488
|
+
<td class="parameter_description"><p>the peer's <a class="link" href="GTlsCertificate.html" title="GTlsCertificate"><span class="type">GTlsCertificate</span></a></p></td>
|
1489
|
+
<td class="parameter_annotations"> </td>
|
1490
|
+
</tr>
|
1491
|
+
<tr>
|
1492
|
+
<td class="parameter_name"><p>errors</p></td>
|
1493
|
+
<td class="parameter_description"><p>the problems with <em class="parameter"><code>peer_cert</code></em>
|
1494
|
+
.</p></td>
|
1495
|
+
<td class="parameter_annotations"> </td>
|
1496
|
+
</tr>
|
1497
|
+
<tr>
|
1498
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1499
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1500
|
+
<td class="parameter_annotations"> </td>
|
1501
|
+
</tr>
|
1502
|
+
</tbody>
|
1503
|
+
</table></div>
|
1504
|
+
</div>
|
1505
|
+
<div class="refsect3">
|
1506
|
+
<a name="id-1.4.15.7.15.2.10"></a><h4>Returns</h4>
|
1507
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to accept <em class="parameter"><code>peer_cert</code></em>
|
1508
|
+
(which will also
|
1509
|
+
immediately end the signal emission). <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to allow the signal
|
1510
|
+
emission to continue, which will cause the handshake to fail if
|
1511
|
+
no one else overrides it.</p>
|
1512
|
+
</div>
|
1513
|
+
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1514
|
+
<p class="since">Since: <a class="link" href="api-index-2-48.html#api-index-2.48">2.48</a></p>
|
1515
|
+
</div>
|
1516
|
+
</div>
|
1517
|
+
</div>
|
1518
|
+
<div class="footer">
|
1519
|
+
<hr>Generated by GTK-Doc V1.24</div>
|
1520
|
+
</body>
|
1521
|
+
</html>
|