glib2 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +40 -0
- data/Rakefile +157 -0
- data/ext/glib2/depend +18 -0
- data/ext/glib2/extconf.rb +80 -0
- data/ext/glib2/glib2.def +147 -0
- data/ext/glib2/rbgcompat.h +29 -0
- data/ext/glib2/rbglib.c +1158 -0
- data/ext/glib2/rbglib.h +202 -0
- data/ext/glib2/rbglib2conversions.h +57 -0
- data/ext/glib2/rbglib_bookmarkfile.c +546 -0
- data/ext/glib2/rbglib_convert.c +197 -0
- data/ext/glib2/rbglib_error.c +164 -0
- data/ext/glib2/rbglib_fileutils.c +119 -0
- data/ext/glib2/rbglib_gettext.c +48 -0
- data/ext/glib2/rbglib_i18n.c +40 -0
- data/ext/glib2/rbglib_int64.c +165 -0
- data/ext/glib2/rbglib_io_constants.c +30 -0
- data/ext/glib2/rbglib_iochannel.c +824 -0
- data/ext/glib2/rbglib_iochannel_win32_socket.c +56 -0
- data/ext/glib2/rbglib_iochannelerror.c +49 -0
- data/ext/glib2/rbglib_keyfile.c +755 -0
- data/ext/glib2/rbglib_maincontext.c +565 -0
- data/ext/glib2/rbglib_mainloop.c +121 -0
- data/ext/glib2/rbglib_messages.c +148 -0
- data/ext/glib2/rbglib_pollfd.c +112 -0
- data/ext/glib2/rbglib_shell.c +64 -0
- data/ext/glib2/rbglib_shellerror.c +34 -0
- data/ext/glib2/rbglib_source.c +242 -0
- data/ext/glib2/rbglib_spawn.c +245 -0
- data/ext/glib2/rbglib_spawnerror.c +53 -0
- data/ext/glib2/rbglib_threads.c +61 -0
- data/ext/glib2/rbglib_timer.c +127 -0
- data/ext/glib2/rbglib_ucs4.c +79 -0
- data/ext/glib2/rbglib_unichar.c +201 -0
- data/ext/glib2/rbglib_unicode.c +90 -0
- data/ext/glib2/rbglib_utf16.c +78 -0
- data/ext/glib2/rbglib_utf8.c +257 -0
- data/ext/glib2/rbglib_utils.c +339 -0
- data/ext/glib2/rbglib_win32.c +112 -0
- data/ext/glib2/rbglibdeprecated.c +56 -0
- data/ext/glib2/rbglibdeprecated.h +34 -0
- data/ext/glib2/rbgobj_boxed.c +295 -0
- data/ext/glib2/rbgobj_closure.c +345 -0
- data/ext/glib2/rbgobj_convert.c +195 -0
- data/ext/glib2/rbgobj_enumflags.c +109 -0
- data/ext/glib2/rbgobj_enums.c +401 -0
- data/ext/glib2/rbgobj_flags.c +522 -0
- data/ext/glib2/rbgobj_object.c +885 -0
- data/ext/glib2/rbgobj_param.c +378 -0
- data/ext/glib2/rbgobj_paramspecs.c +311 -0
- data/ext/glib2/rbgobj_signal.c +978 -0
- data/ext/glib2/rbgobj_strv.c +44 -0
- data/ext/glib2/rbgobj_type.c +846 -0
- data/ext/glib2/rbgobj_typeinstance.c +128 -0
- data/ext/glib2/rbgobj_typeinterface.c +149 -0
- data/ext/glib2/rbgobj_typemodule.c +72 -0
- data/ext/glib2/rbgobj_typeplugin.c +57 -0
- data/ext/glib2/rbgobj_value.c +395 -0
- data/ext/glib2/rbgobj_valuearray.c +100 -0
- data/ext/glib2/rbgobj_valuetypes.c +243 -0
- data/ext/glib2/rbgobject.c +387 -0
- data/ext/glib2/rbgobject.h +301 -0
- data/ext/glib2/rbgprivate.h +178 -0
- data/ext/glib2/rbgutil.c +183 -0
- data/ext/glib2/rbgutil.h +119 -0
- data/ext/glib2/rbgutil_callback.c +272 -0
- data/ext/glib2/rbgutil_list.c +173 -0
- data/ext/glib2/rbgutil_list.h +85 -0
- data/ext/glib2/rbgutildeprecated.c +252 -0
- data/ext/glib2/rbgutildeprecated.h +63 -0
- data/extconf.rb +49 -0
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/glib-mkenums.rb +214 -0
- data/lib/glib2.rb +231 -0
- data/lib/glib2/deprecatable.rb +153 -0
- data/lib/gnome2-raketask.rb +8 -0
- data/lib/gnome2/rake/external-package.rb +227 -0
- data/lib/gnome2/rake/native-binary-build-task.rb +129 -0
- data/lib/gnome2/rake/package-task.rb +273 -0
- data/lib/gnome2/rake/package.rb +152 -0
- data/lib/gnome2/rake/source-download-task.rb +82 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +303 -0
- data/lib/gnome2/rake/windows-binary-download-task.rb +181 -0
- data/lib/mkmf-gnome2.rb +637 -0
- data/sample/bookmarkfile.rb +66 -0
- data/sample/idle.rb +41 -0
- data/sample/iochannel.rb +44 -0
- data/sample/keyfile.rb +62 -0
- data/sample/shell.rb +36 -0
- data/sample/spawn.rb +25 -0
- data/sample/timeout.rb +28 -0
- data/sample/timeout2.rb +35 -0
- data/sample/timer.rb +40 -0
- data/sample/type-register.rb +103 -0
- data/sample/type-register2.rb +104 -0
- data/sample/utils.rb +54 -0
- data/test/glib-test-init.rb +5 -0
- data/test/glib-test-utils.rb +12 -0
- data/test/run-test.rb +21 -0
- data/test/test_enum.rb +99 -0
- data/test/test_file_utils.rb +53 -0
- data/test/test_flags.rb +129 -0
- data/test/test_glib2.rb +122 -0
- data/test/test_iochannel.rb +275 -0
- data/test/test_key_file.rb +42 -0
- data/test/test_mkenums.rb +25 -0
- data/test/test_poll_fd.rb +26 -0
- data/test/test_signal.rb +20 -0
- data/test/test_source.rb +63 -0
- data/test/test_spawn.rb +33 -0
- data/test/test_timeout.rb +28 -0
- data/test/test_unicode.rb +394 -0
- data/test/test_utils.rb +37 -0
- data/test/test_value.rb +31 -0
- data/test/test_win32.rb +13 -0
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +39 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +121 -0
- 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 +187 -0
- data/vendor/local/bin/glib-mkenums +565 -0
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- 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/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-28.def +861 -0
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +228 -0
- data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
- data/vendor/local/bin/libgnutls-xssl-28.def +13 -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-2-5.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/libnettle-4-7.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/ngettext.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/include/autosprintf.h +67 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +82 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +161 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +313 -0
- data/vendor/local/include/glib-2.0/gio/gapplication.h +236 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +122 -0
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +124 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +85 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +86 -0
- data/vendor/local/include/glib-2.0/gio/gbytesicon.h +52 -0
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +63 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +71 -0
- data/vendor/local/include/glib-2.0/gio/gconverter.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +85 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +180 -0
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +65 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +51 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +663 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +109 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +127 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +325 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +197 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +115 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +102 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobject.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +146 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +93 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +214 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +60 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +259 -0
- data/vendor/local/include/glib-2.0/gio/gemblem.h +61 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gfile.h +1250 -0
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +84 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +144 -0
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1070 -0
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +114 -0
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +121 -0
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +122 -0
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gicon.h +101 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +124 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +85 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +78 -0
- data/vendor/local/include/glib-2.0/gio/ginitable.h +99 -0
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +201 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1816 -0
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +53 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +169 -0
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +54 -0
- data/vendor/local/include/glib-2.0/gio/giostream.h +135 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +535 -0
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +99 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +90 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +107 -0
- data/vendor/local/include/glib-2.0/gio/gmenu.h +182 -0
- data/vendor/local/include/glib-2.0/gio/gmenuexporter.h +40 -0
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +305 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +276 -0
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +140 -0
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +61 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +93 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gnotification.h +97 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +254 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +127 -0
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gpollableutils.h +64 -0
- data/vendor/local/include/glib-2.0/gio/gpropertyaction.h +47 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +128 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +86 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +74 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +212 -0
- data/vendor/local/include/glib-2.0/gio/gresource.h +129 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +103 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +331 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +158 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +104 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +59 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +162 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +89 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +289 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +197 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +115 -0
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +109 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +150 -0
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +59 -0
- data/vendor/local/include/glib-2.0/gio/gsubprocess.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gsubprocesslauncher.h +116 -0
- data/vendor/local/include/glib-2.0/gio/gtask.h +158 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gtestdbus.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +71 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +154 -0
- data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +247 -0
- data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +148 -0
- data/vendor/local/include/glib-2.0/gio/gtlspassword.h +110 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +132 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +251 -0
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +154 -0
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +58 -0
- data/vendor/local/include/glib-2.0/glib-object.h +40 -0
- data/vendor/local/include/glib-2.0/glib-unix.h +119 -0
- data/vendor/local/include/glib-2.0/glib.h +112 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +88 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +75 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +83 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +139 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +105 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +293 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +103 -0
- data/vendor/local/include/glib-2.0/glib/garray.h +238 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +109 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +281 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +64 -0
- data/vendor/local/include/glib-2.0/glib/gbase64.h +61 -0
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +76 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +255 -0
- data/vendor/local/include/glib-2.0/glib/gbytes.h +90 -0
- data/vendor/local/include/glib-2.0/glib/gcharset.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +101 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +199 -0
- data/vendor/local/include/glib-2.0/glib/gdataset.h +150 -0
- data/vendor/local/include/glib-2.0/glib/gdate.h +309 -0
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +264 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +64 -0
- data/vendor/local/include/glib-2.0/glib/genviron.h +78 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +118 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +207 -0
- data/vendor/local/include/glib-2.0/glib/ggettext.h +63 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +185 -0
- data/vendor/local/include/glib-2.0/glib/ghmac.h +78 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +202 -0
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +36 -0
- data/vendor/local/include/glib-2.0/glib/gi18n.h +32 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +413 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +320 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +152 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +366 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +614 -0
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +58 -0
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +262 -0
- data/vendor/local/include/glib-2.0/glib/gmem.h +298 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +407 -0
- data/vendor/local/include/glib-2.0/glib/gnode.h +322 -0
- data/vendor/local/include/glib-2.0/glib/goption.h +377 -0
- data/vendor/local/include/glib-2.0/glib/gpattern.h +53 -0
- data/vendor/local/include/glib-2.0/glib/gpoll.h +127 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +50 -0
- data/vendor/local/include/glib-2.0/glib/gprintf.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gqsort.h +45 -0
- data/vendor/local/include/glib-2.0/glib/gquark.h +68 -0
- data/vendor/local/include/glib-2.0/glib/gqueue.h +190 -0
- data/vendor/local/include/glib-2.0/glib/grand.h +99 -0
- data/vendor/local/include/glib-2.0/glib/gregex.h +610 -0
- data/vendor/local/include/glib-2.0/glib/gscanner.h +303 -0
- data/vendor/local/include/glib-2.0/glib/gsequence.h +171 -0
- data/vendor/local/include/glib-2.0/glib/gshell.h +59 -0
- data/vendor/local/include/glib-2.0/glib/gslice.h +98 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +143 -0
- data/vendor/local/include/glib-2.0/glib/gspawn.h +307 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +171 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +306 -0
- data/vendor/local/include/glib-2.0/glib/gstring.h +189 -0
- data/vendor/local/include/glib-2.0/glib/gstringchunk.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +421 -0
- data/vendor/local/include/glib-2.0/glib/gthread.h +271 -0
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +92 -0
- data/vendor/local/include/glib-2.0/glib/gtimer.h +74 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +89 -0
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +101 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +104 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +482 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +860 -0
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +83 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +374 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +452 -0
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +380 -0
- data/vendor/local/include/glib-2.0/glib/gversion.h +55 -0
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +345 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +134 -0
- data/vendor/local/include/glib-2.0/gmodule.h +115 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +149 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +122 -0
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +297 -0
- data/vendor/local/include/glib-2.0/gobject/genums.h +273 -0
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +358 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +385 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +672 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +197 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +447 -0
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1164 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +604 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +38 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1990 -0
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +278 -0
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +194 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +104 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +254 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +300 -0
- data/vendor/local/include/gmp.h +2301 -0
- data/vendor/local/include/gnutls/abstract.h +454 -0
- data/vendor/local/include/gnutls/compat.h +401 -0
- data/vendor/local/include/gnutls/crypto.h +117 -0
- data/vendor/local/include/gnutls/dtls.h +92 -0
- data/vendor/local/include/gnutls/gnutls.h +2299 -0
- data/vendor/local/include/gnutls/ocsp.h +257 -0
- data/vendor/local/include/gnutls/openpgp.h +366 -0
- data/vendor/local/include/gnutls/openssl.h +329 -0
- data/vendor/local/include/gnutls/pkcs11.h +356 -0
- data/vendor/local/include/gnutls/pkcs12.h +135 -0
- data/vendor/local/include/gnutls/tpm.h +79 -0
- data/vendor/local/include/gnutls/x509.h +1192 -0
- data/vendor/local/include/gnutls/xssl.h +125 -0
- data/vendor/local/include/iconv.h +242 -0
- data/vendor/local/include/libcharset.h +46 -0
- data/vendor/local/include/libintl.h +464 -0
- data/vendor/local/include/localcharset.h +42 -0
- data/vendor/local/include/nettle/aes.h +85 -0
- data/vendor/local/include/nettle/arcfour.h +66 -0
- data/vendor/local/include/nettle/arctwo.h +82 -0
- data/vendor/local/include/nettle/asn1.h +144 -0
- data/vendor/local/include/nettle/base16.h +106 -0
- data/vendor/local/include/nettle/base64.h +153 -0
- data/vendor/local/include/nettle/bignum.h +121 -0
- data/vendor/local/include/nettle/blowfish.h +76 -0
- data/vendor/local/include/nettle/buffer.h +98 -0
- data/vendor/local/include/nettle/camellia.h +82 -0
- data/vendor/local/include/nettle/cast128.h +77 -0
- data/vendor/local/include/nettle/cbc.h +76 -0
- data/vendor/local/include/nettle/ctr.h +62 -0
- data/vendor/local/include/nettle/des-compat.h +154 -0
- data/vendor/local/include/nettle/des.h +111 -0
- data/vendor/local/include/nettle/dsa.h +293 -0
- data/vendor/local/include/nettle/ecc-curve.h +45 -0
- data/vendor/local/include/nettle/ecc.h +261 -0
- data/vendor/local/include/nettle/ecdsa.h +94 -0
- data/vendor/local/include/nettle/gcm.h +186 -0
- data/vendor/local/include/nettle/gosthash94.h +88 -0
- data/vendor/local/include/nettle/hmac.h +202 -0
- data/vendor/local/include/nettle/knuth-lfib.h +75 -0
- data/vendor/local/include/nettle/macros.h +238 -0
- data/vendor/local/include/nettle/md2.h +69 -0
- data/vendor/local/include/nettle/md4.h +73 -0
- data/vendor/local/include/nettle/md5-compat.h +50 -0
- data/vendor/local/include/nettle/md5.h +76 -0
- data/vendor/local/include/nettle/memxor.h +22 -0
- data/vendor/local/include/nettle/nettle-meta.h +232 -0
- data/vendor/local/include/nettle/nettle-stdint.h +286 -0
- data/vendor/local/include/nettle/nettle-types.h +92 -0
- data/vendor/local/include/nettle/pbkdf2.h +77 -0
- data/vendor/local/include/nettle/pgp.h +240 -0
- data/vendor/local/include/nettle/pkcs1.h +106 -0
- data/vendor/local/include/nettle/realloc.h +41 -0
- data/vendor/local/include/nettle/ripemd160.h +78 -0
- data/vendor/local/include/nettle/rsa-compat.h +131 -0
- data/vendor/local/include/nettle/rsa.h +419 -0
- data/vendor/local/include/nettle/salsa20.h +93 -0
- data/vendor/local/include/nettle/serpent.h +81 -0
- data/vendor/local/include/nettle/sexp.h +212 -0
- data/vendor/local/include/nettle/sha.h +34 -0
- data/vendor/local/include/nettle/sha1.h +78 -0
- data/vendor/local/include/nettle/sha2.h +156 -0
- data/vendor/local/include/nettle/sha3.h +176 -0
- data/vendor/local/include/nettle/twofish.h +78 -0
- data/vendor/local/include/nettle/umac.h +241 -0
- data/vendor/local/include/nettle/yarrow.h +137 -0
- data/vendor/local/lib/charset.alias +4 -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 +41 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +199 -0
- data/vendor/local/lib/gthread-2.0.def +3 -0
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libasprintf.la +41 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libcharset.la +41 -0
- data/vendor/local/lib/libffi-3.2.1/include/ffi.h +487 -0
- data/vendor/local/lib/libffi-3.2.1/include/ffitarget.h +150 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libffi.la +41 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +41 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +41 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +41 -0
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +41 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.la +41 -0
- data/vendor/local/lib/libgnutls-xssl.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.la +41 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +41 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +41 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +41 -0
- 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/libiconv.la +41 -0
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +41 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +18 -0
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +16 -0
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gnutls.pc +24 -0
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/hogweed.pc +18 -0
- data/vendor/local/lib/pkgconfig/libffi.pc +11 -0
- data/vendor/local/lib/pkgconfig/nettle.pc +11 -0
- data/vendor/local/lib/pkgconfig/patched +0 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +435 -0
- data/vendor/local/share/aclocal/gsettings.m4 +83 -0
- data/vendor/local/share/bash-completion/completions/gapplication +55 -0
- data/vendor/local/share/bash-completion/completions/gdbus +33 -0
- data/vendor/local/share/bash-completion/completions/gresource +58 -0
- data/vendor/local/share/bash-completion/completions/gsettings +84 -0
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +158 -0
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +154 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
- data/vendor/local/share/doc/gettext/envsubst.1.html +139 -0
- data/vendor/local/share/doc/gettext/gettext.1.html +188 -0
- data/vendor/local/share/doc/gettext/gettext.3.html +182 -0
- data/vendor/local/share/doc/gettext/javadoc2/allclasses-frame.html +25 -0
- data/vendor/local/share/doc/gettext/javadoc2/deprecated-list.html +87 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/GettextResource.html +321 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-frame.html +26 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-summary.html +103 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-tree.html +99 -0
- data/vendor/local/share/doc/gettext/javadoc2/help-doc.html +136 -0
- data/vendor/local/share/doc/gettext/javadoc2/index-all.html +111 -0
- data/vendor/local/share/doc/gettext/javadoc2/index.html +22 -0
- data/vendor/local/share/doc/gettext/javadoc2/overview-tree.html +96 -0
- data/vendor/local/share/doc/gettext/javadoc2/package-list +1 -0
- data/vendor/local/share/doc/gettext/javadoc2/packages.html +26 -0
- data/vendor/local/share/doc/gettext/javadoc2/serialized-form.html +87 -0
- data/vendor/local/share/doc/gettext/javadoc2/stylesheet.css +29 -0
- data/vendor/local/share/doc/gettext/ngettext.1.html +194 -0
- data/vendor/local/share/doc/gettext/ngettext.3.html +138 -0
- data/vendor/local/share/doc/gettext/textdomain.3.html +140 -0
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
- data/vendor/local/share/doc/libiconv/iconv.1.html +206 -0
- data/vendor/local/share/doc/libiconv/iconv.3.html +207 -0
- data/vendor/local/share/doc/libiconv/iconv_close.3.html +90 -0
- data/vendor/local/share/doc/libiconv/iconv_open.3.html +318 -0
- data/vendor/local/share/doc/libiconv/iconv_open_into.3.html +120 -0
- data/vendor/local/share/doc/libiconv/iconvctl.3.html +189 -0
- data/vendor/local/share/gdb/auto-load/libglib-2.0.so.0.4200.1-gdb.py +10 -0
- data/vendor/local/share/gdb/auto-load/libgobject-2.0.so.0.4200.1-gdb.py +10 -0
- data/vendor/local/share/gettext/ABOUT-NLS +1282 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.py +27 -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 +3412 -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.py +329 -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.py +201 -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 +25 -0
- 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.py +424 -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.py +288 -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.py +102 -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 +257 -0
- data/vendor/local/share/glib-2.0/gdb/gobject.py +295 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +268 -0
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +73 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +1537 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +679 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +572 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +561 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +832 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1242 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +507 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +2160 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +151 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +2448 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +981 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +769 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +511 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +705 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +393 -0
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +861 -0
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +317 -0
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +467 -0
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +564 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +161 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +390 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +4687 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +329 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +882 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +152 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +2484 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +903 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +404 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +592 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1281 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +505 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +491 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2170 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +635 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +1595 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +699 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1873 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +354 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +325 -0
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +9688 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +145 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +713 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +352 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +4261 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +293 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +475 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +345 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +249 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +251 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +592 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +772 -0
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +479 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +1044 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +419 -0
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +455 -0
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +1164 -0
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +354 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +308 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +577 -0
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +1877 -0
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1205 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1929 -0
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +1197 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +451 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +499 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +421 -0
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1561 -0
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +672 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +411 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +411 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +455 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +580 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +395 -0
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +290 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +1171 -0
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +441 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +3485 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +755 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +540 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +319 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +1634 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +129 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +433 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +3696 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +374 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +2079 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +623 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +631 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +330 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +868 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +329 -0
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +1601 -0
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +2562 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +209 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +211 -0
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +510 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +464 -0
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +241 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +432 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +590 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +550 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1294 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +1091 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +208 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +735 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +662 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +193 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +553 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +268 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +455 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +349 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +314 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +314 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +612 -0
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +358 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1391 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +926 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +330 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +220 -0
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +76 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +148 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +157 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1083 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +210 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1640 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +715 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +686 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +725 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +268 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +259 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +161 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +369 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +198 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +9512 -0
- data/vendor/local/share/gtk-doc/html/gio/application.html +80 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +232 -0
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +114 -0
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +45 -0
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +56 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s06.html +278 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s07.html +160 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +116 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +142 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +931 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +131 -0
- data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +288 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +1098 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +161 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +51 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +300 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +390 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1572 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +1131 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +613 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +192 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GBytesIcon.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +595 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +214 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +214 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1106 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +650 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +539 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +365 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +443 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +183 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GNotification.html +670 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GPropertyAction.html +177 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1141 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +1186 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSubprocessLauncher.html +931 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +258 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +259 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +658 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +321 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +1398 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +575 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +94 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +475 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +188 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +209 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +111 -0
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +111 -0
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +178 -0
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +60 -0
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +646 -0
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +4046 -0
- data/vendor/local/share/gtk-doc/html/gio/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/menu-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/menu-model.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +82 -0
- data/vendor/local/share/gtk-doc/html/gio/networking.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +40 -0
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +572 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/resources.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +189 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +42 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/testing.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/tls.html +62 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +56 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_breadth-first_traversal.svg +134 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_inorder.svg +753 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_postorder.svg +750 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_preorder.svg +750 -0
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +167 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +307 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +562 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +357 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +108 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +119 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +86 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +189 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +423 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +122 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +252 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +343 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +116 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +116 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +111 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +399 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +158 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +35 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +416 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +157 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +596 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +9013 -0
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +1130 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +1242 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +944 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +614 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +958 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +440 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +1155 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2442 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1513 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +2152 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +540 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1299 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2164 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +644 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +549 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +662 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2808 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +2101 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1860 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1941 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +664 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1226 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +2516 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2430 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +664 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +6967 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1842 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +373 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +2260 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1817 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +287 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +814 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2662 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +3457 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +1007 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1878 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1375 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +625 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +947 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1180 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +2274 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1995 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +236 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +3551 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1059 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +378 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +775 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +2054 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +302 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1491 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1560 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +1165 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +593 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +374 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +4052 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1797 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +3149 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +5082 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +774 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3183 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +319 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +254 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +309 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +618 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +508 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +4995 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +483 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +598 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +585 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +153 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +145 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +165 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +100 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +57 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +96 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +76 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2217 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +124 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +295 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +126 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2399 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +72 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +81 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +187 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1338 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +667 -0
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +358 -0
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +2782 -0
- data/vendor/local/share/gtk-doc/html/glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
- data/vendor/local/share/gtk-doc/html/glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +981 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +814 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +558 -0
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +68 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +196 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +65 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +58 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +51 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +68 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +173 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +39 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +39 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +132 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2999 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +290 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +380 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +337 -0
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +677 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +3510 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +1110 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1937 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +1101 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +3395 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +7262 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +4119 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +6080 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +644 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +309 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +392 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +128 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +838 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +141 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +288 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +378 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +98 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +88 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +172 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +117 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +250 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +270 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +137 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +133 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +123 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +153 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +149 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +869 -0
- data/vendor/local/share/gtk-doc/html/gobject/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +67 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +85 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +378 -0
- data/vendor/local/share/gtk-doc/html/gobject/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +48 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/info/autosprintf.info +133 -0
- data/vendor/local/share/info/dir +43 -0
- data/vendor/local/share/info/gmp.info +181 -0
- data/vendor/local/share/info/gmp.info-1 +7073 -0
- data/vendor/local/share/info/gmp.info-2 +3865 -0
- data/vendor/local/share/info/gnutls-client-server-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-guile.info +1589 -0
- data/vendor/local/share/info/gnutls-handshake-sequence.png +0 -0
- data/vendor/local/share/info/gnutls-handshake-state.png +0 -0
- data/vendor/local/share/info/gnutls-internals.png +0 -0
- data/vendor/local/share/info/gnutls-layers.png +0 -0
- data/vendor/local/share/info/gnutls-logo.png +0 -0
- data/vendor/local/share/info/gnutls-modauth.png +0 -0
- data/vendor/local/share/info/gnutls-pgp.png +0 -0
- data/vendor/local/share/info/gnutls-x509.png +0 -0
- data/vendor/local/share/info/gnutls.info +1371 -0
- data/vendor/local/share/info/gnutls.info-1 +7371 -0
- data/vendor/local/share/info/gnutls.info-2 +7842 -0
- data/vendor/local/share/info/gnutls.info-3 +11715 -0
- data/vendor/local/share/info/gnutls.info-4 +6737 -0
- data/vendor/local/share/info/gnutls.info-5 +2308 -0
- data/vendor/local/share/info/libffi.info +765 -0
- data/vendor/local/share/info/pkcs11-vision.png +0 -0
- data/vendor/local/share/license/gettext/AUTHORS +2 -0
- data/vendor/local/share/license/gettext/COPYING +13 -0
- data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
- data/vendor/local/share/license/glib-networking/COPYING +481 -0
- data/vendor/local/share/license/glib/AUTHORS +40 -0
- data/vendor/local/share/license/glib/COPYING +482 -0
- data/vendor/local/share/license/gmp/AUTHORS +100 -0
- data/vendor/local/share/license/gmp/COPYING +674 -0
- data/vendor/local/share/license/gnutls/AUTHORS +92 -0
- data/vendor/local/share/license/gnutls/COPYING +674 -0
- data/vendor/local/share/license/libiconv/AUTHORS +1 -0
- data/vendor/local/share/license/libiconv/COPYING +674 -0
- data/vendor/local/share/license/libiconv/COPYING.LIB +482 -0
- data/vendor/local/share/license/nettle/AUTHORS +1 -0
- data/vendor/local/share/license/nettle/COPYING.LIB +510 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/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/glib-networking.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/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.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/glib-networking.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/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.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/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.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/glib-networking.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/et/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fa/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/glib-networking.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/glib-networking.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/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/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/glib-networking.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/glib-networking.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/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/locale.alias +75 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.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/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pa/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/glib-networking.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/ps/LC_MESSAGES/glib20.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/glib-networking.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/ro/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/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/glib-networking.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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.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/glib-networking.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/ta/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.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/glib-networking.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/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.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/glib-networking.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_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.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/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/certtool.1 +741 -0
- data/vendor/local/share/man/man1/envsubst.1 +54 -0
- data/vendor/local/share/man/man1/gettext.1 +69 -0
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +165 -0
- data/vendor/local/share/man/man1/gnutls-cli.1 +420 -0
- data/vendor/local/share/man/man1/gnutls-serv.1 +453 -0
- data/vendor/local/share/man/man1/iconv.1 +108 -0
- data/vendor/local/share/man/man1/ngettext.1 +68 -0
- data/vendor/local/share/man/man1/ocsptool.1 +335 -0
- data/vendor/local/share/man/man1/p11tool.1 +320 -0
- data/vendor/local/share/man/man1/psktool.1 +129 -0
- data/vendor/local/share/man/man1/srptool.1 +164 -0
- data/vendor/local/share/man/man1/tpmtool.1 +223 -0
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
- data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
- data/vendor/local/share/man/man3/dcgettext.3 +1 -0
- data/vendor/local/share/man/man3/dcngettext.3 +1 -0
- data/vendor/local/share/man/man3/dgettext.3 +1 -0
- data/vendor/local/share/man/man3/dngettext.3 +1 -0
- data/vendor/local/share/man/man3/ffi.3 +41 -0
- data/vendor/local/share/man/man3/ffi_call.3 +103 -0
- data/vendor/local/share/man/man3/ffi_prep_cif.3 +68 -0
- data/vendor/local/share/man/man3/ffi_prep_cif_var.3 +73 -0
- data/vendor/local/share/man/man3/gettext.3 +99 -0
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_alpn_get_selected_protocol.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_alpn_set_protocols.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_bye.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_crt_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_trust_list.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file2.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_check_version.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_iv_size.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_tag_size.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_cipher_init.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_get_default_cache_expiration.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_digest_get_id.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_digest_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_digest_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_est_record_overhead_size.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_global_init.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_handshake.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_handshake_description_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_hook_function.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_hash.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hash_fast.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hash_init.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_hash_output.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_hmac.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hmac_init.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_hmac_output.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hmac_set_nonce.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_init.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_key_generate.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_load_file.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_nonce_size.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_perror.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pk_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_raw_issuer.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export3.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_random.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +84 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_prf.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_cipher_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +102 -0
- data/vendor/local/share/man/man3/gnutls_priority_kx_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_mac_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_privkey_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_privkey_status.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_random_art.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_range_split.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_record_check_corked.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_cork.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_record_overhead_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_record_send.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_record_send_range.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_record_uncork.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_rnd.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_get_random.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_set_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_client.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_sign_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_store_commitment.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_strerror.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_strerror_name.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_tdb_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +100 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +53 -0
- data/vendor/local/share/man/man3/iconv.3 +92 -0
- data/vendor/local/share/man/man3/iconv_close.3 +31 -0
- data/vendor/local/share/man/man3/iconv_open.3 +205 -0
- data/vendor/local/share/man/man3/iconv_open_into.3 +47 -0
- data/vendor/local/share/man/man3/iconvctl.3 +67 -0
- data/vendor/local/share/man/man3/ngettext.3 +60 -0
- data/vendor/local/share/man/man3/textdomain.3 +57 -0
- data/vendor/local/share/man/man3/xssl_client_init.3 +56 -0
- data/vendor/local/share/man/man3/xssl_cred_deinit.3 +37 -0
- data/vendor/local/share/man/man3/xssl_cred_init.3 +48 -0
- data/vendor/local/share/man/man3/xssl_deinit.3 +36 -0
- data/vendor/local/share/man/man3/xssl_flush.3 +39 -0
- data/vendor/local/share/man/man3/xssl_get_session.3 +35 -0
- data/vendor/local/share/man/man3/xssl_getdelim.3 +49 -0
- data/vendor/local/share/man/man3/xssl_printf.3 +45 -0
- data/vendor/local/share/man/man3/xssl_read.3 +43 -0
- data/vendor/local/share/man/man3/xssl_server_init.3 +50 -0
- data/vendor/local/share/man/man3/xssl_sinit.3 +44 -0
- data/vendor/local/share/man/man3/xssl_write.3 +47 -0
- metadata +2311 -0
@@ -0,0 +1,3696 @@
|
|
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>GIO Reference Manual: GSocket</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
+
<link rel="up" href="networking.html" title="Low-level network support">
|
9
|
+
<link rel="prev" href="networking.html" title="Low-level network support">
|
10
|
+
<link rel="next" href="GInetAddress.html" title="GInetAddress">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (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="#GSocket.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GSocket.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#GSocket.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
21
|
+
<a href="#GSocket.properties" class="shortcut">Properties</a></span>
|
22
|
+
</td>
|
23
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
+
<td><a accesskey="u" href="networking.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="networking.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="GInetAddress.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
|
+
</tr></table>
|
28
|
+
<div class="refentry">
|
29
|
+
<a name="GSocket"></a><div class="titlepage"></div>
|
30
|
+
<div class="refnamediv"><table width="100%"><tr>
|
31
|
+
<td valign="top">
|
32
|
+
<h2><span class="refentrytitle"><a name="GSocket.top_of_page"></a>GSocket</span></h2>
|
33
|
+
<p>GSocket — Low-level socket object</p>
|
34
|
+
</td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
|
+
</tr></table></div>
|
37
|
+
<div class="refsect1">
|
38
|
+
<a name="GSocket.functions"></a><h2>Functions</h2>
|
39
|
+
<div class="informaltable"><table width="100%" border="0">
|
40
|
+
<colgroup>
|
41
|
+
<col width="150px" class="functions_return">
|
42
|
+
<col class="functions_name">
|
43
|
+
</colgroup>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td class="function_type">
|
47
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<span class="c_punctuation">(</span><a class="link" href="GSocket.html#GSocketSourceFunc" title="GSocketSourceFunc ()">*GSocketSourceFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td class="function_type">
|
55
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<a class="link" href="GSocket.html#g-socket-new" title="g_socket_new ()">g_socket_new</a> <span class="c_punctuation">()</span>
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td class="function_type">
|
63
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="GSocket.html#g-socket-new-from-fd" title="g_socket_new_from_fd ()">g_socket_new_from_fd</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr>
|
70
|
+
<td class="function_type">
|
71
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
72
|
+
</td>
|
73
|
+
<td class="function_name">
|
74
|
+
<a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()">g_socket_bind</a> <span class="c_punctuation">()</span>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td class="function_type">
|
79
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
80
|
+
</td>
|
81
|
+
<td class="function_name">
|
82
|
+
<a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()">g_socket_listen</a> <span class="c_punctuation">()</span>
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr>
|
86
|
+
<td class="function_type">
|
87
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
88
|
+
</td>
|
89
|
+
<td class="function_name">
|
90
|
+
<a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()">g_socket_accept</a> <span class="c_punctuation">()</span>
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<td class="function_type">
|
95
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
96
|
+
</td>
|
97
|
+
<td class="function_name">
|
98
|
+
<a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()">g_socket_connect</a> <span class="c_punctuation">()</span>
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
<td class="function_type">
|
103
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
104
|
+
</td>
|
105
|
+
<td class="function_name">
|
106
|
+
<a class="link" href="GSocket.html#g-socket-check-connect-result" title="g_socket_check_connect_result ()">g_socket_check_connect_result</a> <span class="c_punctuation">()</span>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td class="function_type">
|
111
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
112
|
+
</td>
|
113
|
+
<td class="function_name">
|
114
|
+
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()">g_socket_receive</a> <span class="c_punctuation">()</span>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<td class="function_type">
|
119
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
120
|
+
</td>
|
121
|
+
<td class="function_name">
|
122
|
+
<a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()">g_socket_receive_from</a> <span class="c_punctuation">()</span>
|
123
|
+
</td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td class="function_type">
|
127
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
128
|
+
</td>
|
129
|
+
<td class="function_name">
|
130
|
+
<a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()">g_socket_receive_message</a> <span class="c_punctuation">()</span>
|
131
|
+
</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td class="function_type">
|
135
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
136
|
+
</td>
|
137
|
+
<td class="function_name">
|
138
|
+
<a class="link" href="GSocket.html#g-socket-receive-with-blocking" title="g_socket_receive_with_blocking ()">g_socket_receive_with_blocking</a> <span class="c_punctuation">()</span>
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td class="function_type">
|
143
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
144
|
+
</td>
|
145
|
+
<td class="function_name">
|
146
|
+
<a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()">g_socket_send</a> <span class="c_punctuation">()</span>
|
147
|
+
</td>
|
148
|
+
</tr>
|
149
|
+
<tr>
|
150
|
+
<td class="function_type">
|
151
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
152
|
+
</td>
|
153
|
+
<td class="function_name">
|
154
|
+
<a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()">g_socket_send_to</a> <span class="c_punctuation">()</span>
|
155
|
+
</td>
|
156
|
+
</tr>
|
157
|
+
<tr>
|
158
|
+
<td class="function_type">
|
159
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
160
|
+
</td>
|
161
|
+
<td class="function_name">
|
162
|
+
<a class="link" href="GSocket.html#g-socket-send-message" title="g_socket_send_message ()">g_socket_send_message</a> <span class="c_punctuation">()</span>
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td class="function_type">
|
167
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
168
|
+
</td>
|
169
|
+
<td class="function_name">
|
170
|
+
<a class="link" href="GSocket.html#g-socket-send-with-blocking" title="g_socket_send_with_blocking ()">g_socket_send_with_blocking</a> <span class="c_punctuation">()</span>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
<tr>
|
174
|
+
<td class="function_type">
|
175
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
176
|
+
</td>
|
177
|
+
<td class="function_name">
|
178
|
+
<a class="link" href="GSocket.html#g-socket-close" title="g_socket_close ()">g_socket_close</a> <span class="c_punctuation">()</span>
|
179
|
+
</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td class="function_type">
|
183
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
184
|
+
</td>
|
185
|
+
<td class="function_name">
|
186
|
+
<a class="link" href="GSocket.html#g-socket-is-closed" title="g_socket_is_closed ()">g_socket_is_closed</a> <span class="c_punctuation">()</span>
|
187
|
+
</td>
|
188
|
+
</tr>
|
189
|
+
<tr>
|
190
|
+
<td class="function_type">
|
191
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
192
|
+
</td>
|
193
|
+
<td class="function_name">
|
194
|
+
<a class="link" href="GSocket.html#g-socket-shutdown" title="g_socket_shutdown ()">g_socket_shutdown</a> <span class="c_punctuation">()</span>
|
195
|
+
</td>
|
196
|
+
</tr>
|
197
|
+
<tr>
|
198
|
+
<td class="function_type">
|
199
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
200
|
+
</td>
|
201
|
+
<td class="function_name">
|
202
|
+
<a class="link" href="GSocket.html#g-socket-is-connected" title="g_socket_is_connected ()">g_socket_is_connected</a> <span class="c_punctuation">()</span>
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td class="function_type">
|
207
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> *
|
208
|
+
</td>
|
209
|
+
<td class="function_name">
|
210
|
+
<a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()">g_socket_create_source</a> <span class="c_punctuation">()</span>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
<tr>
|
214
|
+
<td class="function_type">
|
215
|
+
<a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="returnvalue">GIOCondition</span></a>
|
216
|
+
</td>
|
217
|
+
<td class="function_name">
|
218
|
+
<a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()">g_socket_condition_check</a> <span class="c_punctuation">()</span>
|
219
|
+
</td>
|
220
|
+
</tr>
|
221
|
+
<tr>
|
222
|
+
<td class="function_type">
|
223
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
224
|
+
</td>
|
225
|
+
<td class="function_name">
|
226
|
+
<a class="link" href="GSocket.html#g-socket-condition-wait" title="g_socket_condition_wait ()">g_socket_condition_wait</a> <span class="c_punctuation">()</span>
|
227
|
+
</td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td class="function_type">
|
231
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
232
|
+
</td>
|
233
|
+
<td class="function_name">
|
234
|
+
<a class="link" href="GSocket.html#g-socket-condition-timed-wait" title="g_socket_condition_timed_wait ()">g_socket_condition_timed_wait</a> <span class="c_punctuation">()</span>
|
235
|
+
</td>
|
236
|
+
</tr>
|
237
|
+
<tr>
|
238
|
+
<td class="function_type">
|
239
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
240
|
+
</td>
|
241
|
+
<td class="function_name">
|
242
|
+
<a class="link" href="GSocket.html#g-socket-get-available-bytes" title="g_socket_get_available_bytes ()">g_socket_get_available_bytes</a> <span class="c_punctuation">()</span>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
<tr>
|
246
|
+
<td class="function_type">
|
247
|
+
<span class="returnvalue">void</span>
|
248
|
+
</td>
|
249
|
+
<td class="function_name">
|
250
|
+
<a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()">g_socket_set_listen_backlog</a> <span class="c_punctuation">()</span>
|
251
|
+
</td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="function_type">
|
255
|
+
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
256
|
+
</td>
|
257
|
+
<td class="function_name">
|
258
|
+
<a class="link" href="GSocket.html#g-socket-get-listen-backlog" title="g_socket_get_listen_backlog ()">g_socket_get_listen_backlog</a> <span class="c_punctuation">()</span>
|
259
|
+
</td>
|
260
|
+
</tr>
|
261
|
+
<tr>
|
262
|
+
<td class="function_type">
|
263
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
264
|
+
</td>
|
265
|
+
<td class="function_name">
|
266
|
+
<a class="link" href="GSocket.html#g-socket-get-blocking" title="g_socket_get_blocking ()">g_socket_get_blocking</a> <span class="c_punctuation">()</span>
|
267
|
+
</td>
|
268
|
+
</tr>
|
269
|
+
<tr>
|
270
|
+
<td class="function_type">
|
271
|
+
<span class="returnvalue">void</span>
|
272
|
+
</td>
|
273
|
+
<td class="function_name">
|
274
|
+
<a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_set_blocking ()">g_socket_set_blocking</a> <span class="c_punctuation">()</span>
|
275
|
+
</td>
|
276
|
+
</tr>
|
277
|
+
<tr>
|
278
|
+
<td class="function_type">
|
279
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
280
|
+
</td>
|
281
|
+
<td class="function_name">
|
282
|
+
<a class="link" href="GSocket.html#g-socket-get-keepalive" title="g_socket_get_keepalive ()">g_socket_get_keepalive</a> <span class="c_punctuation">()</span>
|
283
|
+
</td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td class="function_type">
|
287
|
+
<span class="returnvalue">void</span>
|
288
|
+
</td>
|
289
|
+
<td class="function_name">
|
290
|
+
<a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_set_keepalive ()">g_socket_set_keepalive</a> <span class="c_punctuation">()</span>
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
<tr>
|
294
|
+
<td class="function_type">
|
295
|
+
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
296
|
+
</td>
|
297
|
+
<td class="function_name">
|
298
|
+
<a class="link" href="GSocket.html#g-socket-get-timeout" title="g_socket_get_timeout ()">g_socket_get_timeout</a> <span class="c_punctuation">()</span>
|
299
|
+
</td>
|
300
|
+
</tr>
|
301
|
+
<tr>
|
302
|
+
<td class="function_type">
|
303
|
+
<span class="returnvalue">void</span>
|
304
|
+
</td>
|
305
|
+
<td class="function_name">
|
306
|
+
<a class="link" href="GSocket.html#g-socket-set-timeout" title="g_socket_set_timeout ()">g_socket_set_timeout</a> <span class="c_punctuation">()</span>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td class="function_type">
|
311
|
+
<span class="returnvalue">void</span>
|
312
|
+
</td>
|
313
|
+
<td class="function_name">
|
314
|
+
<a class="link" href="GSocket.html#g-socket-set-ttl" title="g_socket_set_ttl ()">g_socket_set_ttl</a> <span class="c_punctuation">()</span>
|
315
|
+
</td>
|
316
|
+
</tr>
|
317
|
+
<tr>
|
318
|
+
<td class="function_type">
|
319
|
+
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
320
|
+
</td>
|
321
|
+
<td class="function_name">
|
322
|
+
<a class="link" href="GSocket.html#g-socket-get-ttl" title="g_socket_get_ttl ()">g_socket_get_ttl</a> <span class="c_punctuation">()</span>
|
323
|
+
</td>
|
324
|
+
</tr>
|
325
|
+
<tr>
|
326
|
+
<td class="function_type">
|
327
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
328
|
+
</td>
|
329
|
+
<td class="function_name">
|
330
|
+
<a class="link" href="GSocket.html#g-socket-get-broadcast" title="g_socket_get_broadcast ()">g_socket_get_broadcast</a> <span class="c_punctuation">()</span>
|
331
|
+
</td>
|
332
|
+
</tr>
|
333
|
+
<tr>
|
334
|
+
<td class="function_type">
|
335
|
+
<span class="returnvalue">void</span>
|
336
|
+
</td>
|
337
|
+
<td class="function_name">
|
338
|
+
<a class="link" href="GSocket.html#g-socket-set-broadcast" title="g_socket_set_broadcast ()">g_socket_set_broadcast</a> <span class="c_punctuation">()</span>
|
339
|
+
</td>
|
340
|
+
</tr>
|
341
|
+
<tr>
|
342
|
+
<td class="function_type">
|
343
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
344
|
+
</td>
|
345
|
+
<td class="function_name">
|
346
|
+
<a class="link" href="GSocket.html#g-socket-get-option" title="g_socket_get_option ()">g_socket_get_option</a> <span class="c_punctuation">()</span>
|
347
|
+
</td>
|
348
|
+
</tr>
|
349
|
+
<tr>
|
350
|
+
<td class="function_type">
|
351
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
352
|
+
</td>
|
353
|
+
<td class="function_name">
|
354
|
+
<a class="link" href="GSocket.html#g-socket-set-option" title="g_socket_set_option ()">g_socket_set_option</a> <span class="c_punctuation">()</span>
|
355
|
+
</td>
|
356
|
+
</tr>
|
357
|
+
<tr>
|
358
|
+
<td class="function_type">
|
359
|
+
<a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="returnvalue">GSocketFamily</span></a>
|
360
|
+
</td>
|
361
|
+
<td class="function_name">
|
362
|
+
<a class="link" href="GSocket.html#g-socket-get-family" title="g_socket_get_family ()">g_socket_get_family</a> <span class="c_punctuation">()</span>
|
363
|
+
</td>
|
364
|
+
</tr>
|
365
|
+
<tr>
|
366
|
+
<td class="function_type">
|
367
|
+
<span class="returnvalue">int</span>
|
368
|
+
</td>
|
369
|
+
<td class="function_name">
|
370
|
+
<a class="link" href="GSocket.html#g-socket-get-fd" title="g_socket_get_fd ()">g_socket_get_fd</a> <span class="c_punctuation">()</span>
|
371
|
+
</td>
|
372
|
+
</tr>
|
373
|
+
<tr>
|
374
|
+
<td class="function_type">
|
375
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
376
|
+
</td>
|
377
|
+
<td class="function_name">
|
378
|
+
<a class="link" href="GSocket.html#g-socket-get-local-address" title="g_socket_get_local_address ()">g_socket_get_local_address</a> <span class="c_punctuation">()</span>
|
379
|
+
</td>
|
380
|
+
</tr>
|
381
|
+
<tr>
|
382
|
+
<td class="function_type">
|
383
|
+
<a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a>
|
384
|
+
</td>
|
385
|
+
<td class="function_name">
|
386
|
+
<a class="link" href="GSocket.html#g-socket-get-protocol" title="g_socket_get_protocol ()">g_socket_get_protocol</a> <span class="c_punctuation">()</span>
|
387
|
+
</td>
|
388
|
+
</tr>
|
389
|
+
<tr>
|
390
|
+
<td class="function_type">
|
391
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
392
|
+
</td>
|
393
|
+
<td class="function_name">
|
394
|
+
<a class="link" href="GSocket.html#g-socket-get-remote-address" title="g_socket_get_remote_address ()">g_socket_get_remote_address</a> <span class="c_punctuation">()</span>
|
395
|
+
</td>
|
396
|
+
</tr>
|
397
|
+
<tr>
|
398
|
+
<td class="function_type">
|
399
|
+
<a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="returnvalue">GSocketType</span></a>
|
400
|
+
</td>
|
401
|
+
<td class="function_name">
|
402
|
+
<a class="link" href="GSocket.html#g-socket-get-socket-type" title="g_socket_get_socket_type ()">g_socket_get_socket_type</a> <span class="c_punctuation">()</span>
|
403
|
+
</td>
|
404
|
+
</tr>
|
405
|
+
<tr>
|
406
|
+
<td class="function_type">
|
407
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
408
|
+
</td>
|
409
|
+
<td class="function_name">
|
410
|
+
<a class="link" href="GSocket.html#g-socket-speaks-ipv4" title="g_socket_speaks_ipv4 ()">g_socket_speaks_ipv4</a> <span class="c_punctuation">()</span>
|
411
|
+
</td>
|
412
|
+
</tr>
|
413
|
+
<tr>
|
414
|
+
<td class="function_type">
|
415
|
+
<a class="link" href="GCredentials.html" title="GCredentials"><span class="returnvalue">GCredentials</span></a> *
|
416
|
+
</td>
|
417
|
+
<td class="function_name">
|
418
|
+
<a class="link" href="GSocket.html#g-socket-get-credentials" title="g_socket_get_credentials ()">g_socket_get_credentials</a> <span class="c_punctuation">()</span>
|
419
|
+
</td>
|
420
|
+
</tr>
|
421
|
+
<tr>
|
422
|
+
<td class="function_type">
|
423
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
424
|
+
</td>
|
425
|
+
<td class="function_name">
|
426
|
+
<a class="link" href="GSocket.html#g-socket-join-multicast-group" title="g_socket_join_multicast_group ()">g_socket_join_multicast_group</a> <span class="c_punctuation">()</span>
|
427
|
+
</td>
|
428
|
+
</tr>
|
429
|
+
<tr>
|
430
|
+
<td class="function_type">
|
431
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
432
|
+
</td>
|
433
|
+
<td class="function_name">
|
434
|
+
<a class="link" href="GSocket.html#g-socket-leave-multicast-group" title="g_socket_leave_multicast_group ()">g_socket_leave_multicast_group</a> <span class="c_punctuation">()</span>
|
435
|
+
</td>
|
436
|
+
</tr>
|
437
|
+
<tr>
|
438
|
+
<td class="function_type">
|
439
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
440
|
+
</td>
|
441
|
+
<td class="function_name">
|
442
|
+
<a class="link" href="GSocket.html#g-socket-get-multicast-loopback" title="g_socket_get_multicast_loopback ()">g_socket_get_multicast_loopback</a> <span class="c_punctuation">()</span>
|
443
|
+
</td>
|
444
|
+
</tr>
|
445
|
+
<tr>
|
446
|
+
<td class="function_type">
|
447
|
+
<span class="returnvalue">void</span>
|
448
|
+
</td>
|
449
|
+
<td class="function_name">
|
450
|
+
<a class="link" href="GSocket.html#g-socket-set-multicast-loopback" title="g_socket_set_multicast_loopback ()">g_socket_set_multicast_loopback</a> <span class="c_punctuation">()</span>
|
451
|
+
</td>
|
452
|
+
</tr>
|
453
|
+
<tr>
|
454
|
+
<td class="function_type">
|
455
|
+
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
456
|
+
</td>
|
457
|
+
<td class="function_name">
|
458
|
+
<a class="link" href="GSocket.html#g-socket-get-multicast-ttl" title="g_socket_get_multicast_ttl ()">g_socket_get_multicast_ttl</a> <span class="c_punctuation">()</span>
|
459
|
+
</td>
|
460
|
+
</tr>
|
461
|
+
<tr>
|
462
|
+
<td class="function_type">
|
463
|
+
<span class="returnvalue">void</span>
|
464
|
+
</td>
|
465
|
+
<td class="function_name">
|
466
|
+
<a class="link" href="GSocket.html#g-socket-set-multicast-ttl" title="g_socket_set_multicast_ttl ()">g_socket_set_multicast_ttl</a> <span class="c_punctuation">()</span>
|
467
|
+
</td>
|
468
|
+
</tr>
|
469
|
+
</tbody>
|
470
|
+
</table></div>
|
471
|
+
</div>
|
472
|
+
<div class="refsect1">
|
473
|
+
<a name="GSocket.properties"></a><h2>Properties</h2>
|
474
|
+
<div class="informaltable"><table border="0">
|
475
|
+
<colgroup>
|
476
|
+
<col width="150px" class="properties_type">
|
477
|
+
<col width="300px" class="properties_name">
|
478
|
+
<col width="200px" class="properties_flags">
|
479
|
+
</colgroup>
|
480
|
+
<tbody>
|
481
|
+
<tr>
|
482
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
483
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--blocking" title="The “blocking” property">blocking</a></td>
|
484
|
+
<td class="property_flags">Read / Write</td>
|
485
|
+
</tr>
|
486
|
+
<tr>
|
487
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
488
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--broadcast" title="The “broadcast” property">broadcast</a></td>
|
489
|
+
<td class="property_flags">Read / Write</td>
|
490
|
+
</tr>
|
491
|
+
<tr>
|
492
|
+
<td class="property_type"><a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a></td>
|
493
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--family" title="The “family” property">family</a></td>
|
494
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
498
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--fd" title="The “fd” property">fd</a></td>
|
499
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
500
|
+
</tr>
|
501
|
+
<tr>
|
502
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
503
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--keepalive" title="The “keepalive” property">keepalive</a></td>
|
504
|
+
<td class="property_flags">Read / Write</td>
|
505
|
+
</tr>
|
506
|
+
<tr>
|
507
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
508
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--listen-backlog" title="The “listen-backlog” property">listen-backlog</a></td>
|
509
|
+
<td class="property_flags">Read / Write</td>
|
510
|
+
</tr>
|
511
|
+
<tr>
|
512
|
+
<td class="property_type">
|
513
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *</td>
|
514
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--local-address" title="The “local-address” property">local-address</a></td>
|
515
|
+
<td class="property_flags">Read</td>
|
516
|
+
</tr>
|
517
|
+
<tr>
|
518
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
519
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--multicast-loopback" title="The “multicast-loopback” property">multicast-loopback</a></td>
|
520
|
+
<td class="property_flags">Read / Write</td>
|
521
|
+
</tr>
|
522
|
+
<tr>
|
523
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
524
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--multicast-ttl" title="The “multicast-ttl” property">multicast-ttl</a></td>
|
525
|
+
<td class="property_flags">Read / Write</td>
|
526
|
+
</tr>
|
527
|
+
<tr>
|
528
|
+
<td class="property_type"><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a></td>
|
529
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--protocol" title="The “protocol” property">protocol</a></td>
|
530
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
531
|
+
</tr>
|
532
|
+
<tr>
|
533
|
+
<td class="property_type">
|
534
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *</td>
|
535
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--remote-address" title="The “remote-address” property">remote-address</a></td>
|
536
|
+
<td class="property_flags">Read</td>
|
537
|
+
</tr>
|
538
|
+
<tr>
|
539
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
540
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--timeout" title="The “timeout” property">timeout</a></td>
|
541
|
+
<td class="property_flags">Read / Write</td>
|
542
|
+
</tr>
|
543
|
+
<tr>
|
544
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
545
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--ttl" title="The “ttl” property">ttl</a></td>
|
546
|
+
<td class="property_flags">Read / Write</td>
|
547
|
+
</tr>
|
548
|
+
<tr>
|
549
|
+
<td class="property_type"><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a></td>
|
550
|
+
<td class="property_name"><a class="link" href="GSocket.html#GSocket--type" title="The “type” property">type</a></td>
|
551
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
552
|
+
</tr>
|
553
|
+
</tbody>
|
554
|
+
</table></div>
|
555
|
+
</div>
|
556
|
+
<div class="refsect1">
|
557
|
+
<a name="GSocket.other"></a><h2>Types and Values</h2>
|
558
|
+
<div class="informaltable"><table width="100%" border="0">
|
559
|
+
<colgroup>
|
560
|
+
<col width="150px" class="name">
|
561
|
+
<col class="description">
|
562
|
+
</colgroup>
|
563
|
+
<tbody>
|
564
|
+
<tr>
|
565
|
+
<td class="datatype_keyword"> </td>
|
566
|
+
<td class="function_name"><a class="link" href="GSocket.html#GSocket-struct" title="GSocket">GSocket</a></td>
|
567
|
+
</tr>
|
568
|
+
<tr>
|
569
|
+
<td class="datatype_keyword">enum</td>
|
570
|
+
<td class="function_name"><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType">GSocketType</a></td>
|
571
|
+
</tr>
|
572
|
+
<tr>
|
573
|
+
<td class="datatype_keyword">enum</td>
|
574
|
+
<td class="function_name"><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol">GSocketProtocol</a></td>
|
575
|
+
</tr>
|
576
|
+
<tr>
|
577
|
+
<td class="datatype_keyword">enum</td>
|
578
|
+
<td class="function_name"><a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags">GSocketMsgFlags</a></td>
|
579
|
+
</tr>
|
580
|
+
<tr>
|
581
|
+
<td class="datatype_keyword">struct</td>
|
582
|
+
<td class="function_name"><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector">GInputVector</a></td>
|
583
|
+
</tr>
|
584
|
+
<tr>
|
585
|
+
<td class="datatype_keyword">struct</td>
|
586
|
+
<td class="function_name"><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector">GOutputVector</a></td>
|
587
|
+
</tr>
|
588
|
+
</tbody>
|
589
|
+
</table></div>
|
590
|
+
</div>
|
591
|
+
<div class="refsect1">
|
592
|
+
<a name="GSocket.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
593
|
+
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
594
|
+
<span class="lineart">╰──</span> GSocket
|
595
|
+
</pre>
|
596
|
+
</div>
|
597
|
+
<div class="refsect1">
|
598
|
+
<a name="GSocket.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
599
|
+
<p>
|
600
|
+
GSocket implements
|
601
|
+
<a class="link" href="GInitable.html" title="GInitable">GInitable</a>.</p>
|
602
|
+
</div>
|
603
|
+
<div class="refsect1">
|
604
|
+
<a name="GSocket.includes"></a><h2>Includes</h2>
|
605
|
+
<pre class="synopsis">#include <gio/gio.h>
|
606
|
+
</pre>
|
607
|
+
</div>
|
608
|
+
<div class="refsect1">
|
609
|
+
<a name="GSocket.description"></a><h2>Description</h2>
|
610
|
+
<p>A <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> is a low-level networking primitive. It is a more or less
|
611
|
+
direct mapping of the BSD socket API in a portable GObject based API.
|
612
|
+
It supports both the UNIX socket implementations and winsock2 on Windows.</p>
|
613
|
+
<p><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> is the platform independent base upon which the higher level
|
614
|
+
network primitives are based. Applications are not typically meant to
|
615
|
+
use it directly, but rather through classes like <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>,
|
616
|
+
<a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> and <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a>. However there may be cases where
|
617
|
+
direct use of <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> is useful.</p>
|
618
|
+
<p><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> implements the <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a> interface, so if it is manually constructed
|
619
|
+
by e.g. <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a> you must call <a class="link" href="GInitable.html#g-initable-init" title="g_initable_init ()"><code class="function">g_initable_init()</code></a> and check the
|
620
|
+
results before using the object. This is done automatically in
|
621
|
+
<a class="link" href="GSocket.html#g-socket-new" title="g_socket_new ()"><code class="function">g_socket_new()</code></a> and <a class="link" href="GSocket.html#g-socket-new-from-fd" title="g_socket_new_from_fd ()"><code class="function">g_socket_new_from_fd()</code></a>, so these functions can return
|
622
|
+
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
623
|
+
<p>Sockets operate in two general modes, blocking or non-blocking. When
|
624
|
+
in blocking mode all operations block until the requested operation
|
625
|
+
is finished or there is an error. In non-blocking mode all calls that
|
626
|
+
would block return immediately with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error.
|
627
|
+
To know when a call would successfully run you can call <a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()"><code class="function">g_socket_condition_check()</code></a>,
|
628
|
+
or <a class="link" href="GSocket.html#g-socket-condition-wait" title="g_socket_condition_wait ()"><code class="function">g_socket_condition_wait()</code></a>. You can also use <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()"><code class="function">g_socket_create_source()</code></a> and
|
629
|
+
attach it to a <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> to get callbacks when I/O is possible.
|
630
|
+
Note that all sockets are always set to non blocking mode in the system, and
|
631
|
+
blocking mode is emulated in GSocket.</p>
|
632
|
+
<p>When working in non-blocking mode applications should always be able to
|
633
|
+
handle getting a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error even when some other
|
634
|
+
function said that I/O was possible. This can easily happen in case
|
635
|
+
of a race condition in the application, but it can also happen for other
|
636
|
+
reasons. For instance, on Windows a socket is always seen as writable
|
637
|
+
until a write returns <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a>.</p>
|
638
|
+
<p><a href="GSocket.html"><span class="type">GSockets</span></a> can be either connection oriented or datagram based.
|
639
|
+
For connection oriented types you must first establish a connection by
|
640
|
+
either connecting to an address or accepting a connection from another
|
641
|
+
address. For connectionless socket types the target/source address is
|
642
|
+
specified or received in each I/O operation.</p>
|
643
|
+
<p>All socket file descriptors are set to be close-on-exec.</p>
|
644
|
+
<p>Note that creating a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> causes the signal <code class="literal">SIGPIPE</code> to be
|
645
|
+
ignored for the remainder of the program. If you are writing a
|
646
|
+
command-line utility that uses <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>, you may need to take into
|
647
|
+
account the fact that your program will not automatically be killed
|
648
|
+
if it tries to write to <code class="literal">stdout</code> after it has been closed.</p>
|
649
|
+
<p>Like most other APIs in GLib, <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> is not inherently thread safe. To use
|
650
|
+
a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> concurrently from multiple threads, you must implement your own
|
651
|
+
locking.</p>
|
652
|
+
</div>
|
653
|
+
<div class="refsect1">
|
654
|
+
<a name="GSocket.functions_details"></a><h2>Functions</h2>
|
655
|
+
<div class="refsect2">
|
656
|
+
<a name="GSocketSourceFunc"></a><h3>GSocketSourceFunc ()</h3>
|
657
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
658
|
+
<span class="c_punctuation">(</span>*GSocketSourceFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
659
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
660
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
661
|
+
<p>This is the function type of the callback used for the <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a>
|
662
|
+
returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()"><code class="function">g_socket_create_source()</code></a>.</p>
|
663
|
+
<div class="refsect3">
|
664
|
+
<a name="id-1.4.13.2.10.2.5"></a><h4>Parameters</h4>
|
665
|
+
<div class="informaltable"><table width="100%" border="0">
|
666
|
+
<colgroup>
|
667
|
+
<col width="150px" class="parameters_name">
|
668
|
+
<col class="parameters_description">
|
669
|
+
<col width="200px" class="parameters_annotations">
|
670
|
+
</colgroup>
|
671
|
+
<tbody>
|
672
|
+
<tr>
|
673
|
+
<td class="parameter_name"><p>socket</p></td>
|
674
|
+
<td class="parameter_description"><p>the <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
675
|
+
<td class="parameter_annotations"> </td>
|
676
|
+
</tr>
|
677
|
+
<tr>
|
678
|
+
<td class="parameter_name"><p>condition</p></td>
|
679
|
+
<td class="parameter_description"><p>the current condition at the source fired.</p></td>
|
680
|
+
<td class="parameter_annotations"> </td>
|
681
|
+
</tr>
|
682
|
+
<tr>
|
683
|
+
<td class="parameter_name"><p>user_data</p></td>
|
684
|
+
<td class="parameter_description"><p>data passed in by the user.</p></td>
|
685
|
+
<td class="parameter_annotations"> </td>
|
686
|
+
</tr>
|
687
|
+
</tbody>
|
688
|
+
</table></div>
|
689
|
+
</div>
|
690
|
+
<div class="refsect3">
|
691
|
+
<a name="id-1.4.13.2.10.2.6"></a><h4>Returns</h4>
|
692
|
+
<p> it should return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the source should be removed.</p>
|
693
|
+
<p></p>
|
694
|
+
</div>
|
695
|
+
<p class="since">Since 2.22</p>
|
696
|
+
</div>
|
697
|
+
<hr>
|
698
|
+
<div class="refsect2">
|
699
|
+
<a name="g-socket-new"></a><h3>g_socket_new ()</h3>
|
700
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
701
|
+
g_socket_new (<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>,
|
702
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
703
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
704
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
705
|
+
<p>Creates a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> with the defined family, type and protocol.
|
706
|
+
If <em class="parameter"><code>protocol</code></em>
|
707
|
+
is 0 (<a class="link" href="GSocket.html#G-SOCKET-PROTOCOL-DEFAULT:CAPS"><code class="literal">G_SOCKET_PROTOCOL_DEFAULT</code></a>) the default protocol type
|
708
|
+
for the family and type is used.</p>
|
709
|
+
<p>The <em class="parameter"><code>protocol</code></em>
|
710
|
+
is a family and type specific int that specifies what
|
711
|
+
kind of protocol to use. <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> lists several common ones.
|
712
|
+
Many families only support one protocol, and use 0 for this, others
|
713
|
+
support several and using 0 means to use the default protocol for
|
714
|
+
the family and type.</p>
|
715
|
+
<p>The protocol id is passed directly to the operating
|
716
|
+
system, so you can use protocols not listed in <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> if you
|
717
|
+
know the protocol number used for it.</p>
|
718
|
+
<div class="refsect3">
|
719
|
+
<a name="id-1.4.13.2.10.3.7"></a><h4>Parameters</h4>
|
720
|
+
<div class="informaltable"><table width="100%" border="0">
|
721
|
+
<colgroup>
|
722
|
+
<col width="150px" class="parameters_name">
|
723
|
+
<col class="parameters_description">
|
724
|
+
<col width="200px" class="parameters_annotations">
|
725
|
+
</colgroup>
|
726
|
+
<tbody>
|
727
|
+
<tr>
|
728
|
+
<td class="parameter_name"><p>family</p></td>
|
729
|
+
<td class="parameter_description"><p>the socket family to use, e.g. <a class="link" href="GSocketAddress.html#G-SOCKET-FAMILY-IPV4:CAPS"><code class="literal">G_SOCKET_FAMILY_IPV4</code></a>.</p></td>
|
730
|
+
<td class="parameter_annotations"> </td>
|
731
|
+
</tr>
|
732
|
+
<tr>
|
733
|
+
<td class="parameter_name"><p>type</p></td>
|
734
|
+
<td class="parameter_description"><p>the socket type to use.</p></td>
|
735
|
+
<td class="parameter_annotations"> </td>
|
736
|
+
</tr>
|
737
|
+
<tr>
|
738
|
+
<td class="parameter_name"><p>protocol</p></td>
|
739
|
+
<td class="parameter_description"><p>the id of the protocol to use, or 0 for default.</p></td>
|
740
|
+
<td class="parameter_annotations"> </td>
|
741
|
+
</tr>
|
742
|
+
<tr>
|
743
|
+
<td class="parameter_name"><p>error</p></td>
|
744
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
745
|
+
<td class="parameter_annotations"> </td>
|
746
|
+
</tr>
|
747
|
+
</tbody>
|
748
|
+
</table></div>
|
749
|
+
</div>
|
750
|
+
<div class="refsect3">
|
751
|
+
<a name="id-1.4.13.2.10.3.8"></a><h4>Returns</h4>
|
752
|
+
<p> a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
753
|
+
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
754
|
+
<p></p>
|
755
|
+
</div>
|
756
|
+
<p class="since">Since 2.22</p>
|
757
|
+
</div>
|
758
|
+
<hr>
|
759
|
+
<div class="refsect2">
|
760
|
+
<a name="g-socket-new-from-fd"></a><h3>g_socket_new_from_fd ()</h3>
|
761
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
762
|
+
g_socket_new_from_fd (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>,
|
763
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
764
|
+
<p>Creates a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> from a native file descriptor
|
765
|
+
or winsock SOCKET handle.</p>
|
766
|
+
<p>This reads all the settings from the file descriptor so that
|
767
|
+
all properties should work. Note that the file descriptor
|
768
|
+
will be set to non-blocking mode, independent on the blocking
|
769
|
+
mode of the <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p>
|
770
|
+
<div class="refsect3">
|
771
|
+
<a name="id-1.4.13.2.10.4.6"></a><h4>Parameters</h4>
|
772
|
+
<div class="informaltable"><table width="100%" border="0">
|
773
|
+
<colgroup>
|
774
|
+
<col width="150px" class="parameters_name">
|
775
|
+
<col class="parameters_description">
|
776
|
+
<col width="200px" class="parameters_annotations">
|
777
|
+
</colgroup>
|
778
|
+
<tbody>
|
779
|
+
<tr>
|
780
|
+
<td class="parameter_name"><p>fd</p></td>
|
781
|
+
<td class="parameter_description"><p>a native socket file descriptor.</p></td>
|
782
|
+
<td class="parameter_annotations"> </td>
|
783
|
+
</tr>
|
784
|
+
<tr>
|
785
|
+
<td class="parameter_name"><p>error</p></td>
|
786
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
787
|
+
<td class="parameter_annotations"> </td>
|
788
|
+
</tr>
|
789
|
+
</tbody>
|
790
|
+
</table></div>
|
791
|
+
</div>
|
792
|
+
<div class="refsect3">
|
793
|
+
<a name="id-1.4.13.2.10.4.7"></a><h4>Returns</h4>
|
794
|
+
<p> a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
795
|
+
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
796
|
+
<p></p>
|
797
|
+
</div>
|
798
|
+
<p class="since">Since 2.22</p>
|
799
|
+
</div>
|
800
|
+
<hr>
|
801
|
+
<div class="refsect2">
|
802
|
+
<a name="g-socket-bind"></a><h3>g_socket_bind ()</h3>
|
803
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
804
|
+
g_socket_bind (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
805
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
806
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_reuse</code></em>,
|
807
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
808
|
+
<p>When a socket is created it is attached to an address family, but it
|
809
|
+
doesn't have an address in this family. <a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a> assigns the
|
810
|
+
address (sometimes called name) of the socket.</p>
|
811
|
+
<p>It is generally required to bind to a local address before you can
|
812
|
+
receive connections. (See <a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()"><code class="function">g_socket_listen()</code></a> and <a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()"><code class="function">g_socket_accept()</code></a> ).
|
813
|
+
In certain situations, you may also want to bind a socket that will be
|
814
|
+
used to initiate connections, though this is not normally required.</p>
|
815
|
+
<p>If <em class="parameter"><code>socket</code></em>
|
816
|
+
is a TCP socket, then <em class="parameter"><code>allow_reuse</code></em>
|
817
|
+
controls the setting
|
818
|
+
of the <code class="literal">SO_REUSEADDR</code> socket option; normally it should be <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for
|
819
|
+
server sockets (sockets that you will eventually call
|
820
|
+
<a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()"><code class="function">g_socket_accept()</code></a> on), and <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for client sockets. (Failing to
|
821
|
+
set this flag on a server socket may cause <a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a> to return
|
822
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-ADDRESS-IN-USE:CAPS"><code class="literal">G_IO_ERROR_ADDRESS_IN_USE</code></a> if the server program is stopped and then
|
823
|
+
immediately restarted.)</p>
|
824
|
+
<p>If <em class="parameter"><code>socket</code></em>
|
825
|
+
is a UDP socket, then <em class="parameter"><code>allow_reuse</code></em>
|
826
|
+
determines whether or
|
827
|
+
not other UDP sockets can be bound to the same address at the same
|
828
|
+
time. In particular, you can have several UDP sockets bound to the
|
829
|
+
same address, and they will all receive all of the multicast and
|
830
|
+
broadcast packets sent to that address. (The behavior of unicast
|
831
|
+
UDP packets to an address with multiple listeners is not defined.)</p>
|
832
|
+
<div class="refsect3">
|
833
|
+
<a name="id-1.4.13.2.10.5.8"></a><h4>Parameters</h4>
|
834
|
+
<div class="informaltable"><table 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>socket</p></td>
|
843
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
844
|
+
<td class="parameter_annotations"> </td>
|
845
|
+
</tr>
|
846
|
+
<tr>
|
847
|
+
<td class="parameter_name"><p>address</p></td>
|
848
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> specifying the local address.</p></td>
|
849
|
+
<td class="parameter_annotations"> </td>
|
850
|
+
</tr>
|
851
|
+
<tr>
|
852
|
+
<td class="parameter_name"><p>allow_reuse</p></td>
|
853
|
+
<td class="parameter_description"><p>whether to allow reusing this address</p></td>
|
854
|
+
<td class="parameter_annotations"> </td>
|
855
|
+
</tr>
|
856
|
+
<tr>
|
857
|
+
<td class="parameter_name"><p>error</p></td>
|
858
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
859
|
+
<td class="parameter_annotations"> </td>
|
860
|
+
</tr>
|
861
|
+
</tbody>
|
862
|
+
</table></div>
|
863
|
+
</div>
|
864
|
+
<div class="refsect3">
|
865
|
+
<a name="id-1.4.13.2.10.5.9"></a><h4>Returns</h4>
|
866
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
867
|
+
<p></p>
|
868
|
+
</div>
|
869
|
+
<p class="since">Since 2.22</p>
|
870
|
+
</div>
|
871
|
+
<hr>
|
872
|
+
<div class="refsect2">
|
873
|
+
<a name="g-socket-listen"></a><h3>g_socket_listen ()</h3>
|
874
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
875
|
+
g_socket_listen (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
876
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
877
|
+
<p>Marks the socket as a server socket, i.e. a socket that is used
|
878
|
+
to accept incoming requests using <a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()"><code class="function">g_socket_accept()</code></a>.</p>
|
879
|
+
<p>Before calling this the socket must be bound to a local address using
|
880
|
+
<a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a>.</p>
|
881
|
+
<p>To set the maximum amount of outstanding clients, use
|
882
|
+
<a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()"><code class="function">g_socket_set_listen_backlog()</code></a>.</p>
|
883
|
+
<div class="refsect3">
|
884
|
+
<a name="id-1.4.13.2.10.6.7"></a><h4>Parameters</h4>
|
885
|
+
<div class="informaltable"><table width="100%" border="0">
|
886
|
+
<colgroup>
|
887
|
+
<col width="150px" class="parameters_name">
|
888
|
+
<col class="parameters_description">
|
889
|
+
<col width="200px" class="parameters_annotations">
|
890
|
+
</colgroup>
|
891
|
+
<tbody>
|
892
|
+
<tr>
|
893
|
+
<td class="parameter_name"><p>socket</p></td>
|
894
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
895
|
+
<td class="parameter_annotations"> </td>
|
896
|
+
</tr>
|
897
|
+
<tr>
|
898
|
+
<td class="parameter_name"><p>error</p></td>
|
899
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
900
|
+
<td class="parameter_annotations"> </td>
|
901
|
+
</tr>
|
902
|
+
</tbody>
|
903
|
+
</table></div>
|
904
|
+
</div>
|
905
|
+
<div class="refsect3">
|
906
|
+
<a name="id-1.4.13.2.10.6.8"></a><h4>Returns</h4>
|
907
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
908
|
+
<p></p>
|
909
|
+
</div>
|
910
|
+
<p class="since">Since 2.22</p>
|
911
|
+
</div>
|
912
|
+
<hr>
|
913
|
+
<div class="refsect2">
|
914
|
+
<a name="g-socket-accept"></a><h3>g_socket_accept ()</h3>
|
915
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
916
|
+
g_socket_accept (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
917
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
918
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
919
|
+
<p>Accept incoming connections on a connection-based socket. This removes
|
920
|
+
the first outstanding connection request from the listening socket and
|
921
|
+
creates a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> object for it.</p>
|
922
|
+
<p>The <em class="parameter"><code>socket</code></em>
|
923
|
+
must be bound to a local address with <a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a> and
|
924
|
+
must be listening for incoming connections (<a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()"><code class="function">g_socket_listen()</code></a>).</p>
|
925
|
+
<p>If there are no outstanding connections then the operation will block
|
926
|
+
or return <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> if non-blocking I/O is enabled.
|
927
|
+
To be notified of an incoming connection, wait for the <code class="literal">G_IO_IN</code> condition.</p>
|
928
|
+
<div class="refsect3">
|
929
|
+
<a name="id-1.4.13.2.10.7.7"></a><h4>Parameters</h4>
|
930
|
+
<div class="informaltable"><table width="100%" border="0">
|
931
|
+
<colgroup>
|
932
|
+
<col width="150px" class="parameters_name">
|
933
|
+
<col class="parameters_description">
|
934
|
+
<col width="200px" class="parameters_annotations">
|
935
|
+
</colgroup>
|
936
|
+
<tbody>
|
937
|
+
<tr>
|
938
|
+
<td class="parameter_name"><p>socket</p></td>
|
939
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
940
|
+
<td class="parameter_annotations"> </td>
|
941
|
+
</tr>
|
942
|
+
<tr>
|
943
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
944
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
945
|
+
<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>
|
946
|
+
</tr>
|
947
|
+
<tr>
|
948
|
+
<td class="parameter_name"><p>error</p></td>
|
949
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
950
|
+
<td class="parameter_annotations"> </td>
|
951
|
+
</tr>
|
952
|
+
</tbody>
|
953
|
+
</table></div>
|
954
|
+
</div>
|
955
|
+
<div class="refsect3">
|
956
|
+
<a name="id-1.4.13.2.10.7.8"></a><h4>Returns</h4>
|
957
|
+
<p> a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
958
|
+
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
959
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
960
|
+
</div>
|
961
|
+
<p class="since">Since 2.22</p>
|
962
|
+
</div>
|
963
|
+
<hr>
|
964
|
+
<div class="refsect2">
|
965
|
+
<a name="g-socket-connect"></a><h3>g_socket_connect ()</h3>
|
966
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
967
|
+
g_socket_connect (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
968
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
969
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
970
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
971
|
+
<p>Connect the socket to the specified remote address.</p>
|
972
|
+
<p>For connection oriented socket this generally means we attempt to make
|
973
|
+
a connection to the <em class="parameter"><code>address</code></em>
|
974
|
+
. For a connection-less socket it sets
|
975
|
+
the default address for <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> and discards all incoming datagrams
|
976
|
+
from other sources.</p>
|
977
|
+
<p>Generally connection oriented sockets can only connect once, but
|
978
|
+
connection-less sockets can connect multiple times to change the
|
979
|
+
default address.</p>
|
980
|
+
<p>If the connect call needs to do network I/O it will block, unless
|
981
|
+
non-blocking I/O is enabled. Then <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a> is returned
|
982
|
+
and the user can be notified of the connection finishing by waiting
|
983
|
+
for the G_IO_OUT condition. The result of the connection must then be
|
984
|
+
checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" title="g_socket_check_connect_result ()"><code class="function">g_socket_check_connect_result()</code></a>.</p>
|
985
|
+
<div class="refsect3">
|
986
|
+
<a name="id-1.4.13.2.10.8.8"></a><h4>Parameters</h4>
|
987
|
+
<div class="informaltable"><table width="100%" border="0">
|
988
|
+
<colgroup>
|
989
|
+
<col width="150px" class="parameters_name">
|
990
|
+
<col class="parameters_description">
|
991
|
+
<col width="200px" class="parameters_annotations">
|
992
|
+
</colgroup>
|
993
|
+
<tbody>
|
994
|
+
<tr>
|
995
|
+
<td class="parameter_name"><p>socket</p></td>
|
996
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
997
|
+
<td class="parameter_annotations"> </td>
|
998
|
+
</tr>
|
999
|
+
<tr>
|
1000
|
+
<td class="parameter_name"><p>address</p></td>
|
1001
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> specifying the remote address.</p></td>
|
1002
|
+
<td class="parameter_annotations"> </td>
|
1003
|
+
</tr>
|
1004
|
+
<tr>
|
1005
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1006
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1007
|
+
<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>
|
1008
|
+
</tr>
|
1009
|
+
<tr>
|
1010
|
+
<td class="parameter_name"><p>error</p></td>
|
1011
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1012
|
+
<td class="parameter_annotations"> </td>
|
1013
|
+
</tr>
|
1014
|
+
</tbody>
|
1015
|
+
</table></div>
|
1016
|
+
</div>
|
1017
|
+
<div class="refsect3">
|
1018
|
+
<a name="id-1.4.13.2.10.8.9"></a><h4>Returns</h4>
|
1019
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if connected, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
1020
|
+
<p></p>
|
1021
|
+
</div>
|
1022
|
+
<p class="since">Since 2.22</p>
|
1023
|
+
</div>
|
1024
|
+
<hr>
|
1025
|
+
<div class="refsect2">
|
1026
|
+
<a name="g-socket-check-connect-result"></a><h3>g_socket_check_connect_result ()</h3>
|
1027
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1028
|
+
g_socket_check_connect_result (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1029
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1030
|
+
<p>Checks and resets the pending connect error for the socket.
|
1031
|
+
This is used to check for errors when <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a> is
|
1032
|
+
used in non-blocking mode.</p>
|
1033
|
+
<div class="refsect3">
|
1034
|
+
<a name="id-1.4.13.2.10.9.5"></a><h4>Parameters</h4>
|
1035
|
+
<div class="informaltable"><table width="100%" border="0">
|
1036
|
+
<colgroup>
|
1037
|
+
<col width="150px" class="parameters_name">
|
1038
|
+
<col class="parameters_description">
|
1039
|
+
<col width="200px" class="parameters_annotations">
|
1040
|
+
</colgroup>
|
1041
|
+
<tbody>
|
1042
|
+
<tr>
|
1043
|
+
<td class="parameter_name"><p>socket</p></td>
|
1044
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1045
|
+
<td class="parameter_annotations"> </td>
|
1046
|
+
</tr>
|
1047
|
+
<tr>
|
1048
|
+
<td class="parameter_name"><p>error</p></td>
|
1049
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1050
|
+
<td class="parameter_annotations"> </td>
|
1051
|
+
</tr>
|
1052
|
+
</tbody>
|
1053
|
+
</table></div>
|
1054
|
+
</div>
|
1055
|
+
<div class="refsect3">
|
1056
|
+
<a name="id-1.4.13.2.10.9.6"></a><h4>Returns</h4>
|
1057
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if no error, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise, setting <em class="parameter"><code>error</code></em>
|
1058
|
+
to the error</p>
|
1059
|
+
<p></p>
|
1060
|
+
</div>
|
1061
|
+
<p class="since">Since 2.22</p>
|
1062
|
+
</div>
|
1063
|
+
<hr>
|
1064
|
+
<div class="refsect2">
|
1065
|
+
<a name="g-socket-receive"></a><h3>g_socket_receive ()</h3>
|
1066
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1067
|
+
g_socket_receive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1068
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1069
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1070
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1071
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1072
|
+
<p>Receive data (up to <em class="parameter"><code>size</code></em>
|
1073
|
+
bytes) from a socket. This is mainly used by
|
1074
|
+
connection-oriented sockets; it is identical to <a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()"><code class="function">g_socket_receive_from()</code></a>
|
1075
|
+
with <em class="parameter"><code>address</code></em>
|
1076
|
+
set to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1077
|
+
<p>For <a class="link" href="GSocket.html#G-SOCKET-TYPE-DATAGRAM:CAPS"><code class="literal">G_SOCKET_TYPE_DATAGRAM</code></a> and <a class="link" href="GSocket.html#G-SOCKET-TYPE-SEQPACKET:CAPS"><code class="literal">G_SOCKET_TYPE_SEQPACKET</code></a> sockets,
|
1078
|
+
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> will always read either 0 or 1 complete messages from
|
1079
|
+
the socket. If the received message is too large to fit in <em class="parameter"><code>buffer</code></em>
|
1080
|
+
, then
|
1081
|
+
the data beyond <em class="parameter"><code>size</code></em>
|
1082
|
+
bytes will be discarded, without any explicit
|
1083
|
+
indication that this has occurred.</p>
|
1084
|
+
<p>For <a class="link" href="GSocket.html#G-SOCKET-TYPE-STREAM:CAPS"><code class="literal">G_SOCKET_TYPE_STREAM</code></a> sockets, <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> can return any
|
1085
|
+
number of bytes, up to <em class="parameter"><code>size</code></em>
|
1086
|
+
. If more than <em class="parameter"><code>size</code></em>
|
1087
|
+
bytes have been
|
1088
|
+
received, the additional data will be returned in future calls to
|
1089
|
+
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>.</p>
|
1090
|
+
<p>If the socket is in blocking mode the call will block until there
|
1091
|
+
is some data to receive, the connection is closed, or there is an
|
1092
|
+
error. If there is no data available and the socket is in
|
1093
|
+
non-blocking mode, a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error will be
|
1094
|
+
returned. To be notified when data is available, wait for the
|
1095
|
+
<code class="literal">G_IO_IN</code> condition.</p>
|
1096
|
+
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1097
|
+
is set accordingly.</p>
|
1098
|
+
<div class="refsect3">
|
1099
|
+
<a name="id-1.4.13.2.10.10.9"></a><h4>Parameters</h4>
|
1100
|
+
<div class="informaltable"><table width="100%" border="0">
|
1101
|
+
<colgroup>
|
1102
|
+
<col width="150px" class="parameters_name">
|
1103
|
+
<col class="parameters_description">
|
1104
|
+
<col width="200px" class="parameters_annotations">
|
1105
|
+
</colgroup>
|
1106
|
+
<tbody>
|
1107
|
+
<tr>
|
1108
|
+
<td class="parameter_name"><p>socket</p></td>
|
1109
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1110
|
+
<td class="parameter_annotations"> </td>
|
1111
|
+
</tr>
|
1112
|
+
<tr>
|
1113
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1114
|
+
<td class="parameter_description"><p> a buffer to
|
1115
|
+
read data into (which should be at least <em class="parameter"><code>size</code></em>
|
1116
|
+
bytes long). </p></td>
|
1117
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
1118
|
+
</tr>
|
1119
|
+
<tr>
|
1120
|
+
<td class="parameter_name"><p>size</p></td>
|
1121
|
+
<td class="parameter_description"><p>the number of bytes you want to read from the socket</p></td>
|
1122
|
+
<td class="parameter_annotations"> </td>
|
1123
|
+
</tr>
|
1124
|
+
<tr>
|
1125
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1126
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1127
|
+
<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>
|
1128
|
+
</tr>
|
1129
|
+
<tr>
|
1130
|
+
<td class="parameter_name"><p>error</p></td>
|
1131
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1132
|
+
<td class="parameter_annotations"> </td>
|
1133
|
+
</tr>
|
1134
|
+
</tbody>
|
1135
|
+
</table></div>
|
1136
|
+
</div>
|
1137
|
+
<div class="refsect3">
|
1138
|
+
<a name="id-1.4.13.2.10.10.10"></a><h4>Returns</h4>
|
1139
|
+
<p> Number of bytes read, or 0 if the connection was closed by
|
1140
|
+
the peer, or -1 on error</p>
|
1141
|
+
<p></p>
|
1142
|
+
</div>
|
1143
|
+
<p class="since">Since 2.22</p>
|
1144
|
+
</div>
|
1145
|
+
<hr>
|
1146
|
+
<div class="refsect2">
|
1147
|
+
<a name="g-socket-receive-from"></a><h3>g_socket_receive_from ()</h3>
|
1148
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1149
|
+
g_socket_receive_from (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1150
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
1151
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1152
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1153
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1154
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1155
|
+
<p>Receive data (up to <em class="parameter"><code>size</code></em>
|
1156
|
+
bytes) from a socket.</p>
|
1157
|
+
<p>If <em class="parameter"><code>address</code></em>
|
1158
|
+
is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <em class="parameter"><code>address</code></em>
|
1159
|
+
will be set equal to the
|
1160
|
+
source address of the received packet.
|
1161
|
+
<em class="parameter"><code>address</code></em>
|
1162
|
+
is owned by the caller.</p>
|
1163
|
+
<p>See <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> for additional information.</p>
|
1164
|
+
<div class="refsect3">
|
1165
|
+
<a name="id-1.4.13.2.10.11.7"></a><h4>Parameters</h4>
|
1166
|
+
<div class="informaltable"><table width="100%" border="0">
|
1167
|
+
<colgroup>
|
1168
|
+
<col width="150px" class="parameters_name">
|
1169
|
+
<col class="parameters_description">
|
1170
|
+
<col width="200px" class="parameters_annotations">
|
1171
|
+
</colgroup>
|
1172
|
+
<tbody>
|
1173
|
+
<tr>
|
1174
|
+
<td class="parameter_name"><p>socket</p></td>
|
1175
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1176
|
+
<td class="parameter_annotations"> </td>
|
1177
|
+
</tr>
|
1178
|
+
<tr>
|
1179
|
+
<td class="parameter_name"><p>address</p></td>
|
1180
|
+
<td class="parameter_description"><p> a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1181
|
+
pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1182
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1183
|
+
</tr>
|
1184
|
+
<tr>
|
1185
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1186
|
+
<td class="parameter_description"><p> a buffer to
|
1187
|
+
read data into (which should be at least <em class="parameter"><code>size</code></em>
|
1188
|
+
bytes long). </p></td>
|
1189
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
1190
|
+
</tr>
|
1191
|
+
<tr>
|
1192
|
+
<td class="parameter_name"><p>size</p></td>
|
1193
|
+
<td class="parameter_description"><p>the number of bytes you want to read from the socket</p></td>
|
1194
|
+
<td class="parameter_annotations"> </td>
|
1195
|
+
</tr>
|
1196
|
+
<tr>
|
1197
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1198
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1199
|
+
<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>
|
1200
|
+
</tr>
|
1201
|
+
<tr>
|
1202
|
+
<td class="parameter_name"><p>error</p></td>
|
1203
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1204
|
+
<td class="parameter_annotations"> </td>
|
1205
|
+
</tr>
|
1206
|
+
</tbody>
|
1207
|
+
</table></div>
|
1208
|
+
</div>
|
1209
|
+
<div class="refsect3">
|
1210
|
+
<a name="id-1.4.13.2.10.11.8"></a><h4>Returns</h4>
|
1211
|
+
<p> Number of bytes read, or 0 if the connection was closed by
|
1212
|
+
the peer, or -1 on error</p>
|
1213
|
+
<p></p>
|
1214
|
+
</div>
|
1215
|
+
<p class="since">Since 2.22</p>
|
1216
|
+
</div>
|
1217
|
+
<hr>
|
1218
|
+
<div class="refsect2">
|
1219
|
+
<a name="g-socket-receive-message"></a><h3>g_socket_receive_message ()</h3>
|
1220
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1221
|
+
g_socket_receive_message (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1222
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
1223
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
1224
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
1225
|
+
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> ***messages</code></em>,
|
1226
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_messages</code></em>,
|
1227
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *flags</code></em>,
|
1228
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1229
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1230
|
+
<p>Receive data from a socket. This is the most complicated and
|
1231
|
+
fully-featured version of this call. For easier use, see
|
1232
|
+
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> and <a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()"><code class="function">g_socket_receive_from()</code></a>.</p>
|
1233
|
+
<p>If <em class="parameter"><code>address</code></em>
|
1234
|
+
is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <em class="parameter"><code>address</code></em>
|
1235
|
+
will be set equal to the
|
1236
|
+
source address of the received packet.
|
1237
|
+
<em class="parameter"><code>address</code></em>
|
1238
|
+
is owned by the caller.</p>
|
1239
|
+
<p><em class="parameter"><code>vector</code></em>
|
1240
|
+
must point to an array of <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> structs and
|
1241
|
+
<em class="parameter"><code>num_vectors</code></em>
|
1242
|
+
must be the length of this array. These structs
|
1243
|
+
describe the buffers that received data will be scattered into.
|
1244
|
+
If <em class="parameter"><code>num_vectors</code></em>
|
1245
|
+
is -1, then <em class="parameter"><code>vectors</code></em>
|
1246
|
+
is assumed to be terminated
|
1247
|
+
by a <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> with a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.</p>
|
1248
|
+
<p>As a special case, if <em class="parameter"><code>num_vectors</code></em>
|
1249
|
+
is 0 (in which case, <em class="parameter"><code>vectors</code></em>
|
1250
|
+
|
1251
|
+
may of course be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), then a single byte is received and
|
1252
|
+
discarded. This is to facilitate the common practice of sending a
|
1253
|
+
single '\0' byte for the purposes of transferring ancillary data.</p>
|
1254
|
+
<p><em class="parameter"><code>messages</code></em>
|
1255
|
+
, if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be set to point to a newly-allocated
|
1256
|
+
array of <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such
|
1257
|
+
messages was received. These correspond to the control messages
|
1258
|
+
received from the kernel, one <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> per message
|
1259
|
+
from the kernel. This array is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated and must be freed
|
1260
|
+
by the caller using <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after calling <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> on each
|
1261
|
+
element. If <em class="parameter"><code>messages</code></em>
|
1262
|
+
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, any control messages received will
|
1263
|
+
be discarded.</p>
|
1264
|
+
<p><em class="parameter"><code>num_messages</code></em>
|
1265
|
+
, if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be set to the number of control
|
1266
|
+
messages received.</p>
|
1267
|
+
<p>If both <em class="parameter"><code>messages</code></em>
|
1268
|
+
and <em class="parameter"><code>num_messages</code></em>
|
1269
|
+
are non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
|
1270
|
+
<em class="parameter"><code>num_messages</code></em>
|
1271
|
+
gives the number of <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances
|
1272
|
+
in <em class="parameter"><code>messages</code></em>
|
1273
|
+
(ie: not including the <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminator).</p>
|
1274
|
+
<p><em class="parameter"><code>flags</code></em>
|
1275
|
+
is an in/out parameter. The commonly available arguments
|
1276
|
+
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1277
|
+
values there are the same as the system values, and the flags
|
1278
|
+
are passed in as-is, so you can pass in system-specific flags too
|
1279
|
+
(and <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()"><code class="function">g_socket_receive_message()</code></a> may pass system-specific flags out).</p>
|
1280
|
+
<p>As with <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>, data may be discarded if <em class="parameter"><code>socket</code></em>
|
1281
|
+
is
|
1282
|
+
<a class="link" href="GSocket.html#G-SOCKET-TYPE-DATAGRAM:CAPS"><code class="literal">G_SOCKET_TYPE_DATAGRAM</code></a> or <a class="link" href="GSocket.html#G-SOCKET-TYPE-SEQPACKET:CAPS"><code class="literal">G_SOCKET_TYPE_SEQPACKET</code></a> and you do not
|
1283
|
+
provide enough buffer space to read a complete message. You can pass
|
1284
|
+
<a class="link" href="GSocket.html#G-SOCKET-MSG-PEEK:CAPS"><code class="literal">G_SOCKET_MSG_PEEK</code></a> in <em class="parameter"><code>flags</code></em>
|
1285
|
+
to peek at the current message without
|
1286
|
+
removing it from the receive queue, but there is no portable way to find
|
1287
|
+
out the length of the message other than by reading it into a
|
1288
|
+
sufficiently-large buffer.</p>
|
1289
|
+
<p>If the socket is in blocking mode the call will block until there
|
1290
|
+
is some data to receive, the connection is closed, or there is an
|
1291
|
+
error. If there is no data available and the socket is in
|
1292
|
+
non-blocking mode, a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error will be
|
1293
|
+
returned. To be notified when data is available, wait for the
|
1294
|
+
<code class="literal">G_IO_IN</code> condition.</p>
|
1295
|
+
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1296
|
+
is set accordingly.</p>
|
1297
|
+
<div class="refsect3">
|
1298
|
+
<a name="id-1.4.13.2.10.12.15"></a><h4>Parameters</h4>
|
1299
|
+
<div class="informaltable"><table width="100%" border="0">
|
1300
|
+
<colgroup>
|
1301
|
+
<col width="150px" class="parameters_name">
|
1302
|
+
<col class="parameters_description">
|
1303
|
+
<col width="200px" class="parameters_annotations">
|
1304
|
+
</colgroup>
|
1305
|
+
<tbody>
|
1306
|
+
<tr>
|
1307
|
+
<td class="parameter_name"><p>socket</p></td>
|
1308
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1309
|
+
<td class="parameter_annotations"> </td>
|
1310
|
+
</tr>
|
1311
|
+
<tr>
|
1312
|
+
<td class="parameter_name"><p>address</p></td>
|
1313
|
+
<td class="parameter_description"><p> a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1314
|
+
pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1315
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1316
|
+
</tr>
|
1317
|
+
<tr>
|
1318
|
+
<td class="parameter_name"><p>vectors</p></td>
|
1319
|
+
<td class="parameter_description"><p> an array of <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> structs. </p></td>
|
1320
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_vectors]</span></td>
|
1321
|
+
</tr>
|
1322
|
+
<tr>
|
1323
|
+
<td class="parameter_name"><p>num_vectors</p></td>
|
1324
|
+
<td class="parameter_description"><p>the number of elements in <em class="parameter"><code>vectors</code></em>
|
1325
|
+
, or -1</p></td>
|
1326
|
+
<td class="parameter_annotations"> </td>
|
1327
|
+
</tr>
|
1328
|
+
<tr>
|
1329
|
+
<td class="parameter_name"><p>messages</p></td>
|
1330
|
+
<td class="parameter_description"><p> a pointer which
|
1331
|
+
may be filled with an array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1332
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1333
|
+
</tr>
|
1334
|
+
<tr>
|
1335
|
+
<td class="parameter_name"><p>num_messages</p></td>
|
1336
|
+
<td class="parameter_description"><p>a pointer which will be filled with the number of
|
1337
|
+
elements in <em class="parameter"><code>messages</code></em>
|
1338
|
+
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1339
|
+
<td class="parameter_annotations"> </td>
|
1340
|
+
</tr>
|
1341
|
+
<tr>
|
1342
|
+
<td class="parameter_name"><p>flags</p></td>
|
1343
|
+
<td class="parameter_description"><p>a pointer to an int containing <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</p></td>
|
1344
|
+
<td class="parameter_annotations"> </td>
|
1345
|
+
</tr>
|
1346
|
+
<tr>
|
1347
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1348
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1349
|
+
<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>
|
1350
|
+
</tr>
|
1351
|
+
<tr>
|
1352
|
+
<td class="parameter_name"><p>error</p></td>
|
1353
|
+
<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>
|
1354
|
+
<td class="parameter_annotations"> </td>
|
1355
|
+
</tr>
|
1356
|
+
</tbody>
|
1357
|
+
</table></div>
|
1358
|
+
</div>
|
1359
|
+
<div class="refsect3">
|
1360
|
+
<a name="id-1.4.13.2.10.12.16"></a><h4>Returns</h4>
|
1361
|
+
<p> Number of bytes read, or 0 if the connection was closed by
|
1362
|
+
the peer, or -1 on error</p>
|
1363
|
+
<p></p>
|
1364
|
+
</div>
|
1365
|
+
<p class="since">Since 2.22</p>
|
1366
|
+
</div>
|
1367
|
+
<hr>
|
1368
|
+
<div class="refsect2">
|
1369
|
+
<a name="g-socket-receive-with-blocking"></a><h3>g_socket_receive_with_blocking ()</h3>
|
1370
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1371
|
+
g_socket_receive_with_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1372
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1373
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1374
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
1375
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1376
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1377
|
+
<p>This behaves exactly the same as <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>, except that
|
1378
|
+
the choice of blocking or non-blocking behavior is determined by
|
1379
|
+
the <em class="parameter"><code>blocking</code></em>
|
1380
|
+
argument rather than by <em class="parameter"><code>socket</code></em>
|
1381
|
+
's properties.</p>
|
1382
|
+
<div class="refsect3">
|
1383
|
+
<a name="id-1.4.13.2.10.13.5"></a><h4>Parameters</h4>
|
1384
|
+
<div class="informaltable"><table width="100%" border="0">
|
1385
|
+
<colgroup>
|
1386
|
+
<col width="150px" class="parameters_name">
|
1387
|
+
<col class="parameters_description">
|
1388
|
+
<col width="200px" class="parameters_annotations">
|
1389
|
+
</colgroup>
|
1390
|
+
<tbody>
|
1391
|
+
<tr>
|
1392
|
+
<td class="parameter_name"><p>socket</p></td>
|
1393
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1394
|
+
<td class="parameter_annotations"> </td>
|
1395
|
+
</tr>
|
1396
|
+
<tr>
|
1397
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1398
|
+
<td class="parameter_description"><p> a buffer to
|
1399
|
+
read data into (which should be at least <em class="parameter"><code>size</code></em>
|
1400
|
+
bytes long). </p></td>
|
1401
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
1402
|
+
</tr>
|
1403
|
+
<tr>
|
1404
|
+
<td class="parameter_name"><p>size</p></td>
|
1405
|
+
<td class="parameter_description"><p>the number of bytes you want to read from the socket</p></td>
|
1406
|
+
<td class="parameter_annotations"> </td>
|
1407
|
+
</tr>
|
1408
|
+
<tr>
|
1409
|
+
<td class="parameter_name"><p>blocking</p></td>
|
1410
|
+
<td class="parameter_description"><p>whether to do blocking or non-blocking I/O</p></td>
|
1411
|
+
<td class="parameter_annotations"> </td>
|
1412
|
+
</tr>
|
1413
|
+
<tr>
|
1414
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1415
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1416
|
+
<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>
|
1417
|
+
</tr>
|
1418
|
+
<tr>
|
1419
|
+
<td class="parameter_name"><p>error</p></td>
|
1420
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1421
|
+
<td class="parameter_annotations"> </td>
|
1422
|
+
</tr>
|
1423
|
+
</tbody>
|
1424
|
+
</table></div>
|
1425
|
+
</div>
|
1426
|
+
<div class="refsect3">
|
1427
|
+
<a name="id-1.4.13.2.10.13.6"></a><h4>Returns</h4>
|
1428
|
+
<p> Number of bytes read, or 0 if the connection was closed by
|
1429
|
+
the peer, or -1 on error</p>
|
1430
|
+
<p></p>
|
1431
|
+
</div>
|
1432
|
+
<p class="since">Since 2.26</p>
|
1433
|
+
</div>
|
1434
|
+
<hr>
|
1435
|
+
<div class="refsect2">
|
1436
|
+
<a name="g-socket-send"></a><h3>g_socket_send ()</h3>
|
1437
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1438
|
+
g_socket_send (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1439
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1440
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1441
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1442
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1443
|
+
<p>Tries to send <em class="parameter"><code>size</code></em>
|
1444
|
+
bytes from <em class="parameter"><code>buffer</code></em>
|
1445
|
+
on the socket. This is
|
1446
|
+
mainly used by connection-oriented sockets; it is identical to
|
1447
|
+
<a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()"><code class="function">g_socket_send_to()</code></a> with <em class="parameter"><code>address</code></em>
|
1448
|
+
set to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1449
|
+
<p>If the socket is in blocking mode the call will block until there is
|
1450
|
+
space for the data in the socket queue. If there is no space available
|
1451
|
+
and the socket is in non-blocking mode a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error
|
1452
|
+
will be returned. To be notified when space is available, wait for the
|
1453
|
+
<code class="literal">G_IO_OUT</code> condition. Note though that you may still receive
|
1454
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> from <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> even if you were previously
|
1455
|
+
notified of a <code class="literal">G_IO_OUT</code> condition. (On Windows in particular, this is
|
1456
|
+
very common due to the way the underlying APIs work.)</p>
|
1457
|
+
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1458
|
+
is set accordingly.</p>
|
1459
|
+
<div class="refsect3">
|
1460
|
+
<a name="id-1.4.13.2.10.14.7"></a><h4>Parameters</h4>
|
1461
|
+
<div class="informaltable"><table width="100%" border="0">
|
1462
|
+
<colgroup>
|
1463
|
+
<col width="150px" class="parameters_name">
|
1464
|
+
<col class="parameters_description">
|
1465
|
+
<col width="200px" class="parameters_annotations">
|
1466
|
+
</colgroup>
|
1467
|
+
<tbody>
|
1468
|
+
<tr>
|
1469
|
+
<td class="parameter_name"><p>socket</p></td>
|
1470
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1471
|
+
<td class="parameter_annotations"> </td>
|
1472
|
+
</tr>
|
1473
|
+
<tr>
|
1474
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1475
|
+
<td class="parameter_description"><p> the buffer
|
1476
|
+
containing the data to send. </p></td>
|
1477
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
1478
|
+
</tr>
|
1479
|
+
<tr>
|
1480
|
+
<td class="parameter_name"><p>size</p></td>
|
1481
|
+
<td class="parameter_description"><p>the number of bytes to send</p></td>
|
1482
|
+
<td class="parameter_annotations"> </td>
|
1483
|
+
</tr>
|
1484
|
+
<tr>
|
1485
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1486
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1487
|
+
<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>
|
1488
|
+
</tr>
|
1489
|
+
<tr>
|
1490
|
+
<td class="parameter_name"><p>error</p></td>
|
1491
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1492
|
+
<td class="parameter_annotations"> </td>
|
1493
|
+
</tr>
|
1494
|
+
</tbody>
|
1495
|
+
</table></div>
|
1496
|
+
</div>
|
1497
|
+
<div class="refsect3">
|
1498
|
+
<a name="id-1.4.13.2.10.14.8"></a><h4>Returns</h4>
|
1499
|
+
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1500
|
+
), or -1
|
1501
|
+
on error</p>
|
1502
|
+
<p></p>
|
1503
|
+
</div>
|
1504
|
+
<p class="since">Since 2.22</p>
|
1505
|
+
</div>
|
1506
|
+
<hr>
|
1507
|
+
<div class="refsect2">
|
1508
|
+
<a name="g-socket-send-to"></a><h3>g_socket_send_to ()</h3>
|
1509
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1510
|
+
g_socket_send_to (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1511
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
1512
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1513
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1514
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1515
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1516
|
+
<p>Tries to send <em class="parameter"><code>size</code></em>
|
1517
|
+
bytes from <em class="parameter"><code>buffer</code></em>
|
1518
|
+
to <em class="parameter"><code>address</code></em>
|
1519
|
+
. If <em class="parameter"><code>address</code></em>
|
1520
|
+
is
|
1521
|
+
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver (set by
|
1522
|
+
<a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).</p>
|
1523
|
+
<p>See <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> for additional information.</p>
|
1524
|
+
<div class="refsect3">
|
1525
|
+
<a name="id-1.4.13.2.10.15.6"></a><h4>Parameters</h4>
|
1526
|
+
<div class="informaltable"><table width="100%" border="0">
|
1527
|
+
<colgroup>
|
1528
|
+
<col width="150px" class="parameters_name">
|
1529
|
+
<col class="parameters_description">
|
1530
|
+
<col width="200px" class="parameters_annotations">
|
1531
|
+
</colgroup>
|
1532
|
+
<tbody>
|
1533
|
+
<tr>
|
1534
|
+
<td class="parameter_name"><p>socket</p></td>
|
1535
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1536
|
+
<td class="parameter_annotations"> </td>
|
1537
|
+
</tr>
|
1538
|
+
<tr>
|
1539
|
+
<td class="parameter_name"><p>address</p></td>
|
1540
|
+
<td class="parameter_description"><p> a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1541
|
+
<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>
|
1542
|
+
</tr>
|
1543
|
+
<tr>
|
1544
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1545
|
+
<td class="parameter_description"><p> the buffer
|
1546
|
+
containing the data to send. </p></td>
|
1547
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
1548
|
+
</tr>
|
1549
|
+
<tr>
|
1550
|
+
<td class="parameter_name"><p>size</p></td>
|
1551
|
+
<td class="parameter_description"><p>the number of bytes to send</p></td>
|
1552
|
+
<td class="parameter_annotations"> </td>
|
1553
|
+
</tr>
|
1554
|
+
<tr>
|
1555
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1556
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1557
|
+
<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>
|
1558
|
+
</tr>
|
1559
|
+
<tr>
|
1560
|
+
<td class="parameter_name"><p>error</p></td>
|
1561
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1562
|
+
<td class="parameter_annotations"> </td>
|
1563
|
+
</tr>
|
1564
|
+
</tbody>
|
1565
|
+
</table></div>
|
1566
|
+
</div>
|
1567
|
+
<div class="refsect3">
|
1568
|
+
<a name="id-1.4.13.2.10.15.7"></a><h4>Returns</h4>
|
1569
|
+
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1570
|
+
), or -1
|
1571
|
+
on error</p>
|
1572
|
+
<p></p>
|
1573
|
+
</div>
|
1574
|
+
<p class="since">Since 2.22</p>
|
1575
|
+
</div>
|
1576
|
+
<hr>
|
1577
|
+
<div class="refsect2">
|
1578
|
+
<a name="g-socket-send-message"></a><h3>g_socket_send_message ()</h3>
|
1579
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1580
|
+
g_socket_send_message (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1581
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
1582
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
1583
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
1584
|
+
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> **messages</code></em>,
|
1585
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_messages</code></em>,
|
1586
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>,
|
1587
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1588
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1589
|
+
<p>Send data to <em class="parameter"><code>address</code></em>
|
1590
|
+
on <em class="parameter"><code>socket</code></em>
|
1591
|
+
. This is the most complicated and
|
1592
|
+
fully-featured version of this call. For easier use, see
|
1593
|
+
<a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> and <a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()"><code class="function">g_socket_send_to()</code></a>.</p>
|
1594
|
+
<p>If <em class="parameter"><code>address</code></em>
|
1595
|
+
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver
|
1596
|
+
(set by <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).</p>
|
1597
|
+
<p><em class="parameter"><code>vectors</code></em>
|
1598
|
+
must point to an array of <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs and
|
1599
|
+
<em class="parameter"><code>num_vectors</code></em>
|
1600
|
+
must be the length of this array. (If <em class="parameter"><code>num_vectors</code></em>
|
1601
|
+
is -1,
|
1602
|
+
then <em class="parameter"><code>vectors</code></em>
|
1603
|
+
is assumed to be terminated by a <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> with a
|
1604
|
+
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.) The <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs describe the buffers
|
1605
|
+
that the sent data will be gathered from. Using multiple
|
1606
|
+
<a href="GSocket.html#GOutputVector"><span class="type">GOutputVectors</span></a> is more memory-efficient than manually copying
|
1607
|
+
data from multiple sources into a single buffer, and more
|
1608
|
+
network-efficient than making multiple calls to <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a>.</p>
|
1609
|
+
<p><em class="parameter"><code>messages</code></em>
|
1610
|
+
, if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, is taken to point to an array of <em class="parameter"><code>num_messages</code></em>
|
1611
|
+
|
1612
|
+
<a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances. These correspond to the control
|
1613
|
+
messages to be sent on the socket.
|
1614
|
+
If <em class="parameter"><code>num_messages</code></em>
|
1615
|
+
is -1 then <em class="parameter"><code>messages</code></em>
|
1616
|
+
is treated as a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
|
1617
|
+
array.</p>
|
1618
|
+
<p><em class="parameter"><code>flags</code></em>
|
1619
|
+
modify how the message is sent. The commonly available arguments
|
1620
|
+
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1621
|
+
values there are the same as the system values, and the flags
|
1622
|
+
are passed in as-is, so you can pass in system-specific flags too.</p>
|
1623
|
+
<p>If the socket is in blocking mode the call will block until there is
|
1624
|
+
space for the data in the socket queue. If there is no space available
|
1625
|
+
and the socket is in non-blocking mode a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error
|
1626
|
+
will be returned. To be notified when space is available, wait for the
|
1627
|
+
<code class="literal">G_IO_OUT</code> condition. Note though that you may still receive
|
1628
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> from <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> even if you were previously
|
1629
|
+
notified of a <code class="literal">G_IO_OUT</code> condition. (On Windows in particular, this is
|
1630
|
+
very common due to the way the underlying APIs work.)</p>
|
1631
|
+
<p>On error -1 is returned and <em class="parameter"><code>error</code></em>
|
1632
|
+
is set accordingly.</p>
|
1633
|
+
<div class="refsect3">
|
1634
|
+
<a name="id-1.4.13.2.10.16.11"></a><h4>Parameters</h4>
|
1635
|
+
<div class="informaltable"><table width="100%" border="0">
|
1636
|
+
<colgroup>
|
1637
|
+
<col width="150px" class="parameters_name">
|
1638
|
+
<col class="parameters_description">
|
1639
|
+
<col width="200px" class="parameters_annotations">
|
1640
|
+
</colgroup>
|
1641
|
+
<tbody>
|
1642
|
+
<tr>
|
1643
|
+
<td class="parameter_name"><p>socket</p></td>
|
1644
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1645
|
+
<td class="parameter_annotations"> </td>
|
1646
|
+
</tr>
|
1647
|
+
<tr>
|
1648
|
+
<td class="parameter_name"><p>address</p></td>
|
1649
|
+
<td class="parameter_description"><p> a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1650
|
+
<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>
|
1651
|
+
</tr>
|
1652
|
+
<tr>
|
1653
|
+
<td class="parameter_name"><p>vectors</p></td>
|
1654
|
+
<td class="parameter_description"><p> an array of <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs. </p></td>
|
1655
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_vectors]</span></td>
|
1656
|
+
</tr>
|
1657
|
+
<tr>
|
1658
|
+
<td class="parameter_name"><p>num_vectors</p></td>
|
1659
|
+
<td class="parameter_description"><p>the number of elements in <em class="parameter"><code>vectors</code></em>
|
1660
|
+
, or -1</p></td>
|
1661
|
+
<td class="parameter_annotations"> </td>
|
1662
|
+
</tr>
|
1663
|
+
<tr>
|
1664
|
+
<td class="parameter_name"><p>messages</p></td>
|
1665
|
+
<td class="parameter_description"><p> a pointer to an
|
1666
|
+
array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1667
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1668
|
+
</tr>
|
1669
|
+
<tr>
|
1670
|
+
<td class="parameter_name"><p>num_messages</p></td>
|
1671
|
+
<td class="parameter_description"><p>number of elements in <em class="parameter"><code>messages</code></em>
|
1672
|
+
, or -1.</p></td>
|
1673
|
+
<td class="parameter_annotations"> </td>
|
1674
|
+
</tr>
|
1675
|
+
<tr>
|
1676
|
+
<td class="parameter_name"><p>flags</p></td>
|
1677
|
+
<td class="parameter_description"><p>an int containing <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</p></td>
|
1678
|
+
<td class="parameter_annotations"> </td>
|
1679
|
+
</tr>
|
1680
|
+
<tr>
|
1681
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1682
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1683
|
+
<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>
|
1684
|
+
</tr>
|
1685
|
+
<tr>
|
1686
|
+
<td class="parameter_name"><p>error</p></td>
|
1687
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1688
|
+
<td class="parameter_annotations"> </td>
|
1689
|
+
</tr>
|
1690
|
+
</tbody>
|
1691
|
+
</table></div>
|
1692
|
+
</div>
|
1693
|
+
<div class="refsect3">
|
1694
|
+
<a name="id-1.4.13.2.10.16.12"></a><h4>Returns</h4>
|
1695
|
+
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1696
|
+
), or -1
|
1697
|
+
on error</p>
|
1698
|
+
<p></p>
|
1699
|
+
</div>
|
1700
|
+
<p class="since">Since 2.22</p>
|
1701
|
+
</div>
|
1702
|
+
<hr>
|
1703
|
+
<div class="refsect2">
|
1704
|
+
<a name="g-socket-send-with-blocking"></a><h3>g_socket_send_with_blocking ()</h3>
|
1705
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
1706
|
+
g_socket_send_with_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1707
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1708
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1709
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
1710
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1711
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1712
|
+
<p>This behaves exactly the same as <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a>, except that
|
1713
|
+
the choice of blocking or non-blocking behavior is determined by
|
1714
|
+
the <em class="parameter"><code>blocking</code></em>
|
1715
|
+
argument rather than by <em class="parameter"><code>socket</code></em>
|
1716
|
+
's properties.</p>
|
1717
|
+
<div class="refsect3">
|
1718
|
+
<a name="id-1.4.13.2.10.17.5"></a><h4>Parameters</h4>
|
1719
|
+
<div class="informaltable"><table width="100%" border="0">
|
1720
|
+
<colgroup>
|
1721
|
+
<col width="150px" class="parameters_name">
|
1722
|
+
<col class="parameters_description">
|
1723
|
+
<col width="200px" class="parameters_annotations">
|
1724
|
+
</colgroup>
|
1725
|
+
<tbody>
|
1726
|
+
<tr>
|
1727
|
+
<td class="parameter_name"><p>socket</p></td>
|
1728
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1729
|
+
<td class="parameter_annotations"> </td>
|
1730
|
+
</tr>
|
1731
|
+
<tr>
|
1732
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1733
|
+
<td class="parameter_description"><p> the buffer
|
1734
|
+
containing the data to send. </p></td>
|
1735
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
1736
|
+
</tr>
|
1737
|
+
<tr>
|
1738
|
+
<td class="parameter_name"><p>size</p></td>
|
1739
|
+
<td class="parameter_description"><p>the number of bytes to send</p></td>
|
1740
|
+
<td class="parameter_annotations"> </td>
|
1741
|
+
</tr>
|
1742
|
+
<tr>
|
1743
|
+
<td class="parameter_name"><p>blocking</p></td>
|
1744
|
+
<td class="parameter_description"><p>whether to do blocking or non-blocking I/O</p></td>
|
1745
|
+
<td class="parameter_annotations"> </td>
|
1746
|
+
</tr>
|
1747
|
+
<tr>
|
1748
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1749
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1750
|
+
<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>
|
1751
|
+
</tr>
|
1752
|
+
<tr>
|
1753
|
+
<td class="parameter_name"><p>error</p></td>
|
1754
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1755
|
+
<td class="parameter_annotations"> </td>
|
1756
|
+
</tr>
|
1757
|
+
</tbody>
|
1758
|
+
</table></div>
|
1759
|
+
</div>
|
1760
|
+
<div class="refsect3">
|
1761
|
+
<a name="id-1.4.13.2.10.17.6"></a><h4>Returns</h4>
|
1762
|
+
<p> Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>
|
1763
|
+
), or -1
|
1764
|
+
on error</p>
|
1765
|
+
<p></p>
|
1766
|
+
</div>
|
1767
|
+
<p class="since">Since 2.26</p>
|
1768
|
+
</div>
|
1769
|
+
<hr>
|
1770
|
+
<div class="refsect2">
|
1771
|
+
<a name="g-socket-close"></a><h3>g_socket_close ()</h3>
|
1772
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1773
|
+
g_socket_close (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1774
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1775
|
+
<p>Closes the socket, shutting down any active connection.</p>
|
1776
|
+
<p>Closing a socket does not wait for all outstanding I/O operations
|
1777
|
+
to finish, so the caller should not rely on them to be guaranteed
|
1778
|
+
to complete even if the close returns with no error.</p>
|
1779
|
+
<p>Once the socket is closed, all other operations will return
|
1780
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>. Closing a socket multiple times will not
|
1781
|
+
return an error.</p>
|
1782
|
+
<p>Sockets will be automatically closed when the last reference
|
1783
|
+
is dropped, but you might want to call this function to make sure
|
1784
|
+
resources are released as early as possible.</p>
|
1785
|
+
<p>Beware that due to the way that TCP works, it is possible for
|
1786
|
+
recently-sent data to be lost if either you close a socket while the
|
1787
|
+
<code class="literal">G_IO_IN</code> condition is set, or else if the remote connection tries to
|
1788
|
+
send something to you after you close the socket but before it has
|
1789
|
+
finished reading all of the data you sent. There is no easy generic
|
1790
|
+
way to avoid this problem; the easiest fix is to design the network
|
1791
|
+
protocol such that the client will never send data "out of turn".
|
1792
|
+
Another solution is for the server to half-close the connection by
|
1793
|
+
calling <a class="link" href="GSocket.html#g-socket-shutdown" title="g_socket_shutdown ()"><code class="function">g_socket_shutdown()</code></a> with only the <em class="parameter"><code>shutdown_write</code></em>
|
1794
|
+
flag set,
|
1795
|
+
and then wait for the client to notice this and close its side of the
|
1796
|
+
connection, after which the server can safely call <a class="link" href="GSocket.html#g-socket-close" title="g_socket_close ()"><code class="function">g_socket_close()</code></a>.
|
1797
|
+
(This is what <a class="link" href="GTcpConnection.html" title="GTcpConnection"><span class="type">GTcpConnection</span></a> does if you call
|
1798
|
+
<a class="link" href="GTcpConnection.html#g-tcp-connection-set-graceful-disconnect" title="g_tcp_connection_set_graceful_disconnect ()"><code class="function">g_tcp_connection_set_graceful_disconnect()</code></a>. But of course, this
|
1799
|
+
only works if the client will close its connection after the server
|
1800
|
+
does.)</p>
|
1801
|
+
<div class="refsect3">
|
1802
|
+
<a name="id-1.4.13.2.10.18.9"></a><h4>Parameters</h4>
|
1803
|
+
<div class="informaltable"><table width="100%" border="0">
|
1804
|
+
<colgroup>
|
1805
|
+
<col width="150px" class="parameters_name">
|
1806
|
+
<col class="parameters_description">
|
1807
|
+
<col width="200px" class="parameters_annotations">
|
1808
|
+
</colgroup>
|
1809
|
+
<tbody>
|
1810
|
+
<tr>
|
1811
|
+
<td class="parameter_name"><p>socket</p></td>
|
1812
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1813
|
+
<td class="parameter_annotations"> </td>
|
1814
|
+
</tr>
|
1815
|
+
<tr>
|
1816
|
+
<td class="parameter_name"><p>error</p></td>
|
1817
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1818
|
+
<td class="parameter_annotations"> </td>
|
1819
|
+
</tr>
|
1820
|
+
</tbody>
|
1821
|
+
</table></div>
|
1822
|
+
</div>
|
1823
|
+
<div class="refsect3">
|
1824
|
+
<a name="id-1.4.13.2.10.18.10"></a><h4>Returns</h4>
|
1825
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</p>
|
1826
|
+
<p></p>
|
1827
|
+
</div>
|
1828
|
+
<p class="since">Since 2.22</p>
|
1829
|
+
</div>
|
1830
|
+
<hr>
|
1831
|
+
<div class="refsect2">
|
1832
|
+
<a name="g-socket-is-closed"></a><h3>g_socket_is_closed ()</h3>
|
1833
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1834
|
+
g_socket_is_closed (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1835
|
+
<p>Checks whether a socket is closed.</p>
|
1836
|
+
<div class="refsect3">
|
1837
|
+
<a name="id-1.4.13.2.10.19.5"></a><h4>Parameters</h4>
|
1838
|
+
<div class="informaltable"><table width="100%" border="0">
|
1839
|
+
<colgroup>
|
1840
|
+
<col width="150px" class="parameters_name">
|
1841
|
+
<col class="parameters_description">
|
1842
|
+
<col width="200px" class="parameters_annotations">
|
1843
|
+
</colgroup>
|
1844
|
+
<tbody><tr>
|
1845
|
+
<td class="parameter_name"><p>socket</p></td>
|
1846
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1847
|
+
<td class="parameter_annotations"> </td>
|
1848
|
+
</tr></tbody>
|
1849
|
+
</table></div>
|
1850
|
+
</div>
|
1851
|
+
<div class="refsect3">
|
1852
|
+
<a name="id-1.4.13.2.10.19.6"></a><h4>Returns</h4>
|
1853
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is closed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1854
|
+
<p></p>
|
1855
|
+
</div>
|
1856
|
+
<p class="since">Since 2.22</p>
|
1857
|
+
</div>
|
1858
|
+
<hr>
|
1859
|
+
<div class="refsect2">
|
1860
|
+
<a name="g-socket-shutdown"></a><h3>g_socket_shutdown ()</h3>
|
1861
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1862
|
+
g_socket_shutdown (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1863
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
1864
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
1865
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1866
|
+
<p>Shut down part of a full-duplex connection.</p>
|
1867
|
+
<p>If <em class="parameter"><code>shutdown_read</code></em>
|
1868
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the receiving side of the connection
|
1869
|
+
is shut down, and further reading is disallowed.</p>
|
1870
|
+
<p>If <em class="parameter"><code>shutdown_write</code></em>
|
1871
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the sending side of the connection
|
1872
|
+
is shut down, and further writing is disallowed.</p>
|
1873
|
+
<p>It is allowed for both <em class="parameter"><code>shutdown_read</code></em>
|
1874
|
+
and <em class="parameter"><code>shutdown_write</code></em>
|
1875
|
+
to be <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
1876
|
+
<p>One example where this is used is graceful disconnect for TCP connections
|
1877
|
+
where you close the sending side, then wait for the other side to close
|
1878
|
+
the connection, thus ensuring that the other side saw all sent data.</p>
|
1879
|
+
<div class="refsect3">
|
1880
|
+
<a name="id-1.4.13.2.10.20.9"></a><h4>Parameters</h4>
|
1881
|
+
<div class="informaltable"><table width="100%" border="0">
|
1882
|
+
<colgroup>
|
1883
|
+
<col width="150px" class="parameters_name">
|
1884
|
+
<col class="parameters_description">
|
1885
|
+
<col width="200px" class="parameters_annotations">
|
1886
|
+
</colgroup>
|
1887
|
+
<tbody>
|
1888
|
+
<tr>
|
1889
|
+
<td class="parameter_name"><p>socket</p></td>
|
1890
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1891
|
+
<td class="parameter_annotations"> </td>
|
1892
|
+
</tr>
|
1893
|
+
<tr>
|
1894
|
+
<td class="parameter_name"><p>shutdown_read</p></td>
|
1895
|
+
<td class="parameter_description"><p>whether to shut down the read side</p></td>
|
1896
|
+
<td class="parameter_annotations"> </td>
|
1897
|
+
</tr>
|
1898
|
+
<tr>
|
1899
|
+
<td class="parameter_name"><p>shutdown_write</p></td>
|
1900
|
+
<td class="parameter_description"><p>whether to shut down the write side</p></td>
|
1901
|
+
<td class="parameter_annotations"> </td>
|
1902
|
+
</tr>
|
1903
|
+
<tr>
|
1904
|
+
<td class="parameter_name"><p>error</p></td>
|
1905
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
1906
|
+
<td class="parameter_annotations"> </td>
|
1907
|
+
</tr>
|
1908
|
+
</tbody>
|
1909
|
+
</table></div>
|
1910
|
+
</div>
|
1911
|
+
<div class="refsect3">
|
1912
|
+
<a name="id-1.4.13.2.10.20.10"></a><h4>Returns</h4>
|
1913
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</p>
|
1914
|
+
<p></p>
|
1915
|
+
</div>
|
1916
|
+
<p class="since">Since 2.22</p>
|
1917
|
+
</div>
|
1918
|
+
<hr>
|
1919
|
+
<div class="refsect2">
|
1920
|
+
<a name="g-socket-is-connected"></a><h3>g_socket_is_connected ()</h3>
|
1921
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1922
|
+
g_socket_is_connected (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1923
|
+
<p>Check whether the socket is connected. This is only useful for
|
1924
|
+
connection-oriented sockets.</p>
|
1925
|
+
<div class="refsect3">
|
1926
|
+
<a name="id-1.4.13.2.10.21.5"></a><h4>Parameters</h4>
|
1927
|
+
<div class="informaltable"><table width="100%" border="0">
|
1928
|
+
<colgroup>
|
1929
|
+
<col width="150px" class="parameters_name">
|
1930
|
+
<col class="parameters_description">
|
1931
|
+
<col width="200px" class="parameters_annotations">
|
1932
|
+
</colgroup>
|
1933
|
+
<tbody><tr>
|
1934
|
+
<td class="parameter_name"><p>socket</p></td>
|
1935
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
1936
|
+
<td class="parameter_annotations"> </td>
|
1937
|
+
</tr></tbody>
|
1938
|
+
</table></div>
|
1939
|
+
</div>
|
1940
|
+
<div class="refsect3">
|
1941
|
+
<a name="id-1.4.13.2.10.21.6"></a><h4>Returns</h4>
|
1942
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is connected, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1943
|
+
<p></p>
|
1944
|
+
</div>
|
1945
|
+
<p class="since">Since 2.22</p>
|
1946
|
+
</div>
|
1947
|
+
<hr>
|
1948
|
+
<div class="refsect2">
|
1949
|
+
<a name="g-socket-create-source"></a><h3>g_socket_create_source ()</h3>
|
1950
|
+
<pre class="programlisting"><a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> *
|
1951
|
+
g_socket_create_source (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1952
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1953
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);</pre>
|
1954
|
+
<p>Creates a <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> that can be attached to a <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><code class="literal">GMainContext</code></a> to monitor
|
1955
|
+
for the availability of the specified <em class="parameter"><code>condition</code></em>
|
1956
|
+
on the socket. The <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a>
|
1957
|
+
keeps a reference to the <em class="parameter"><code>socket</code></em>
|
1958
|
+
.</p>
|
1959
|
+
<p>The callback on the source is of the <a class="link" href="GSocket.html#GSocketSourceFunc" title="GSocketSourceFunc ()"><span class="type">GSocketSourceFunc</span></a> type.</p>
|
1960
|
+
<p>It is meaningless to specify <code class="literal">G_IO_ERR</code> or <code class="literal">G_IO_HUP</code> in <em class="parameter"><code>condition</code></em>
|
1961
|
+
;
|
1962
|
+
these conditions will always be reported output if they are true.</p>
|
1963
|
+
<p><em class="parameter"><code>cancellable</code></em>
|
1964
|
+
if not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be used to cancel the source, which will
|
1965
|
+
cause the source to trigger, reporting the current condition (which
|
1966
|
+
is likely 0 unless cancellation happened at the same time as a
|
1967
|
+
condition change). You can check for this in the callback using
|
1968
|
+
<a class="link" href="GCancellable.html#g-cancellable-is-cancelled" title="g_cancellable_is_cancelled ()"><code class="function">g_cancellable_is_cancelled()</code></a>.</p>
|
1969
|
+
<p>If <em class="parameter"><code>socket</code></em>
|
1970
|
+
has a timeout set, and it is reached before <em class="parameter"><code>condition</code></em>
|
1971
|
+
|
1972
|
+
occurs, the source will then trigger anyway, reporting <code class="literal">G_IO_IN</code> or
|
1973
|
+
<code class="literal">G_IO_OUT</code> depending on <em class="parameter"><code>condition</code></em>
|
1974
|
+
. However, <em class="parameter"><code>socket</code></em>
|
1975
|
+
will have been
|
1976
|
+
marked as having had a timeout, and so the next <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> I/O method
|
1977
|
+
you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>.</p>
|
1978
|
+
<div class="refsect3">
|
1979
|
+
<a name="id-1.4.13.2.10.22.9"></a><h4>Parameters</h4>
|
1980
|
+
<div class="informaltable"><table width="100%" border="0">
|
1981
|
+
<colgroup>
|
1982
|
+
<col width="150px" class="parameters_name">
|
1983
|
+
<col class="parameters_description">
|
1984
|
+
<col width="200px" class="parameters_annotations">
|
1985
|
+
</colgroup>
|
1986
|
+
<tbody>
|
1987
|
+
<tr>
|
1988
|
+
<td class="parameter_name"><p>socket</p></td>
|
1989
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
1990
|
+
<td class="parameter_annotations"> </td>
|
1991
|
+
</tr>
|
1992
|
+
<tr>
|
1993
|
+
<td class="parameter_name"><p>condition</p></td>
|
1994
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to monitor</p></td>
|
1995
|
+
<td class="parameter_annotations"> </td>
|
1996
|
+
</tr>
|
1997
|
+
<tr>
|
1998
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1999
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2000
|
+
<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>
|
2001
|
+
</tr>
|
2002
|
+
</tbody>
|
2003
|
+
</table></div>
|
2004
|
+
</div>
|
2005
|
+
<div class="refsect3">
|
2006
|
+
<a name="id-1.4.13.2.10.22.10"></a><h4>Returns</h4>
|
2007
|
+
<p> a newly allocated <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><code class="literal">GSource</code></a>, free with <a href="../glib/glib-The-Main-Event-Loop.html#g-source-unref"><code class="function">g_source_unref()</code></a>. </p>
|
2008
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2009
|
+
</div>
|
2010
|
+
<p class="since">Since 2.22</p>
|
2011
|
+
</div>
|
2012
|
+
<hr>
|
2013
|
+
<div class="refsect2">
|
2014
|
+
<a name="g-socket-condition-check"></a><h3>g_socket_condition_check ()</h3>
|
2015
|
+
<pre class="programlisting"><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="returnvalue">GIOCondition</span></a>
|
2016
|
+
g_socket_condition_check (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2017
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>);</pre>
|
2018
|
+
<p>Checks on the readiness of <em class="parameter"><code>socket</code></em>
|
2019
|
+
to perform operations.
|
2020
|
+
The operations specified in <em class="parameter"><code>condition</code></em>
|
2021
|
+
are checked for and masked
|
2022
|
+
against the currently-satisfied conditions on <em class="parameter"><code>socket</code></em>
|
2023
|
+
. The result
|
2024
|
+
is returned.</p>
|
2025
|
+
<p>Note that on Windows, it is possible for an operation to return
|
2026
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> even immediately after
|
2027
|
+
<a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()"><code class="function">g_socket_condition_check()</code></a> has claimed that the socket is ready for
|
2028
|
+
writing. Rather than calling <a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()"><code class="function">g_socket_condition_check()</code></a> and then
|
2029
|
+
writing to the socket if it succeeds, it is generally better to
|
2030
|
+
simply try writing to the socket right away, and try again later if
|
2031
|
+
the initial attempt returns <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a>.</p>
|
2032
|
+
<p>It is meaningless to specify <code class="literal">G_IO_ERR</code> or <code class="literal">G_IO_HUP</code> in condition;
|
2033
|
+
these conditions will always be set in the output if they are true.</p>
|
2034
|
+
<p>This call never blocks.</p>
|
2035
|
+
<div class="refsect3">
|
2036
|
+
<a name="id-1.4.13.2.10.23.8"></a><h4>Parameters</h4>
|
2037
|
+
<div class="informaltable"><table width="100%" border="0">
|
2038
|
+
<colgroup>
|
2039
|
+
<col width="150px" class="parameters_name">
|
2040
|
+
<col class="parameters_description">
|
2041
|
+
<col width="200px" class="parameters_annotations">
|
2042
|
+
</colgroup>
|
2043
|
+
<tbody>
|
2044
|
+
<tr>
|
2045
|
+
<td class="parameter_name"><p>socket</p></td>
|
2046
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
2047
|
+
<td class="parameter_annotations"> </td>
|
2048
|
+
</tr>
|
2049
|
+
<tr>
|
2050
|
+
<td class="parameter_name"><p>condition</p></td>
|
2051
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to check</p></td>
|
2052
|
+
<td class="parameter_annotations"> </td>
|
2053
|
+
</tr>
|
2054
|
+
</tbody>
|
2055
|
+
</table></div>
|
2056
|
+
</div>
|
2057
|
+
<div class="refsect3">
|
2058
|
+
<a name="id-1.4.13.2.10.23.9"></a><h4>Returns</h4>
|
2059
|
+
<p> the <em class="parameter"><code>GIOCondition</code></em>
|
2060
|
+
mask of the current state</p>
|
2061
|
+
<p></p>
|
2062
|
+
</div>
|
2063
|
+
<p class="since">Since 2.22</p>
|
2064
|
+
</div>
|
2065
|
+
<hr>
|
2066
|
+
<div class="refsect2">
|
2067
|
+
<a name="g-socket-condition-wait"></a><h3>g_socket_condition_wait ()</h3>
|
2068
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2069
|
+
g_socket_condition_wait (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2070
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
2071
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
2072
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2073
|
+
<p>Waits for <em class="parameter"><code>condition</code></em>
|
2074
|
+
to become true on <em class="parameter"><code>socket</code></em>
|
2075
|
+
. When the condition
|
2076
|
+
is met, <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned.</p>
|
2077
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
2078
|
+
is cancelled before the condition is met, or if the
|
2079
|
+
socket has a timeout set and it is reached before the condition is
|
2080
|
+
met, then <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>
|
2081
|
+
, if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, is set to
|
2082
|
+
the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> or
|
2083
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>).</p>
|
2084
|
+
<p>See also <a class="link" href="GSocket.html#g-socket-condition-timed-wait" title="g_socket_condition_timed_wait ()"><code class="function">g_socket_condition_timed_wait()</code></a>.</p>
|
2085
|
+
<div class="refsect3">
|
2086
|
+
<a name="id-1.4.13.2.10.24.7"></a><h4>Parameters</h4>
|
2087
|
+
<div class="informaltable"><table width="100%" border="0">
|
2088
|
+
<colgroup>
|
2089
|
+
<col width="150px" class="parameters_name">
|
2090
|
+
<col class="parameters_description">
|
2091
|
+
<col width="200px" class="parameters_annotations">
|
2092
|
+
</colgroup>
|
2093
|
+
<tbody>
|
2094
|
+
<tr>
|
2095
|
+
<td class="parameter_name"><p>socket</p></td>
|
2096
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
2097
|
+
<td class="parameter_annotations"> </td>
|
2098
|
+
</tr>
|
2099
|
+
<tr>
|
2100
|
+
<td class="parameter_name"><p>condition</p></td>
|
2101
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for</p></td>
|
2102
|
+
<td class="parameter_annotations"> </td>
|
2103
|
+
</tr>
|
2104
|
+
<tr>
|
2105
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
2106
|
+
<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>
|
2107
|
+
<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>
|
2108
|
+
</tr>
|
2109
|
+
<tr>
|
2110
|
+
<td class="parameter_name"><p>error</p></td>
|
2111
|
+
<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>
|
2112
|
+
<td class="parameter_annotations"> </td>
|
2113
|
+
</tr>
|
2114
|
+
</tbody>
|
2115
|
+
</table></div>
|
2116
|
+
</div>
|
2117
|
+
<div class="refsect3">
|
2118
|
+
<a name="id-1.4.13.2.10.24.8"></a><h4>Returns</h4>
|
2119
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
2120
|
+
<p></p>
|
2121
|
+
</div>
|
2122
|
+
<p class="since">Since 2.22</p>
|
2123
|
+
</div>
|
2124
|
+
<hr>
|
2125
|
+
<div class="refsect2">
|
2126
|
+
<a name="g-socket-condition-timed-wait"></a><h3>g_socket_condition_timed_wait ()</h3>
|
2127
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2128
|
+
g_socket_condition_timed_wait (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2129
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
2130
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> timeout</code></em>,
|
2131
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
2132
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2133
|
+
<p>Waits for up to <em class="parameter"><code>timeout</code></em>
|
2134
|
+
microseconds for <em class="parameter"><code>condition</code></em>
|
2135
|
+
to become true
|
2136
|
+
on <em class="parameter"><code>socket</code></em>
|
2137
|
+
. If the condition is met, <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned.</p>
|
2138
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
2139
|
+
is cancelled before the condition is met, or if
|
2140
|
+
<em class="parameter"><code>timeout</code></em>
|
2141
|
+
(or the socket's <a class="link" href="GSocket.html#GSocket--timeout" title="The “timeout” property"><span class="type">“timeout”</span></a>) is reached before the
|
2142
|
+
condition is met, then <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>
|
2143
|
+
, if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
2144
|
+
is set to the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> or
|
2145
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>).</p>
|
2146
|
+
<p>If you don't want a timeout, use <a class="link" href="GSocket.html#g-socket-condition-wait" title="g_socket_condition_wait ()"><code class="function">g_socket_condition_wait()</code></a>.
|
2147
|
+
(Alternatively, you can pass -1 for <em class="parameter"><code>timeout</code></em>
|
2148
|
+
.)</p>
|
2149
|
+
<p>Note that although <em class="parameter"><code>timeout</code></em>
|
2150
|
+
is in microseconds for consistency with
|
2151
|
+
other GLib APIs, this function actually only has millisecond
|
2152
|
+
resolution, and the behavior is undefined if <em class="parameter"><code>timeout</code></em>
|
2153
|
+
is not an
|
2154
|
+
exact number of milliseconds.</p>
|
2155
|
+
<div class="refsect3">
|
2156
|
+
<a name="id-1.4.13.2.10.25.8"></a><h4>Parameters</h4>
|
2157
|
+
<div class="informaltable"><table width="100%" border="0">
|
2158
|
+
<colgroup>
|
2159
|
+
<col width="150px" class="parameters_name">
|
2160
|
+
<col class="parameters_description">
|
2161
|
+
<col width="200px" class="parameters_annotations">
|
2162
|
+
</colgroup>
|
2163
|
+
<tbody>
|
2164
|
+
<tr>
|
2165
|
+
<td class="parameter_name"><p>socket</p></td>
|
2166
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
2167
|
+
<td class="parameter_annotations"> </td>
|
2168
|
+
</tr>
|
2169
|
+
<tr>
|
2170
|
+
<td class="parameter_name"><p>condition</p></td>
|
2171
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for</p></td>
|
2172
|
+
<td class="parameter_annotations"> </td>
|
2173
|
+
</tr>
|
2174
|
+
<tr>
|
2175
|
+
<td class="parameter_name"><p>timeout</p></td>
|
2176
|
+
<td class="parameter_description"><p>the maximum time (in microseconds) to wait, or -1</p></td>
|
2177
|
+
<td class="parameter_annotations"> </td>
|
2178
|
+
</tr>
|
2179
|
+
<tr>
|
2180
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
2181
|
+
<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>
|
2182
|
+
<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>
|
2183
|
+
</tr>
|
2184
|
+
<tr>
|
2185
|
+
<td class="parameter_name"><p>error</p></td>
|
2186
|
+
<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>
|
2187
|
+
<td class="parameter_annotations"> </td>
|
2188
|
+
</tr>
|
2189
|
+
</tbody>
|
2190
|
+
</table></div>
|
2191
|
+
</div>
|
2192
|
+
<div class="refsect3">
|
2193
|
+
<a name="id-1.4.13.2.10.25.9"></a><h4>Returns</h4>
|
2194
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
2195
|
+
<p></p>
|
2196
|
+
</div>
|
2197
|
+
<p class="since">Since 2.32</p>
|
2198
|
+
</div>
|
2199
|
+
<hr>
|
2200
|
+
<div class="refsect2">
|
2201
|
+
<a name="g-socket-get-available-bytes"></a><h3>g_socket_get_available_bytes ()</h3>
|
2202
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
2203
|
+
g_socket_get_available_bytes (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2204
|
+
<p>Get the amount of data pending in the OS input buffer.</p>
|
2205
|
+
<p>If <em class="parameter"><code>socket</code></em>
|
2206
|
+
is a UDP or SCTP socket, this will return the size of
|
2207
|
+
just the next packet, even if additional packets are buffered after
|
2208
|
+
that one.</p>
|
2209
|
+
<p>Note that on Windows, this function is rather inefficient in the
|
2210
|
+
UDP case, and so if you know any plausible upper bound on the size
|
2211
|
+
of the incoming packet, it is better to just do a
|
2212
|
+
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> with a buffer of that size, rather than calling
|
2213
|
+
<a class="link" href="GSocket.html#g-socket-get-available-bytes" title="g_socket_get_available_bytes ()"><code class="function">g_socket_get_available_bytes()</code></a> first and then doing a receive of
|
2214
|
+
exactly the right size.</p>
|
2215
|
+
<div class="refsect3">
|
2216
|
+
<a name="id-1.4.13.2.10.26.7"></a><h4>Parameters</h4>
|
2217
|
+
<div class="informaltable"><table width="100%" border="0">
|
2218
|
+
<colgroup>
|
2219
|
+
<col width="150px" class="parameters_name">
|
2220
|
+
<col class="parameters_description">
|
2221
|
+
<col width="200px" class="parameters_annotations">
|
2222
|
+
</colgroup>
|
2223
|
+
<tbody><tr>
|
2224
|
+
<td class="parameter_name"><p>socket</p></td>
|
2225
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
2226
|
+
<td class="parameter_annotations"> </td>
|
2227
|
+
</tr></tbody>
|
2228
|
+
</table></div>
|
2229
|
+
</div>
|
2230
|
+
<div class="refsect3">
|
2231
|
+
<a name="id-1.4.13.2.10.26.8"></a><h4>Returns</h4>
|
2232
|
+
<p> the number of bytes that can be read from the socket
|
2233
|
+
without blocking or truncating, or -1 on error.</p>
|
2234
|
+
<p></p>
|
2235
|
+
</div>
|
2236
|
+
<p class="since">Since 2.32</p>
|
2237
|
+
</div>
|
2238
|
+
<hr>
|
2239
|
+
<div class="refsect2">
|
2240
|
+
<a name="g-socket-set-listen-backlog"></a><h3>g_socket_set_listen_backlog ()</h3>
|
2241
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2242
|
+
g_socket_set_listen_backlog (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2243
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> backlog</code></em>);</pre>
|
2244
|
+
<p>Sets the maximum number of outstanding connections allowed
|
2245
|
+
when listening on this socket. If more clients than this are
|
2246
|
+
connecting to the socket and the application is not handling them
|
2247
|
+
on time then the new connections will be refused.</p>
|
2248
|
+
<p>Note that this must be called before <a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()"><code class="function">g_socket_listen()</code></a> and has no
|
2249
|
+
effect if called after that.</p>
|
2250
|
+
<div class="refsect3">
|
2251
|
+
<a name="id-1.4.13.2.10.27.6"></a><h4>Parameters</h4>
|
2252
|
+
<div class="informaltable"><table width="100%" border="0">
|
2253
|
+
<colgroup>
|
2254
|
+
<col width="150px" class="parameters_name">
|
2255
|
+
<col class="parameters_description">
|
2256
|
+
<col width="200px" class="parameters_annotations">
|
2257
|
+
</colgroup>
|
2258
|
+
<tbody>
|
2259
|
+
<tr>
|
2260
|
+
<td class="parameter_name"><p>socket</p></td>
|
2261
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2262
|
+
<td class="parameter_annotations"> </td>
|
2263
|
+
</tr>
|
2264
|
+
<tr>
|
2265
|
+
<td class="parameter_name"><p>backlog</p></td>
|
2266
|
+
<td class="parameter_description"><p>the maximum number of pending connections.</p></td>
|
2267
|
+
<td class="parameter_annotations"> </td>
|
2268
|
+
</tr>
|
2269
|
+
</tbody>
|
2270
|
+
</table></div>
|
2271
|
+
</div>
|
2272
|
+
<p class="since">Since 2.22</p>
|
2273
|
+
</div>
|
2274
|
+
<hr>
|
2275
|
+
<div class="refsect2">
|
2276
|
+
<a name="g-socket-get-listen-backlog"></a><h3>g_socket_get_listen_backlog ()</h3>
|
2277
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
2278
|
+
g_socket_get_listen_backlog (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2279
|
+
<p>Gets the listen backlog setting of the socket. For details on this,
|
2280
|
+
see <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()"><code class="function">g_socket_set_listen_backlog()</code></a>.</p>
|
2281
|
+
<div class="refsect3">
|
2282
|
+
<a name="id-1.4.13.2.10.28.5"></a><h4>Parameters</h4>
|
2283
|
+
<div class="informaltable"><table width="100%" border="0">
|
2284
|
+
<colgroup>
|
2285
|
+
<col width="150px" class="parameters_name">
|
2286
|
+
<col class="parameters_description">
|
2287
|
+
<col width="200px" class="parameters_annotations">
|
2288
|
+
</colgroup>
|
2289
|
+
<tbody><tr>
|
2290
|
+
<td class="parameter_name"><p>socket</p></td>
|
2291
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2292
|
+
<td class="parameter_annotations"> </td>
|
2293
|
+
</tr></tbody>
|
2294
|
+
</table></div>
|
2295
|
+
</div>
|
2296
|
+
<div class="refsect3">
|
2297
|
+
<a name="id-1.4.13.2.10.28.6"></a><h4>Returns</h4>
|
2298
|
+
<p> the maximum number of pending connections.</p>
|
2299
|
+
<p></p>
|
2300
|
+
</div>
|
2301
|
+
<p class="since">Since 2.22</p>
|
2302
|
+
</div>
|
2303
|
+
<hr>
|
2304
|
+
<div class="refsect2">
|
2305
|
+
<a name="g-socket-get-blocking"></a><h3>g_socket_get_blocking ()</h3>
|
2306
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2307
|
+
g_socket_get_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2308
|
+
<p>Gets the blocking mode of the socket. For details on blocking I/O,
|
2309
|
+
see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_set_blocking ()"><code class="function">g_socket_set_blocking()</code></a>.</p>
|
2310
|
+
<div class="refsect3">
|
2311
|
+
<a name="id-1.4.13.2.10.29.5"></a><h4>Parameters</h4>
|
2312
|
+
<div class="informaltable"><table width="100%" border="0">
|
2313
|
+
<colgroup>
|
2314
|
+
<col width="150px" class="parameters_name">
|
2315
|
+
<col class="parameters_description">
|
2316
|
+
<col width="200px" class="parameters_annotations">
|
2317
|
+
</colgroup>
|
2318
|
+
<tbody><tr>
|
2319
|
+
<td class="parameter_name"><p>socket</p></td>
|
2320
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2321
|
+
<td class="parameter_annotations"> </td>
|
2322
|
+
</tr></tbody>
|
2323
|
+
</table></div>
|
2324
|
+
</div>
|
2325
|
+
<div class="refsect3">
|
2326
|
+
<a name="id-1.4.13.2.10.29.6"></a><h4>Returns</h4>
|
2327
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if blocking I/O is used, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2328
|
+
<p></p>
|
2329
|
+
</div>
|
2330
|
+
<p class="since">Since 2.22</p>
|
2331
|
+
</div>
|
2332
|
+
<hr>
|
2333
|
+
<div class="refsect2">
|
2334
|
+
<a name="g-socket-set-blocking"></a><h3>g_socket_set_blocking ()</h3>
|
2335
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2336
|
+
g_socket_set_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2337
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);</pre>
|
2338
|
+
<p>Sets the blocking mode of the socket. In blocking mode
|
2339
|
+
all operations block until they succeed or there is an error. In
|
2340
|
+
non-blocking mode all functions return results immediately or
|
2341
|
+
with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error.</p>
|
2342
|
+
<p>All sockets are created in blocking mode. However, note that the
|
2343
|
+
platform level socket is always non-blocking, and blocking mode
|
2344
|
+
is a GSocket level feature.</p>
|
2345
|
+
<div class="refsect3">
|
2346
|
+
<a name="id-1.4.13.2.10.30.6"></a><h4>Parameters</h4>
|
2347
|
+
<div class="informaltable"><table width="100%" border="0">
|
2348
|
+
<colgroup>
|
2349
|
+
<col width="150px" class="parameters_name">
|
2350
|
+
<col class="parameters_description">
|
2351
|
+
<col width="200px" class="parameters_annotations">
|
2352
|
+
</colgroup>
|
2353
|
+
<tbody>
|
2354
|
+
<tr>
|
2355
|
+
<td class="parameter_name"><p>socket</p></td>
|
2356
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2357
|
+
<td class="parameter_annotations"> </td>
|
2358
|
+
</tr>
|
2359
|
+
<tr>
|
2360
|
+
<td class="parameter_name"><p>blocking</p></td>
|
2361
|
+
<td class="parameter_description"><p>Whether to use blocking I/O or not.</p></td>
|
2362
|
+
<td class="parameter_annotations"> </td>
|
2363
|
+
</tr>
|
2364
|
+
</tbody>
|
2365
|
+
</table></div>
|
2366
|
+
</div>
|
2367
|
+
<p class="since">Since 2.22</p>
|
2368
|
+
</div>
|
2369
|
+
<hr>
|
2370
|
+
<div class="refsect2">
|
2371
|
+
<a name="g-socket-get-keepalive"></a><h3>g_socket_get_keepalive ()</h3>
|
2372
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2373
|
+
g_socket_get_keepalive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2374
|
+
<p>Gets the keepalive mode of the socket. For details on this,
|
2375
|
+
see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_set_keepalive ()"><code class="function">g_socket_set_keepalive()</code></a>.</p>
|
2376
|
+
<div class="refsect3">
|
2377
|
+
<a name="id-1.4.13.2.10.31.5"></a><h4>Parameters</h4>
|
2378
|
+
<div class="informaltable"><table width="100%" border="0">
|
2379
|
+
<colgroup>
|
2380
|
+
<col width="150px" class="parameters_name">
|
2381
|
+
<col class="parameters_description">
|
2382
|
+
<col width="200px" class="parameters_annotations">
|
2383
|
+
</colgroup>
|
2384
|
+
<tbody><tr>
|
2385
|
+
<td class="parameter_name"><p>socket</p></td>
|
2386
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2387
|
+
<td class="parameter_annotations"> </td>
|
2388
|
+
</tr></tbody>
|
2389
|
+
</table></div>
|
2390
|
+
</div>
|
2391
|
+
<div class="refsect3">
|
2392
|
+
<a name="id-1.4.13.2.10.31.6"></a><h4>Returns</h4>
|
2393
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if keepalive is active, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2394
|
+
<p></p>
|
2395
|
+
</div>
|
2396
|
+
<p class="since">Since 2.22</p>
|
2397
|
+
</div>
|
2398
|
+
<hr>
|
2399
|
+
<div class="refsect2">
|
2400
|
+
<a name="g-socket-set-keepalive"></a><h3>g_socket_set_keepalive ()</h3>
|
2401
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2402
|
+
g_socket_set_keepalive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2403
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keepalive</code></em>);</pre>
|
2404
|
+
<p>Sets or unsets the <code class="literal">SO_KEEPALIVE</code> flag on the underlying socket. When
|
2405
|
+
this flag is set on a socket, the system will attempt to verify that the
|
2406
|
+
remote socket endpoint is still present if a sufficiently long period of
|
2407
|
+
time passes with no data being exchanged. If the system is unable to
|
2408
|
+
verify the presence of the remote endpoint, it will automatically close
|
2409
|
+
the connection.</p>
|
2410
|
+
<p>This option is only functional on certain kinds of sockets. (Notably,
|
2411
|
+
<a class="link" href="GSocket.html#G-SOCKET-PROTOCOL-TCP:CAPS"><code class="literal">G_SOCKET_PROTOCOL_TCP</code></a> sockets.)</p>
|
2412
|
+
<p>The exact time between pings is system- and protocol-dependent, but will
|
2413
|
+
normally be at least two hours. Most commonly, you would set this flag
|
2414
|
+
on a server socket if you want to allow clients to remain idle for long
|
2415
|
+
periods of time, but also want to ensure that connections are eventually
|
2416
|
+
garbage-collected if clients crash or become unreachable.</p>
|
2417
|
+
<div class="refsect3">
|
2418
|
+
<a name="id-1.4.13.2.10.32.7"></a><h4>Parameters</h4>
|
2419
|
+
<div class="informaltable"><table width="100%" border="0">
|
2420
|
+
<colgroup>
|
2421
|
+
<col width="150px" class="parameters_name">
|
2422
|
+
<col class="parameters_description">
|
2423
|
+
<col width="200px" class="parameters_annotations">
|
2424
|
+
</colgroup>
|
2425
|
+
<tbody>
|
2426
|
+
<tr>
|
2427
|
+
<td class="parameter_name"><p>socket</p></td>
|
2428
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2429
|
+
<td class="parameter_annotations"> </td>
|
2430
|
+
</tr>
|
2431
|
+
<tr>
|
2432
|
+
<td class="parameter_name"><p>keepalive</p></td>
|
2433
|
+
<td class="parameter_description"><p>Value for the keepalive flag</p></td>
|
2434
|
+
<td class="parameter_annotations"> </td>
|
2435
|
+
</tr>
|
2436
|
+
</tbody>
|
2437
|
+
</table></div>
|
2438
|
+
</div>
|
2439
|
+
<p class="since">Since 2.22</p>
|
2440
|
+
</div>
|
2441
|
+
<hr>
|
2442
|
+
<div class="refsect2">
|
2443
|
+
<a name="g-socket-get-timeout"></a><h3>g_socket_get_timeout ()</h3>
|
2444
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
2445
|
+
g_socket_get_timeout (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2446
|
+
<p>Gets the timeout setting of the socket. For details on this, see
|
2447
|
+
<a class="link" href="GSocket.html#g-socket-set-timeout" title="g_socket_set_timeout ()"><code class="function">g_socket_set_timeout()</code></a>.</p>
|
2448
|
+
<div class="refsect3">
|
2449
|
+
<a name="id-1.4.13.2.10.33.5"></a><h4>Parameters</h4>
|
2450
|
+
<div class="informaltable"><table width="100%" border="0">
|
2451
|
+
<colgroup>
|
2452
|
+
<col width="150px" class="parameters_name">
|
2453
|
+
<col class="parameters_description">
|
2454
|
+
<col width="200px" class="parameters_annotations">
|
2455
|
+
</colgroup>
|
2456
|
+
<tbody><tr>
|
2457
|
+
<td class="parameter_name"><p>socket</p></td>
|
2458
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2459
|
+
<td class="parameter_annotations"> </td>
|
2460
|
+
</tr></tbody>
|
2461
|
+
</table></div>
|
2462
|
+
</div>
|
2463
|
+
<div class="refsect3">
|
2464
|
+
<a name="id-1.4.13.2.10.33.6"></a><h4>Returns</h4>
|
2465
|
+
<p> the timeout in seconds</p>
|
2466
|
+
<p></p>
|
2467
|
+
</div>
|
2468
|
+
<p class="since">Since 2.26</p>
|
2469
|
+
</div>
|
2470
|
+
<hr>
|
2471
|
+
<div class="refsect2">
|
2472
|
+
<a name="g-socket-set-timeout"></a><h3>g_socket_set_timeout ()</h3>
|
2473
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2474
|
+
g_socket_set_timeout (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2475
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
|
2476
|
+
<p>Sets the time in seconds after which I/O operations on <em class="parameter"><code>socket</code></em>
|
2477
|
+
will
|
2478
|
+
time out if they have not yet completed.</p>
|
2479
|
+
<p>On a blocking socket, this means that any blocking <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>
|
2480
|
+
operation will time out after <em class="parameter"><code>timeout</code></em>
|
2481
|
+
seconds of inactivity,
|
2482
|
+
returning <a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>.</p>
|
2483
|
+
<p>On a non-blocking socket, calls to <a class="link" href="GSocket.html#g-socket-condition-wait" title="g_socket_condition_wait ()"><code class="function">g_socket_condition_wait()</code></a> will
|
2484
|
+
also fail with <a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a> after the given time. Sources
|
2485
|
+
created with <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()"><code class="function">g_socket_create_source()</code></a> will trigger after
|
2486
|
+
<em class="parameter"><code>timeout</code></em>
|
2487
|
+
seconds of inactivity, with the requested condition
|
2488
|
+
set, at which point calling <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>, <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a>,
|
2489
|
+
<a class="link" href="GSocket.html#g-socket-check-connect-result" title="g_socket_check_connect_result ()"><code class="function">g_socket_check_connect_result()</code></a>, etc, will fail with
|
2490
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>.</p>
|
2491
|
+
<p>If <em class="parameter"><code>timeout</code></em>
|
2492
|
+
is 0 (the default), operations will never time out
|
2493
|
+
on their own.</p>
|
2494
|
+
<p>Note that if an I/O operation is interrupted by a signal, this may
|
2495
|
+
cause the timeout to be reset.</p>
|
2496
|
+
<div class="refsect3">
|
2497
|
+
<a name="id-1.4.13.2.10.34.9"></a><h4>Parameters</h4>
|
2498
|
+
<div class="informaltable"><table width="100%" border="0">
|
2499
|
+
<colgroup>
|
2500
|
+
<col width="150px" class="parameters_name">
|
2501
|
+
<col class="parameters_description">
|
2502
|
+
<col width="200px" class="parameters_annotations">
|
2503
|
+
</colgroup>
|
2504
|
+
<tbody>
|
2505
|
+
<tr>
|
2506
|
+
<td class="parameter_name"><p>socket</p></td>
|
2507
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2508
|
+
<td class="parameter_annotations"> </td>
|
2509
|
+
</tr>
|
2510
|
+
<tr>
|
2511
|
+
<td class="parameter_name"><p>timeout</p></td>
|
2512
|
+
<td class="parameter_description"><p>the timeout for <em class="parameter"><code>socket</code></em>
|
2513
|
+
, in seconds, or 0 for none</p></td>
|
2514
|
+
<td class="parameter_annotations"> </td>
|
2515
|
+
</tr>
|
2516
|
+
</tbody>
|
2517
|
+
</table></div>
|
2518
|
+
</div>
|
2519
|
+
<p class="since">Since 2.26</p>
|
2520
|
+
</div>
|
2521
|
+
<hr>
|
2522
|
+
<div class="refsect2">
|
2523
|
+
<a name="g-socket-set-ttl"></a><h3>g_socket_set_ttl ()</h3>
|
2524
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2525
|
+
g_socket_set_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2526
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);</pre>
|
2527
|
+
<p>Sets the time-to-live for outgoing unicast packets on <em class="parameter"><code>socket</code></em>
|
2528
|
+
.
|
2529
|
+
By default the platform-specific default value is used.</p>
|
2530
|
+
<div class="refsect3">
|
2531
|
+
<a name="id-1.4.13.2.10.35.5"></a><h4>Parameters</h4>
|
2532
|
+
<div class="informaltable"><table width="100%" border="0">
|
2533
|
+
<colgroup>
|
2534
|
+
<col width="150px" class="parameters_name">
|
2535
|
+
<col class="parameters_description">
|
2536
|
+
<col width="200px" class="parameters_annotations">
|
2537
|
+
</colgroup>
|
2538
|
+
<tbody>
|
2539
|
+
<tr>
|
2540
|
+
<td class="parameter_name"><p>socket</p></td>
|
2541
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2542
|
+
<td class="parameter_annotations"> </td>
|
2543
|
+
</tr>
|
2544
|
+
<tr>
|
2545
|
+
<td class="parameter_name"><p>ttl</p></td>
|
2546
|
+
<td class="parameter_description"><p>the time-to-live value for all unicast packets on <em class="parameter"><code>socket</code></em>
|
2547
|
+
</p></td>
|
2548
|
+
<td class="parameter_annotations"> </td>
|
2549
|
+
</tr>
|
2550
|
+
</tbody>
|
2551
|
+
</table></div>
|
2552
|
+
</div>
|
2553
|
+
<p class="since">Since 2.32</p>
|
2554
|
+
</div>
|
2555
|
+
<hr>
|
2556
|
+
<div class="refsect2">
|
2557
|
+
<a name="g-socket-get-ttl"></a><h3>g_socket_get_ttl ()</h3>
|
2558
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
2559
|
+
g_socket_get_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2560
|
+
<p>Gets the unicast time-to-live setting on <em class="parameter"><code>socket</code></em>
|
2561
|
+
; see
|
2562
|
+
<a class="link" href="GSocket.html#g-socket-set-ttl" title="g_socket_set_ttl ()"><code class="function">g_socket_set_ttl()</code></a> for more details.</p>
|
2563
|
+
<div class="refsect3">
|
2564
|
+
<a name="id-1.4.13.2.10.36.5"></a><h4>Parameters</h4>
|
2565
|
+
<div class="informaltable"><table width="100%" border="0">
|
2566
|
+
<colgroup>
|
2567
|
+
<col width="150px" class="parameters_name">
|
2568
|
+
<col class="parameters_description">
|
2569
|
+
<col width="200px" class="parameters_annotations">
|
2570
|
+
</colgroup>
|
2571
|
+
<tbody><tr>
|
2572
|
+
<td class="parameter_name"><p>socket</p></td>
|
2573
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2574
|
+
<td class="parameter_annotations"> </td>
|
2575
|
+
</tr></tbody>
|
2576
|
+
</table></div>
|
2577
|
+
</div>
|
2578
|
+
<div class="refsect3">
|
2579
|
+
<a name="id-1.4.13.2.10.36.6"></a><h4>Returns</h4>
|
2580
|
+
<p> the time-to-live setting on <em class="parameter"><code>socket</code></em>
|
2581
|
+
</p>
|
2582
|
+
<p></p>
|
2583
|
+
</div>
|
2584
|
+
<p class="since">Since 2.32</p>
|
2585
|
+
</div>
|
2586
|
+
<hr>
|
2587
|
+
<div class="refsect2">
|
2588
|
+
<a name="g-socket-get-broadcast"></a><h3>g_socket_get_broadcast ()</h3>
|
2589
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2590
|
+
g_socket_get_broadcast (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2591
|
+
<p>Gets the broadcast setting on <em class="parameter"><code>socket</code></em>
|
2592
|
+
; if <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>,
|
2593
|
+
it is possible to send packets to broadcast
|
2594
|
+
addresses.</p>
|
2595
|
+
<div class="refsect3">
|
2596
|
+
<a name="id-1.4.13.2.10.37.5"></a><h4>Parameters</h4>
|
2597
|
+
<div class="informaltable"><table width="100%" border="0">
|
2598
|
+
<colgroup>
|
2599
|
+
<col width="150px" class="parameters_name">
|
2600
|
+
<col class="parameters_description">
|
2601
|
+
<col width="200px" class="parameters_annotations">
|
2602
|
+
</colgroup>
|
2603
|
+
<tbody><tr>
|
2604
|
+
<td class="parameter_name"><p>socket</p></td>
|
2605
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2606
|
+
<td class="parameter_annotations"> </td>
|
2607
|
+
</tr></tbody>
|
2608
|
+
</table></div>
|
2609
|
+
</div>
|
2610
|
+
<div class="refsect3">
|
2611
|
+
<a name="id-1.4.13.2.10.37.6"></a><h4>Returns</h4>
|
2612
|
+
<p> the broadcast setting on <em class="parameter"><code>socket</code></em>
|
2613
|
+
</p>
|
2614
|
+
<p></p>
|
2615
|
+
</div>
|
2616
|
+
<p class="since">Since 2.32</p>
|
2617
|
+
</div>
|
2618
|
+
<hr>
|
2619
|
+
<div class="refsect2">
|
2620
|
+
<a name="g-socket-set-broadcast"></a><h3>g_socket_set_broadcast ()</h3>
|
2621
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2622
|
+
g_socket_set_broadcast (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2623
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> broadcast</code></em>);</pre>
|
2624
|
+
<p>Sets whether <em class="parameter"><code>socket</code></em>
|
2625
|
+
should allow sending to broadcast addresses.
|
2626
|
+
This is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> by default.</p>
|
2627
|
+
<div class="refsect3">
|
2628
|
+
<a name="id-1.4.13.2.10.38.5"></a><h4>Parameters</h4>
|
2629
|
+
<div class="informaltable"><table width="100%" border="0">
|
2630
|
+
<colgroup>
|
2631
|
+
<col width="150px" class="parameters_name">
|
2632
|
+
<col class="parameters_description">
|
2633
|
+
<col width="200px" class="parameters_annotations">
|
2634
|
+
</colgroup>
|
2635
|
+
<tbody>
|
2636
|
+
<tr>
|
2637
|
+
<td class="parameter_name"><p>socket</p></td>
|
2638
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2639
|
+
<td class="parameter_annotations"> </td>
|
2640
|
+
</tr>
|
2641
|
+
<tr>
|
2642
|
+
<td class="parameter_name"><p>broadcast</p></td>
|
2643
|
+
<td class="parameter_description"><p>whether <em class="parameter"><code>socket</code></em>
|
2644
|
+
should allow sending to broadcast
|
2645
|
+
addresses</p></td>
|
2646
|
+
<td class="parameter_annotations"> </td>
|
2647
|
+
</tr>
|
2648
|
+
</tbody>
|
2649
|
+
</table></div>
|
2650
|
+
</div>
|
2651
|
+
<p class="since">Since 2.32</p>
|
2652
|
+
</div>
|
2653
|
+
<hr>
|
2654
|
+
<div class="refsect2">
|
2655
|
+
<a name="g-socket-get-option"></a><h3>g_socket_get_option ()</h3>
|
2656
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2657
|
+
g_socket_get_option (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2658
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
2659
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
2660
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>,
|
2661
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2662
|
+
<p>Gets the value of an integer-valued option on <em class="parameter"><code>socket</code></em>
|
2663
|
+
, as with
|
2664
|
+
<code class="function">getsockopt()</code>. (If you need to fetch a non-integer-valued option,
|
2665
|
+
you will need to call <code class="function">getsockopt()</code> directly.)</p>
|
2666
|
+
<p>The <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h"><gio/gnetworking.h></a>
|
2667
|
+
header pulls in system headers that will define most of the
|
2668
|
+
standard/portable socket options. For unusual socket protocols or
|
2669
|
+
platform-dependent options, you may need to include additional
|
2670
|
+
headers.</p>
|
2671
|
+
<p>Note that even for socket options that are a single byte in size,
|
2672
|
+
<em class="parameter"><code>value</code></em>
|
2673
|
+
is still a pointer to a <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> variable, not a <a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>;
|
2674
|
+
<a class="link" href="GSocket.html#g-socket-get-option" title="g_socket_get_option ()"><code class="function">g_socket_get_option()</code></a> will handle the conversion internally.</p>
|
2675
|
+
<div class="refsect3">
|
2676
|
+
<a name="id-1.4.13.2.10.39.7"></a><h4>Parameters</h4>
|
2677
|
+
<div class="informaltable"><table width="100%" border="0">
|
2678
|
+
<colgroup>
|
2679
|
+
<col width="150px" class="parameters_name">
|
2680
|
+
<col class="parameters_description">
|
2681
|
+
<col width="200px" class="parameters_annotations">
|
2682
|
+
</colgroup>
|
2683
|
+
<tbody>
|
2684
|
+
<tr>
|
2685
|
+
<td class="parameter_name"><p>socket</p></td>
|
2686
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
2687
|
+
<td class="parameter_annotations"> </td>
|
2688
|
+
</tr>
|
2689
|
+
<tr>
|
2690
|
+
<td class="parameter_name"><p>level</p></td>
|
2691
|
+
<td class="parameter_description"><p>the "API level" of the option (eg, <code class="literal">SOL_SOCKET</code>)</p></td>
|
2692
|
+
<td class="parameter_annotations"> </td>
|
2693
|
+
</tr>
|
2694
|
+
<tr>
|
2695
|
+
<td class="parameter_name"><p>optname</p></td>
|
2696
|
+
<td class="parameter_description"><p>the "name" of the option (eg, <code class="literal">SO_BROADCAST</code>)</p></td>
|
2697
|
+
<td class="parameter_annotations"> </td>
|
2698
|
+
</tr>
|
2699
|
+
<tr>
|
2700
|
+
<td class="parameter_name"><p>value</p></td>
|
2701
|
+
<td class="parameter_description"><p> return location for the option value. </p></td>
|
2702
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
2703
|
+
</tr>
|
2704
|
+
<tr>
|
2705
|
+
<td class="parameter_name"><p>error</p></td>
|
2706
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
2707
|
+
<td class="parameter_annotations"> </td>
|
2708
|
+
</tr>
|
2709
|
+
</tbody>
|
2710
|
+
</table></div>
|
2711
|
+
</div>
|
2712
|
+
<div class="refsect3">
|
2713
|
+
<a name="id-1.4.13.2.10.39.8"></a><h4>Returns</h4>
|
2714
|
+
<p> success or failure. On failure, <em class="parameter"><code>error</code></em>
|
2715
|
+
will be set, and
|
2716
|
+
the system error value (<code class="literal">errno</code> or <code class="function">WSAGetLastError()</code>) will still
|
2717
|
+
be set to the result of the <code class="function">getsockopt()</code> call.</p>
|
2718
|
+
<p></p>
|
2719
|
+
</div>
|
2720
|
+
<p class="since">Since 2.36</p>
|
2721
|
+
</div>
|
2722
|
+
<hr>
|
2723
|
+
<div class="refsect2">
|
2724
|
+
<a name="g-socket-set-option"></a><h3>g_socket_set_option ()</h3>
|
2725
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2726
|
+
g_socket_set_option (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2727
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
2728
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
2729
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
|
2730
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2731
|
+
<p>Sets the value of an integer-valued option on <em class="parameter"><code>socket</code></em>
|
2732
|
+
, as with
|
2733
|
+
<code class="function">setsockopt()</code>. (If you need to set a non-integer-valued option,
|
2734
|
+
you will need to call <code class="function">setsockopt()</code> directly.)</p>
|
2735
|
+
<p>The <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h"><gio/gnetworking.h></a>
|
2736
|
+
header pulls in system headers that will define most of the
|
2737
|
+
standard/portable socket options. For unusual socket protocols or
|
2738
|
+
platform-dependent options, you may need to include additional
|
2739
|
+
headers.</p>
|
2740
|
+
<div class="refsect3">
|
2741
|
+
<a name="id-1.4.13.2.10.40.6"></a><h4>Parameters</h4>
|
2742
|
+
<div class="informaltable"><table width="100%" border="0">
|
2743
|
+
<colgroup>
|
2744
|
+
<col width="150px" class="parameters_name">
|
2745
|
+
<col class="parameters_description">
|
2746
|
+
<col width="200px" class="parameters_annotations">
|
2747
|
+
</colgroup>
|
2748
|
+
<tbody>
|
2749
|
+
<tr>
|
2750
|
+
<td class="parameter_name"><p>socket</p></td>
|
2751
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
2752
|
+
<td class="parameter_annotations"> </td>
|
2753
|
+
</tr>
|
2754
|
+
<tr>
|
2755
|
+
<td class="parameter_name"><p>level</p></td>
|
2756
|
+
<td class="parameter_description"><p>the "API level" of the option (eg, <code class="literal">SOL_SOCKET</code>)</p></td>
|
2757
|
+
<td class="parameter_annotations"> </td>
|
2758
|
+
</tr>
|
2759
|
+
<tr>
|
2760
|
+
<td class="parameter_name"><p>optname</p></td>
|
2761
|
+
<td class="parameter_description"><p>the "name" of the option (eg, <code class="literal">SO_BROADCAST</code>)</p></td>
|
2762
|
+
<td class="parameter_annotations"> </td>
|
2763
|
+
</tr>
|
2764
|
+
<tr>
|
2765
|
+
<td class="parameter_name"><p>value</p></td>
|
2766
|
+
<td class="parameter_description"><p>the value to set the option to</p></td>
|
2767
|
+
<td class="parameter_annotations"> </td>
|
2768
|
+
</tr>
|
2769
|
+
<tr>
|
2770
|
+
<td class="parameter_name"><p>error</p></td>
|
2771
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
2772
|
+
<td class="parameter_annotations"> </td>
|
2773
|
+
</tr>
|
2774
|
+
</tbody>
|
2775
|
+
</table></div>
|
2776
|
+
</div>
|
2777
|
+
<div class="refsect3">
|
2778
|
+
<a name="id-1.4.13.2.10.40.7"></a><h4>Returns</h4>
|
2779
|
+
<p> success or failure. On failure, <em class="parameter"><code>error</code></em>
|
2780
|
+
will be set, and
|
2781
|
+
the system error value (<code class="literal">errno</code> or <code class="function">WSAGetLastError()</code>) will still
|
2782
|
+
be set to the result of the <code class="function">setsockopt()</code> call.</p>
|
2783
|
+
<p></p>
|
2784
|
+
</div>
|
2785
|
+
<p class="since">Since 2.36</p>
|
2786
|
+
</div>
|
2787
|
+
<hr>
|
2788
|
+
<div class="refsect2">
|
2789
|
+
<a name="g-socket-get-family"></a><h3>g_socket_get_family ()</h3>
|
2790
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="returnvalue">GSocketFamily</span></a>
|
2791
|
+
g_socket_get_family (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2792
|
+
<p>Gets the socket family of the socket.</p>
|
2793
|
+
<div class="refsect3">
|
2794
|
+
<a name="id-1.4.13.2.10.41.5"></a><h4>Parameters</h4>
|
2795
|
+
<div class="informaltable"><table width="100%" border="0">
|
2796
|
+
<colgroup>
|
2797
|
+
<col width="150px" class="parameters_name">
|
2798
|
+
<col class="parameters_description">
|
2799
|
+
<col width="200px" class="parameters_annotations">
|
2800
|
+
</colgroup>
|
2801
|
+
<tbody><tr>
|
2802
|
+
<td class="parameter_name"><p>socket</p></td>
|
2803
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2804
|
+
<td class="parameter_annotations"> </td>
|
2805
|
+
</tr></tbody>
|
2806
|
+
</table></div>
|
2807
|
+
</div>
|
2808
|
+
<div class="refsect3">
|
2809
|
+
<a name="id-1.4.13.2.10.41.6"></a><h4>Returns</h4>
|
2810
|
+
<p> a <a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a></p>
|
2811
|
+
<p></p>
|
2812
|
+
</div>
|
2813
|
+
<p class="since">Since 2.22</p>
|
2814
|
+
</div>
|
2815
|
+
<hr>
|
2816
|
+
<div class="refsect2">
|
2817
|
+
<a name="g-socket-get-fd"></a><h3>g_socket_get_fd ()</h3>
|
2818
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
2819
|
+
g_socket_get_fd (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2820
|
+
<p>Returns the underlying OS socket object. On unix this
|
2821
|
+
is a socket file descriptor, and on Windows this is
|
2822
|
+
a Winsock2 SOCKET handle. This may be useful for
|
2823
|
+
doing platform specific or otherwise unusual operations
|
2824
|
+
on the socket.</p>
|
2825
|
+
<div class="refsect3">
|
2826
|
+
<a name="id-1.4.13.2.10.42.5"></a><h4>Parameters</h4>
|
2827
|
+
<div class="informaltable"><table width="100%" border="0">
|
2828
|
+
<colgroup>
|
2829
|
+
<col width="150px" class="parameters_name">
|
2830
|
+
<col class="parameters_description">
|
2831
|
+
<col width="200px" class="parameters_annotations">
|
2832
|
+
</colgroup>
|
2833
|
+
<tbody><tr>
|
2834
|
+
<td class="parameter_name"><p>socket</p></td>
|
2835
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2836
|
+
<td class="parameter_annotations"> </td>
|
2837
|
+
</tr></tbody>
|
2838
|
+
</table></div>
|
2839
|
+
</div>
|
2840
|
+
<div class="refsect3">
|
2841
|
+
<a name="id-1.4.13.2.10.42.6"></a><h4>Returns</h4>
|
2842
|
+
<p> the file descriptor of the socket.</p>
|
2843
|
+
<p></p>
|
2844
|
+
</div>
|
2845
|
+
<p class="since">Since 2.22</p>
|
2846
|
+
</div>
|
2847
|
+
<hr>
|
2848
|
+
<div class="refsect2">
|
2849
|
+
<a name="g-socket-get-local-address"></a><h3>g_socket_get_local_address ()</h3>
|
2850
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
2851
|
+
g_socket_get_local_address (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2852
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2853
|
+
<p>Try to get the local address of a bound socket. This is only
|
2854
|
+
useful if the socket has been bound to a local address,
|
2855
|
+
either explicitly or implicitly when connecting.</p>
|
2856
|
+
<div class="refsect3">
|
2857
|
+
<a name="id-1.4.13.2.10.43.5"></a><h4>Parameters</h4>
|
2858
|
+
<div class="informaltable"><table width="100%" border="0">
|
2859
|
+
<colgroup>
|
2860
|
+
<col width="150px" class="parameters_name">
|
2861
|
+
<col class="parameters_description">
|
2862
|
+
<col width="200px" class="parameters_annotations">
|
2863
|
+
</colgroup>
|
2864
|
+
<tbody>
|
2865
|
+
<tr>
|
2866
|
+
<td class="parameter_name"><p>socket</p></td>
|
2867
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2868
|
+
<td class="parameter_annotations"> </td>
|
2869
|
+
</tr>
|
2870
|
+
<tr>
|
2871
|
+
<td class="parameter_name"><p>error</p></td>
|
2872
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
2873
|
+
<td class="parameter_annotations"> </td>
|
2874
|
+
</tr>
|
2875
|
+
</tbody>
|
2876
|
+
</table></div>
|
2877
|
+
</div>
|
2878
|
+
<div class="refsect3">
|
2879
|
+
<a name="id-1.4.13.2.10.43.6"></a><h4>Returns</h4>
|
2880
|
+
<p> a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2881
|
+
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
2882
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2883
|
+
</div>
|
2884
|
+
<p class="since">Since 2.22</p>
|
2885
|
+
</div>
|
2886
|
+
<hr>
|
2887
|
+
<div class="refsect2">
|
2888
|
+
<a name="g-socket-get-protocol"></a><h3>g_socket_get_protocol ()</h3>
|
2889
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a>
|
2890
|
+
g_socket_get_protocol (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2891
|
+
<p>Gets the socket protocol id the socket was created with.
|
2892
|
+
In case the protocol is unknown, -1 is returned.</p>
|
2893
|
+
<div class="refsect3">
|
2894
|
+
<a name="id-1.4.13.2.10.44.5"></a><h4>Parameters</h4>
|
2895
|
+
<div class="informaltable"><table width="100%" border="0">
|
2896
|
+
<colgroup>
|
2897
|
+
<col width="150px" class="parameters_name">
|
2898
|
+
<col class="parameters_description">
|
2899
|
+
<col width="200px" class="parameters_annotations">
|
2900
|
+
</colgroup>
|
2901
|
+
<tbody><tr>
|
2902
|
+
<td class="parameter_name"><p>socket</p></td>
|
2903
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2904
|
+
<td class="parameter_annotations"> </td>
|
2905
|
+
</tr></tbody>
|
2906
|
+
</table></div>
|
2907
|
+
</div>
|
2908
|
+
<div class="refsect3">
|
2909
|
+
<a name="id-1.4.13.2.10.44.6"></a><h4>Returns</h4>
|
2910
|
+
<p> a protocol id, or -1 if unknown</p>
|
2911
|
+
<p></p>
|
2912
|
+
</div>
|
2913
|
+
<p class="since">Since 2.22</p>
|
2914
|
+
</div>
|
2915
|
+
<hr>
|
2916
|
+
<div class="refsect2">
|
2917
|
+
<a name="g-socket-get-remote-address"></a><h3>g_socket_get_remote_address ()</h3>
|
2918
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
2919
|
+
g_socket_get_remote_address (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2920
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2921
|
+
<p>Try to get the remove address of a connected socket. This is only
|
2922
|
+
useful for connection oriented sockets that have been connected.</p>
|
2923
|
+
<div class="refsect3">
|
2924
|
+
<a name="id-1.4.13.2.10.45.5"></a><h4>Parameters</h4>
|
2925
|
+
<div class="informaltable"><table width="100%" border="0">
|
2926
|
+
<colgroup>
|
2927
|
+
<col width="150px" class="parameters_name">
|
2928
|
+
<col class="parameters_description">
|
2929
|
+
<col width="200px" class="parameters_annotations">
|
2930
|
+
</colgroup>
|
2931
|
+
<tbody>
|
2932
|
+
<tr>
|
2933
|
+
<td class="parameter_name"><p>socket</p></td>
|
2934
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2935
|
+
<td class="parameter_annotations"> </td>
|
2936
|
+
</tr>
|
2937
|
+
<tr>
|
2938
|
+
<td class="parameter_name"><p>error</p></td>
|
2939
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
2940
|
+
<td class="parameter_annotations"> </td>
|
2941
|
+
</tr>
|
2942
|
+
</tbody>
|
2943
|
+
</table></div>
|
2944
|
+
</div>
|
2945
|
+
<div class="refsect3">
|
2946
|
+
<a name="id-1.4.13.2.10.45.6"></a><h4>Returns</h4>
|
2947
|
+
<p> a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2948
|
+
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
2949
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2950
|
+
</div>
|
2951
|
+
<p class="since">Since 2.22</p>
|
2952
|
+
</div>
|
2953
|
+
<hr>
|
2954
|
+
<div class="refsect2">
|
2955
|
+
<a name="g-socket-get-socket-type"></a><h3>g_socket_get_socket_type ()</h3>
|
2956
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="returnvalue">GSocketType</span></a>
|
2957
|
+
g_socket_get_socket_type (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2958
|
+
<p>Gets the socket type of the socket.</p>
|
2959
|
+
<div class="refsect3">
|
2960
|
+
<a name="id-1.4.13.2.10.46.5"></a><h4>Parameters</h4>
|
2961
|
+
<div class="informaltable"><table width="100%" border="0">
|
2962
|
+
<colgroup>
|
2963
|
+
<col width="150px" class="parameters_name">
|
2964
|
+
<col class="parameters_description">
|
2965
|
+
<col width="200px" class="parameters_annotations">
|
2966
|
+
</colgroup>
|
2967
|
+
<tbody><tr>
|
2968
|
+
<td class="parameter_name"><p>socket</p></td>
|
2969
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
2970
|
+
<td class="parameter_annotations"> </td>
|
2971
|
+
</tr></tbody>
|
2972
|
+
</table></div>
|
2973
|
+
</div>
|
2974
|
+
<div class="refsect3">
|
2975
|
+
<a name="id-1.4.13.2.10.46.6"></a><h4>Returns</h4>
|
2976
|
+
<p> a <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a></p>
|
2977
|
+
<p></p>
|
2978
|
+
</div>
|
2979
|
+
<p class="since">Since 2.22</p>
|
2980
|
+
</div>
|
2981
|
+
<hr>
|
2982
|
+
<div class="refsect2">
|
2983
|
+
<a name="g-socket-speaks-ipv4"></a><h3>g_socket_speaks_ipv4 ()</h3>
|
2984
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2985
|
+
g_socket_speaks_ipv4 (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2986
|
+
<p>Checks if a socket is capable of speaking IPv4.</p>
|
2987
|
+
<p>IPv4 sockets are capable of speaking IPv4. On some operating systems
|
2988
|
+
and under some combinations of circumstances IPv6 sockets are also
|
2989
|
+
capable of speaking IPv4. See RFC 3493 section 3.7 for more
|
2990
|
+
information.</p>
|
2991
|
+
<p>No other types of sockets are currently considered as being capable
|
2992
|
+
of speaking IPv4.</p>
|
2993
|
+
<div class="refsect3">
|
2994
|
+
<a name="id-1.4.13.2.10.47.7"></a><h4>Parameters</h4>
|
2995
|
+
<div class="informaltable"><table width="100%" border="0">
|
2996
|
+
<colgroup>
|
2997
|
+
<col width="150px" class="parameters_name">
|
2998
|
+
<col class="parameters_description">
|
2999
|
+
<col width="200px" class="parameters_annotations">
|
3000
|
+
</colgroup>
|
3001
|
+
<tbody><tr>
|
3002
|
+
<td class="parameter_name"><p>socket</p></td>
|
3003
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a></p></td>
|
3004
|
+
<td class="parameter_annotations"> </td>
|
3005
|
+
</tr></tbody>
|
3006
|
+
</table></div>
|
3007
|
+
</div>
|
3008
|
+
<div class="refsect3">
|
3009
|
+
<a name="id-1.4.13.2.10.47.8"></a><h4>Returns</h4>
|
3010
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this socket can be used with IPv4.</p>
|
3011
|
+
<p></p>
|
3012
|
+
</div>
|
3013
|
+
<p class="since">Since 2.22</p>
|
3014
|
+
</div>
|
3015
|
+
<hr>
|
3016
|
+
<div class="refsect2">
|
3017
|
+
<a name="g-socket-get-credentials"></a><h3>g_socket_get_credentials ()</h3>
|
3018
|
+
<pre class="programlisting"><a class="link" href="GCredentials.html" title="GCredentials"><span class="returnvalue">GCredentials</span></a> *
|
3019
|
+
g_socket_get_credentials (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
3020
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3021
|
+
<p>Returns the credentials of the foreign process connected to this
|
3022
|
+
socket, if any (e.g. it is only supported for <a class="link" href="GSocketAddress.html#G-SOCKET-FAMILY-UNIX:CAPS"><code class="literal">G_SOCKET_FAMILY_UNIX</code></a>
|
3023
|
+
sockets).</p>
|
3024
|
+
<p>If this operation isn't supported on the OS, the method fails with
|
3025
|
+
the <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a> error. On Linux this is implemented
|
3026
|
+
by reading the <code class="literal">SO_PEERCRED</code> option on the underlying socket.</p>
|
3027
|
+
<p>Other ways to obtain credentials from a foreign peer includes the
|
3028
|
+
<a class="link" href="GUnixCredentialsMessage.html" title="GUnixCredentialsMessage"><span class="type">GUnixCredentialsMessage</span></a> type and
|
3029
|
+
<a class="link" href="GUnixConnection.html#g-unix-connection-send-credentials" title="g_unix_connection_send_credentials ()"><code class="function">g_unix_connection_send_credentials()</code></a> /
|
3030
|
+
<a class="link" href="GUnixConnection.html#g-unix-connection-receive-credentials" title="g_unix_connection_receive_credentials ()"><code class="function">g_unix_connection_receive_credentials()</code></a> functions.</p>
|
3031
|
+
<div class="refsect3">
|
3032
|
+
<a name="id-1.4.13.2.10.48.7"></a><h4>Parameters</h4>
|
3033
|
+
<div class="informaltable"><table width="100%" border="0">
|
3034
|
+
<colgroup>
|
3035
|
+
<col width="150px" class="parameters_name">
|
3036
|
+
<col class="parameters_description">
|
3037
|
+
<col width="200px" class="parameters_annotations">
|
3038
|
+
</colgroup>
|
3039
|
+
<tbody>
|
3040
|
+
<tr>
|
3041
|
+
<td class="parameter_name"><p>socket</p></td>
|
3042
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
3043
|
+
<td class="parameter_annotations"> </td>
|
3044
|
+
</tr>
|
3045
|
+
<tr>
|
3046
|
+
<td class="parameter_name"><p>error</p></td>
|
3047
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
3048
|
+
<td class="parameter_annotations"> </td>
|
3049
|
+
</tr>
|
3050
|
+
</tbody>
|
3051
|
+
</table></div>
|
3052
|
+
</div>
|
3053
|
+
<div class="refsect3">
|
3054
|
+
<a name="id-1.4.13.2.10.48.8"></a><h4>Returns</h4>
|
3055
|
+
<p> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
3056
|
+
is set, otherwise a <a class="link" href="GCredentials.html" title="GCredentials"><span class="type">GCredentials</span></a> object
|
3057
|
+
that must be freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
3058
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3059
|
+
</div>
|
3060
|
+
<p class="since">Since 2.26</p>
|
3061
|
+
</div>
|
3062
|
+
<hr>
|
3063
|
+
<div class="refsect2">
|
3064
|
+
<a name="g-socket-join-multicast-group"></a><h3>g_socket_join_multicast_group ()</h3>
|
3065
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3066
|
+
g_socket_join_multicast_group (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
3067
|
+
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
3068
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
3069
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
3070
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3071
|
+
<p>Registers <em class="parameter"><code>socket</code></em>
|
3072
|
+
to receive multicast messages sent to <em class="parameter"><code>group</code></em>
|
3073
|
+
.
|
3074
|
+
<em class="parameter"><code>socket</code></em>
|
3075
|
+
must be a <a class="link" href="GSocket.html#G-SOCKET-TYPE-DATAGRAM:CAPS"><code class="literal">G_SOCKET_TYPE_DATAGRAM</code></a> socket, and must have
|
3076
|
+
been bound to an appropriate interface and port with
|
3077
|
+
<a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a>.</p>
|
3078
|
+
<p>If <em class="parameter"><code>iface</code></em>
|
3079
|
+
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the system will automatically pick an interface
|
3080
|
+
to bind to based on <em class="parameter"><code>group</code></em>
|
3081
|
+
.</p>
|
3082
|
+
<p>If <em class="parameter"><code>source_specific</code></em>
|
3083
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, source-specific multicast as defined
|
3084
|
+
in RFC 4604 is used. Note that on older platforms this may fail
|
3085
|
+
with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a> error.</p>
|
3086
|
+
<div class="refsect3">
|
3087
|
+
<a name="id-1.4.13.2.10.49.7"></a><h4>Parameters</h4>
|
3088
|
+
<div class="informaltable"><table width="100%" border="0">
|
3089
|
+
<colgroup>
|
3090
|
+
<col width="150px" class="parameters_name">
|
3091
|
+
<col class="parameters_description">
|
3092
|
+
<col width="200px" class="parameters_annotations">
|
3093
|
+
</colgroup>
|
3094
|
+
<tbody>
|
3095
|
+
<tr>
|
3096
|
+
<td class="parameter_name"><p>socket</p></td>
|
3097
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
3098
|
+
<td class="parameter_annotations"> </td>
|
3099
|
+
</tr>
|
3100
|
+
<tr>
|
3101
|
+
<td class="parameter_name"><p>group</p></td>
|
3102
|
+
<td class="parameter_description"><p>a <a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> specifying the group address to join.</p></td>
|
3103
|
+
<td class="parameter_annotations"> </td>
|
3104
|
+
</tr>
|
3105
|
+
<tr>
|
3106
|
+
<td class="parameter_name"><p>iface</p></td>
|
3107
|
+
<td class="parameter_description"><p> Name of the interface to use, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3108
|
+
<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>
|
3109
|
+
</tr>
|
3110
|
+
<tr>
|
3111
|
+
<td class="parameter_name"><p>source_specific</p></td>
|
3112
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if source-specific multicast should be used</p></td>
|
3113
|
+
<td class="parameter_annotations"> </td>
|
3114
|
+
</tr>
|
3115
|
+
<tr>
|
3116
|
+
<td class="parameter_name"><p>error</p></td>
|
3117
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
3118
|
+
<td class="parameter_annotations"> </td>
|
3119
|
+
</tr>
|
3120
|
+
</tbody>
|
3121
|
+
</table></div>
|
3122
|
+
</div>
|
3123
|
+
<div class="refsect3">
|
3124
|
+
<a name="id-1.4.13.2.10.49.8"></a><h4>Returns</h4>
|
3125
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
3126
|
+
<p></p>
|
3127
|
+
</div>
|
3128
|
+
<p class="since">Since 2.32</p>
|
3129
|
+
</div>
|
3130
|
+
<hr>
|
3131
|
+
<div class="refsect2">
|
3132
|
+
<a name="g-socket-leave-multicast-group"></a><h3>g_socket_leave_multicast_group ()</h3>
|
3133
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3134
|
+
g_socket_leave_multicast_group (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
3135
|
+
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
3136
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
3137
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
3138
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3139
|
+
<p>Removes <em class="parameter"><code>socket</code></em>
|
3140
|
+
from the multicast group defined by <em class="parameter"><code>group</code></em>
|
3141
|
+
, <em class="parameter"><code>iface</code></em>
|
3142
|
+
,
|
3143
|
+
and <em class="parameter"><code>source_specific</code></em>
|
3144
|
+
(which must all have the same values they had
|
3145
|
+
when you joined the group).</p>
|
3146
|
+
<p><em class="parameter"><code>socket</code></em>
|
3147
|
+
remains bound to its address and port, and can still receive
|
3148
|
+
unicast messages after calling this.</p>
|
3149
|
+
<div class="refsect3">
|
3150
|
+
<a name="id-1.4.13.2.10.50.6"></a><h4>Parameters</h4>
|
3151
|
+
<div class="informaltable"><table width="100%" border="0">
|
3152
|
+
<colgroup>
|
3153
|
+
<col width="150px" class="parameters_name">
|
3154
|
+
<col class="parameters_description">
|
3155
|
+
<col width="200px" class="parameters_annotations">
|
3156
|
+
</colgroup>
|
3157
|
+
<tbody>
|
3158
|
+
<tr>
|
3159
|
+
<td class="parameter_name"><p>socket</p></td>
|
3160
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
3161
|
+
<td class="parameter_annotations"> </td>
|
3162
|
+
</tr>
|
3163
|
+
<tr>
|
3164
|
+
<td class="parameter_name"><p>group</p></td>
|
3165
|
+
<td class="parameter_description"><p>a <a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> specifying the group address to leave.</p></td>
|
3166
|
+
<td class="parameter_annotations"> </td>
|
3167
|
+
</tr>
|
3168
|
+
<tr>
|
3169
|
+
<td class="parameter_name"><p>iface</p></td>
|
3170
|
+
<td class="parameter_description"><p> Interface used. </p></td>
|
3171
|
+
<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>
|
3172
|
+
</tr>
|
3173
|
+
<tr>
|
3174
|
+
<td class="parameter_name"><p>source_specific</p></td>
|
3175
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if source-specific multicast was used</p></td>
|
3176
|
+
<td class="parameter_annotations"> </td>
|
3177
|
+
</tr>
|
3178
|
+
<tr>
|
3179
|
+
<td class="parameter_name"><p>error</p></td>
|
3180
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</p></td>
|
3181
|
+
<td class="parameter_annotations"> </td>
|
3182
|
+
</tr>
|
3183
|
+
</tbody>
|
3184
|
+
</table></div>
|
3185
|
+
</div>
|
3186
|
+
<div class="refsect3">
|
3187
|
+
<a name="id-1.4.13.2.10.50.7"></a><h4>Returns</h4>
|
3188
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</p>
|
3189
|
+
<p></p>
|
3190
|
+
</div>
|
3191
|
+
<p class="since">Since 2.32</p>
|
3192
|
+
</div>
|
3193
|
+
<hr>
|
3194
|
+
<div class="refsect2">
|
3195
|
+
<a name="g-socket-get-multicast-loopback"></a><h3>g_socket_get_multicast_loopback ()</h3>
|
3196
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3197
|
+
g_socket_get_multicast_loopback (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
3198
|
+
<p>Gets the multicast loopback setting on <em class="parameter"><code>socket</code></em>
|
3199
|
+
; if <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the
|
3200
|
+
default), outgoing multicast packets will be looped back to
|
3201
|
+
multicast listeners on the same host.</p>
|
3202
|
+
<div class="refsect3">
|
3203
|
+
<a name="id-1.4.13.2.10.51.5"></a><h4>Parameters</h4>
|
3204
|
+
<div class="informaltable"><table width="100%" border="0">
|
3205
|
+
<colgroup>
|
3206
|
+
<col width="150px" class="parameters_name">
|
3207
|
+
<col class="parameters_description">
|
3208
|
+
<col width="200px" class="parameters_annotations">
|
3209
|
+
</colgroup>
|
3210
|
+
<tbody><tr>
|
3211
|
+
<td class="parameter_name"><p>socket</p></td>
|
3212
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
3213
|
+
<td class="parameter_annotations"> </td>
|
3214
|
+
</tr></tbody>
|
3215
|
+
</table></div>
|
3216
|
+
</div>
|
3217
|
+
<div class="refsect3">
|
3218
|
+
<a name="id-1.4.13.2.10.51.6"></a><h4>Returns</h4>
|
3219
|
+
<p> the multicast loopback setting on <em class="parameter"><code>socket</code></em>
|
3220
|
+
</p>
|
3221
|
+
<p></p>
|
3222
|
+
</div>
|
3223
|
+
<p class="since">Since 2.32</p>
|
3224
|
+
</div>
|
3225
|
+
<hr>
|
3226
|
+
<div class="refsect2">
|
3227
|
+
<a name="g-socket-set-multicast-loopback"></a><h3>g_socket_set_multicast_loopback ()</h3>
|
3228
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3229
|
+
g_socket_set_multicast_loopback (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
3230
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loopback</code></em>);</pre>
|
3231
|
+
<p>Sets whether outgoing multicast packets will be received by sockets
|
3232
|
+
listening on that multicast address on the same host. This is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
3233
|
+
by default.</p>
|
3234
|
+
<div class="refsect3">
|
3235
|
+
<a name="id-1.4.13.2.10.52.5"></a><h4>Parameters</h4>
|
3236
|
+
<div class="informaltable"><table width="100%" border="0">
|
3237
|
+
<colgroup>
|
3238
|
+
<col width="150px" class="parameters_name">
|
3239
|
+
<col class="parameters_description">
|
3240
|
+
<col width="200px" class="parameters_annotations">
|
3241
|
+
</colgroup>
|
3242
|
+
<tbody>
|
3243
|
+
<tr>
|
3244
|
+
<td class="parameter_name"><p>socket</p></td>
|
3245
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
3246
|
+
<td class="parameter_annotations"> </td>
|
3247
|
+
</tr>
|
3248
|
+
<tr>
|
3249
|
+
<td class="parameter_name"><p>loopback</p></td>
|
3250
|
+
<td class="parameter_description"><p>whether <em class="parameter"><code>socket</code></em>
|
3251
|
+
should receive messages sent to its
|
3252
|
+
multicast groups from the local host</p></td>
|
3253
|
+
<td class="parameter_annotations"> </td>
|
3254
|
+
</tr>
|
3255
|
+
</tbody>
|
3256
|
+
</table></div>
|
3257
|
+
</div>
|
3258
|
+
<p class="since">Since 2.32</p>
|
3259
|
+
</div>
|
3260
|
+
<hr>
|
3261
|
+
<div class="refsect2">
|
3262
|
+
<a name="g-socket-get-multicast-ttl"></a><h3>g_socket_get_multicast_ttl ()</h3>
|
3263
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
3264
|
+
g_socket_get_multicast_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
3265
|
+
<p>Gets the multicast time-to-live setting on <em class="parameter"><code>socket</code></em>
|
3266
|
+
; see
|
3267
|
+
<a class="link" href="GSocket.html#g-socket-set-multicast-ttl" title="g_socket_set_multicast_ttl ()"><code class="function">g_socket_set_multicast_ttl()</code></a> for more details.</p>
|
3268
|
+
<div class="refsect3">
|
3269
|
+
<a name="id-1.4.13.2.10.53.5"></a><h4>Parameters</h4>
|
3270
|
+
<div class="informaltable"><table width="100%" border="0">
|
3271
|
+
<colgroup>
|
3272
|
+
<col width="150px" class="parameters_name">
|
3273
|
+
<col class="parameters_description">
|
3274
|
+
<col width="200px" class="parameters_annotations">
|
3275
|
+
</colgroup>
|
3276
|
+
<tbody><tr>
|
3277
|
+
<td class="parameter_name"><p>socket</p></td>
|
3278
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
3279
|
+
<td class="parameter_annotations"> </td>
|
3280
|
+
</tr></tbody>
|
3281
|
+
</table></div>
|
3282
|
+
</div>
|
3283
|
+
<div class="refsect3">
|
3284
|
+
<a name="id-1.4.13.2.10.53.6"></a><h4>Returns</h4>
|
3285
|
+
<p> the multicast time-to-live setting on <em class="parameter"><code>socket</code></em>
|
3286
|
+
</p>
|
3287
|
+
<p></p>
|
3288
|
+
</div>
|
3289
|
+
<p class="since">Since 2.32</p>
|
3290
|
+
</div>
|
3291
|
+
<hr>
|
3292
|
+
<div class="refsect2">
|
3293
|
+
<a name="g-socket-set-multicast-ttl"></a><h3>g_socket_set_multicast_ttl ()</h3>
|
3294
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3295
|
+
g_socket_set_multicast_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
3296
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);</pre>
|
3297
|
+
<p>Sets the time-to-live for outgoing multicast datagrams on <em class="parameter"><code>socket</code></em>
|
3298
|
+
.
|
3299
|
+
By default, this is 1, meaning that multicast packets will not leave
|
3300
|
+
the local network.</p>
|
3301
|
+
<div class="refsect3">
|
3302
|
+
<a name="id-1.4.13.2.10.54.5"></a><h4>Parameters</h4>
|
3303
|
+
<div class="informaltable"><table width="100%" border="0">
|
3304
|
+
<colgroup>
|
3305
|
+
<col width="150px" class="parameters_name">
|
3306
|
+
<col class="parameters_description">
|
3307
|
+
<col width="200px" class="parameters_annotations">
|
3308
|
+
</colgroup>
|
3309
|
+
<tbody>
|
3310
|
+
<tr>
|
3311
|
+
<td class="parameter_name"><p>socket</p></td>
|
3312
|
+
<td class="parameter_description"><p>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</p></td>
|
3313
|
+
<td class="parameter_annotations"> </td>
|
3314
|
+
</tr>
|
3315
|
+
<tr>
|
3316
|
+
<td class="parameter_name"><p>ttl</p></td>
|
3317
|
+
<td class="parameter_description"><p>the time-to-live value for all multicast datagrams on <em class="parameter"><code>socket</code></em>
|
3318
|
+
</p></td>
|
3319
|
+
<td class="parameter_annotations"> </td>
|
3320
|
+
</tr>
|
3321
|
+
</tbody>
|
3322
|
+
</table></div>
|
3323
|
+
</div>
|
3324
|
+
<p class="since">Since 2.32</p>
|
3325
|
+
</div>
|
3326
|
+
</div>
|
3327
|
+
<div class="refsect1">
|
3328
|
+
<a name="GSocket.other_details"></a><h2>Types and Values</h2>
|
3329
|
+
<div class="refsect2">
|
3330
|
+
<a name="GSocket-struct"></a><h3>GSocket</h3>
|
3331
|
+
<pre class="programlisting">typedef struct _GSocket GSocket;</pre>
|
3332
|
+
<p>A lowlevel network socket object.</p>
|
3333
|
+
<p class="since">Since 2.22</p>
|
3334
|
+
</div>
|
3335
|
+
<hr>
|
3336
|
+
<div class="refsect2">
|
3337
|
+
<a name="GSocketType"></a><h3>enum GSocketType</h3>
|
3338
|
+
<p>Flags used when creating a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>. Some protocols may not implement
|
3339
|
+
all the socket types.</p>
|
3340
|
+
<div class="refsect3">
|
3341
|
+
<a name="id-1.4.13.2.11.3.4"></a><h4>Members</h4>
|
3342
|
+
<div class="informaltable"><table width="100%" border="0">
|
3343
|
+
<colgroup>
|
3344
|
+
<col width="300px" class="enum_members_name">
|
3345
|
+
<col class="enum_members_description">
|
3346
|
+
<col width="200px" class="enum_members_annotations">
|
3347
|
+
</colgroup>
|
3348
|
+
<tbody>
|
3349
|
+
<tr>
|
3350
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-TYPE-INVALID:CAPS"></a>G_SOCKET_TYPE_INVALID</p></td>
|
3351
|
+
<td class="enum_member_description">
|
3352
|
+
<p>Type unknown or wrong</p>
|
3353
|
+
</td>
|
3354
|
+
<td class="enum_member_annotations"> </td>
|
3355
|
+
</tr>
|
3356
|
+
<tr>
|
3357
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-TYPE-STREAM:CAPS"></a>G_SOCKET_TYPE_STREAM</p></td>
|
3358
|
+
<td class="enum_member_description">
|
3359
|
+
<p>Reliable connection-based byte streams (e.g. TCP).</p>
|
3360
|
+
</td>
|
3361
|
+
<td class="enum_member_annotations"> </td>
|
3362
|
+
</tr>
|
3363
|
+
<tr>
|
3364
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-TYPE-DATAGRAM:CAPS"></a>G_SOCKET_TYPE_DATAGRAM</p></td>
|
3365
|
+
<td class="enum_member_description">
|
3366
|
+
<p>Connectionless, unreliable datagram passing.
|
3367
|
+
(e.g. UDP)</p>
|
3368
|
+
</td>
|
3369
|
+
<td class="enum_member_annotations"> </td>
|
3370
|
+
</tr>
|
3371
|
+
<tr>
|
3372
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-TYPE-SEQPACKET:CAPS"></a>G_SOCKET_TYPE_SEQPACKET</p></td>
|
3373
|
+
<td class="enum_member_description">
|
3374
|
+
<p>Reliable connection-based passing of datagrams
|
3375
|
+
of fixed maximum length (e.g. SCTP).</p>
|
3376
|
+
</td>
|
3377
|
+
<td class="enum_member_annotations"> </td>
|
3378
|
+
</tr>
|
3379
|
+
</tbody>
|
3380
|
+
</table></div>
|
3381
|
+
</div>
|
3382
|
+
<p class="since">Since 2.22</p>
|
3383
|
+
</div>
|
3384
|
+
<hr>
|
3385
|
+
<div class="refsect2">
|
3386
|
+
<a name="GSocketProtocol"></a><h3>enum GSocketProtocol</h3>
|
3387
|
+
<p>A protocol identifier is specified when creating a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>, which is a
|
3388
|
+
family/type specific identifier, where 0 means the default protocol for
|
3389
|
+
the particular family/type.</p>
|
3390
|
+
<p>This enum contains a set of commonly available and used protocols. You
|
3391
|
+
can also pass any other identifiers handled by the platform in order to
|
3392
|
+
use protocols not listed here.</p>
|
3393
|
+
<div class="refsect3">
|
3394
|
+
<a name="id-1.4.13.2.11.4.5"></a><h4>Members</h4>
|
3395
|
+
<div class="informaltable"><table width="100%" border="0">
|
3396
|
+
<colgroup>
|
3397
|
+
<col width="300px" class="enum_members_name">
|
3398
|
+
<col class="enum_members_description">
|
3399
|
+
<col width="200px" class="enum_members_annotations">
|
3400
|
+
</colgroup>
|
3401
|
+
<tbody>
|
3402
|
+
<tr>
|
3403
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-PROTOCOL-UNKNOWN:CAPS"></a>G_SOCKET_PROTOCOL_UNKNOWN</p></td>
|
3404
|
+
<td class="enum_member_description">
|
3405
|
+
<p>The protocol type is unknown</p>
|
3406
|
+
</td>
|
3407
|
+
<td class="enum_member_annotations"> </td>
|
3408
|
+
</tr>
|
3409
|
+
<tr>
|
3410
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-PROTOCOL-DEFAULT:CAPS"></a>G_SOCKET_PROTOCOL_DEFAULT</p></td>
|
3411
|
+
<td class="enum_member_description">
|
3412
|
+
<p>The default protocol for the family/type</p>
|
3413
|
+
</td>
|
3414
|
+
<td class="enum_member_annotations"> </td>
|
3415
|
+
</tr>
|
3416
|
+
<tr>
|
3417
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-PROTOCOL-TCP:CAPS"></a>G_SOCKET_PROTOCOL_TCP</p></td>
|
3418
|
+
<td class="enum_member_description">
|
3419
|
+
<p>TCP over IP</p>
|
3420
|
+
</td>
|
3421
|
+
<td class="enum_member_annotations"> </td>
|
3422
|
+
</tr>
|
3423
|
+
<tr>
|
3424
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-PROTOCOL-UDP:CAPS"></a>G_SOCKET_PROTOCOL_UDP</p></td>
|
3425
|
+
<td class="enum_member_description">
|
3426
|
+
<p>UDP over IP</p>
|
3427
|
+
</td>
|
3428
|
+
<td class="enum_member_annotations"> </td>
|
3429
|
+
</tr>
|
3430
|
+
<tr>
|
3431
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-PROTOCOL-SCTP:CAPS"></a>G_SOCKET_PROTOCOL_SCTP</p></td>
|
3432
|
+
<td class="enum_member_description">
|
3433
|
+
<p>SCTP over IP</p>
|
3434
|
+
</td>
|
3435
|
+
<td class="enum_member_annotations"> </td>
|
3436
|
+
</tr>
|
3437
|
+
</tbody>
|
3438
|
+
</table></div>
|
3439
|
+
</div>
|
3440
|
+
<p class="since">Since 2.22</p>
|
3441
|
+
</div>
|
3442
|
+
<hr>
|
3443
|
+
<div class="refsect2">
|
3444
|
+
<a name="GSocketMsgFlags"></a><h3>enum GSocketMsgFlags</h3>
|
3445
|
+
<p>Flags used in <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()"><code class="function">g_socket_receive_message()</code></a> and <a class="link" href="GSocket.html#g-socket-send-message" title="g_socket_send_message ()"><code class="function">g_socket_send_message()</code></a>.
|
3446
|
+
The flags listed in the enum are some commonly available flags, but the
|
3447
|
+
values used for them are the same as on the platform, and any other flags
|
3448
|
+
are passed in/out as is. So to use a platform specific flag, just include
|
3449
|
+
the right system header and pass in the flag.</p>
|
3450
|
+
<div class="refsect3">
|
3451
|
+
<a name="id-1.4.13.2.11.5.4"></a><h4>Members</h4>
|
3452
|
+
<div class="informaltable"><table width="100%" border="0">
|
3453
|
+
<colgroup>
|
3454
|
+
<col width="300px" class="enum_members_name">
|
3455
|
+
<col class="enum_members_description">
|
3456
|
+
<col width="200px" class="enum_members_annotations">
|
3457
|
+
</colgroup>
|
3458
|
+
<tbody>
|
3459
|
+
<tr>
|
3460
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-MSG-NONE:CAPS"></a>G_SOCKET_MSG_NONE</p></td>
|
3461
|
+
<td class="enum_member_description">
|
3462
|
+
<p>No flags.</p>
|
3463
|
+
</td>
|
3464
|
+
<td class="enum_member_annotations"> </td>
|
3465
|
+
</tr>
|
3466
|
+
<tr>
|
3467
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-MSG-OOB:CAPS"></a>G_SOCKET_MSG_OOB</p></td>
|
3468
|
+
<td class="enum_member_description">
|
3469
|
+
<p>Request to send/receive out of band data.</p>
|
3470
|
+
</td>
|
3471
|
+
<td class="enum_member_annotations"> </td>
|
3472
|
+
</tr>
|
3473
|
+
<tr>
|
3474
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-MSG-PEEK:CAPS"></a>G_SOCKET_MSG_PEEK</p></td>
|
3475
|
+
<td class="enum_member_description">
|
3476
|
+
<p>Read data from the socket without removing it from
|
3477
|
+
the queue.</p>
|
3478
|
+
</td>
|
3479
|
+
<td class="enum_member_annotations"> </td>
|
3480
|
+
</tr>
|
3481
|
+
<tr>
|
3482
|
+
<td class="enum_member_name"><p><a name="G-SOCKET-MSG-DONTROUTE:CAPS"></a>G_SOCKET_MSG_DONTROUTE</p></td>
|
3483
|
+
<td class="enum_member_description">
|
3484
|
+
<p>Don't use a gateway to send out the packet,
|
3485
|
+
only send to hosts on directly connected networks.</p>
|
3486
|
+
</td>
|
3487
|
+
<td class="enum_member_annotations"> </td>
|
3488
|
+
</tr>
|
3489
|
+
</tbody>
|
3490
|
+
</table></div>
|
3491
|
+
</div>
|
3492
|
+
<p class="since">Since 2.22</p>
|
3493
|
+
</div>
|
3494
|
+
<hr>
|
3495
|
+
<div class="refsect2">
|
3496
|
+
<a name="GInputVector"></a><h3>struct GInputVector</h3>
|
3497
|
+
<pre class="programlisting">struct GInputVector {
|
3498
|
+
gpointer buffer;
|
3499
|
+
gsize size;
|
3500
|
+
};
|
3501
|
+
</pre>
|
3502
|
+
<p>Structure used for scatter/gather data input.
|
3503
|
+
You generally pass in an array of <a href="GSocket.html#GInputVector"><span class="type">GInputVectors</span></a>
|
3504
|
+
and the operation will store the read data starting in the
|
3505
|
+
first buffer, switching to the next as needed.</p>
|
3506
|
+
<div class="refsect3">
|
3507
|
+
<a name="id-1.4.13.2.11.6.5"></a><h4>Members</h4>
|
3508
|
+
<div class="informaltable"><table width="100%" border="0">
|
3509
|
+
<colgroup>
|
3510
|
+
<col width="300px" class="struct_members_name">
|
3511
|
+
<col class="struct_members_description">
|
3512
|
+
<col width="200px" class="struct_members_annotations">
|
3513
|
+
</colgroup>
|
3514
|
+
<tbody>
|
3515
|
+
<tr>
|
3516
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GInputVector.buffer"></a>buffer</code></em>;</p></td>
|
3517
|
+
<td class="struct_member_description"><p>Pointer to a buffer where data will be written.</p></td>
|
3518
|
+
<td class="struct_member_annotations"> </td>
|
3519
|
+
</tr>
|
3520
|
+
<tr>
|
3521
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GInputVector.size"></a>size</code></em>;</p></td>
|
3522
|
+
<td class="struct_member_description"><p>the available size in <em class="parameter"><code>buffer</code></em>
|
3523
|
+
.</p></td>
|
3524
|
+
<td class="struct_member_annotations"> </td>
|
3525
|
+
</tr>
|
3526
|
+
</tbody>
|
3527
|
+
</table></div>
|
3528
|
+
</div>
|
3529
|
+
<p class="since">Since 2.22</p>
|
3530
|
+
</div>
|
3531
|
+
<hr>
|
3532
|
+
<div class="refsect2">
|
3533
|
+
<a name="GOutputVector"></a><h3>struct GOutputVector</h3>
|
3534
|
+
<pre class="programlisting">struct GOutputVector {
|
3535
|
+
gconstpointer buffer;
|
3536
|
+
gsize size;
|
3537
|
+
};
|
3538
|
+
</pre>
|
3539
|
+
<p>Structure used for scatter/gather data output.
|
3540
|
+
You generally pass in an array of <a href="GSocket.html#GOutputVector"><span class="type">GOutputVectors</span></a>
|
3541
|
+
and the operation will use all the buffers as if they were
|
3542
|
+
one buffer.</p>
|
3543
|
+
<div class="refsect3">
|
3544
|
+
<a name="id-1.4.13.2.11.7.5"></a><h4>Members</h4>
|
3545
|
+
<div class="informaltable"><table width="100%" border="0">
|
3546
|
+
<colgroup>
|
3547
|
+
<col width="300px" class="struct_members_name">
|
3548
|
+
<col class="struct_members_description">
|
3549
|
+
<col width="200px" class="struct_members_annotations">
|
3550
|
+
</colgroup>
|
3551
|
+
<tbody>
|
3552
|
+
<tr>
|
3553
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> <em class="structfield"><code><a name="GOutputVector.buffer"></a>buffer</code></em>;</p></td>
|
3554
|
+
<td class="struct_member_description"><p>Pointer to a buffer of data to read.</p></td>
|
3555
|
+
<td class="struct_member_annotations"> </td>
|
3556
|
+
</tr>
|
3557
|
+
<tr>
|
3558
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GOutputVector.size"></a>size</code></em>;</p></td>
|
3559
|
+
<td class="struct_member_description"><p>the size of <em class="parameter"><code>buffer</code></em>
|
3560
|
+
.</p></td>
|
3561
|
+
<td class="struct_member_annotations"> </td>
|
3562
|
+
</tr>
|
3563
|
+
</tbody>
|
3564
|
+
</table></div>
|
3565
|
+
</div>
|
3566
|
+
<p class="since">Since 2.22</p>
|
3567
|
+
</div>
|
3568
|
+
</div>
|
3569
|
+
<div class="refsect1">
|
3570
|
+
<a name="GSocket.property-details"></a><h2>Property Details</h2>
|
3571
|
+
<div class="refsect2">
|
3572
|
+
<a name="GSocket--blocking"></a><h3>The <code class="literal">“blocking”</code> property</h3>
|
3573
|
+
<pre class="programlisting"> “blocking” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3574
|
+
<p>Whether or not I/O on this socket is blocking.</p>
|
3575
|
+
<p>Flags: Read / Write</p>
|
3576
|
+
<p>Default value: TRUE</p>
|
3577
|
+
</div>
|
3578
|
+
<hr>
|
3579
|
+
<div class="refsect2">
|
3580
|
+
<a name="GSocket--broadcast"></a><h3>The <code class="literal">“broadcast”</code> property</h3>
|
3581
|
+
<pre class="programlisting"> “broadcast” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3582
|
+
<p>Whether the socket should allow sending to broadcast addresses.</p>
|
3583
|
+
<p>Flags: Read / Write</p>
|
3584
|
+
<p>Default value: FALSE</p>
|
3585
|
+
<p class="since">Since 2.32</p>
|
3586
|
+
</div>
|
3587
|
+
<hr>
|
3588
|
+
<div class="refsect2">
|
3589
|
+
<a name="GSocket--family"></a><h3>The <code class="literal">“family”</code> property</h3>
|
3590
|
+
<pre class="programlisting"> “family” <a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a></pre>
|
3591
|
+
<p>The sockets address family.</p>
|
3592
|
+
<p>Flags: Read / Write / Construct Only</p>
|
3593
|
+
<p>Default value: G_SOCKET_FAMILY_INVALID</p>
|
3594
|
+
</div>
|
3595
|
+
<hr>
|
3596
|
+
<div class="refsect2">
|
3597
|
+
<a name="GSocket--fd"></a><h3>The <code class="literal">“fd”</code> property</h3>
|
3598
|
+
<pre class="programlisting"> “fd” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
3599
|
+
<p>The sockets file descriptor.</p>
|
3600
|
+
<p>Flags: Read / Write / Construct Only</p>
|
3601
|
+
<p>Default value: -1</p>
|
3602
|
+
</div>
|
3603
|
+
<hr>
|
3604
|
+
<div class="refsect2">
|
3605
|
+
<a name="GSocket--keepalive"></a><h3>The <code class="literal">“keepalive”</code> property</h3>
|
3606
|
+
<pre class="programlisting"> “keepalive” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3607
|
+
<p>Keep connection alive by sending periodic pings.</p>
|
3608
|
+
<p>Flags: Read / Write</p>
|
3609
|
+
<p>Default value: FALSE</p>
|
3610
|
+
</div>
|
3611
|
+
<hr>
|
3612
|
+
<div class="refsect2">
|
3613
|
+
<a name="GSocket--listen-backlog"></a><h3>The <code class="literal">“listen-backlog”</code> property</h3>
|
3614
|
+
<pre class="programlisting"> “listen-backlog” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
3615
|
+
<p>Outstanding connections in the listen queue.</p>
|
3616
|
+
<p>Flags: Read / Write</p>
|
3617
|
+
<p>Allowed values: [0,128]</p>
|
3618
|
+
<p>Default value: 10</p>
|
3619
|
+
</div>
|
3620
|
+
<hr>
|
3621
|
+
<div class="refsect2">
|
3622
|
+
<a name="GSocket--local-address"></a><h3>The <code class="literal">“local-address”</code> property</h3>
|
3623
|
+
<pre class="programlisting"> “local-address” <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *</pre>
|
3624
|
+
<p>The local address the socket is bound to.</p>
|
3625
|
+
<p>Flags: Read</p>
|
3626
|
+
</div>
|
3627
|
+
<hr>
|
3628
|
+
<div class="refsect2">
|
3629
|
+
<a name="GSocket--multicast-loopback"></a><h3>The <code class="literal">“multicast-loopback”</code> property</h3>
|
3630
|
+
<pre class="programlisting"> “multicast-loopback” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3631
|
+
<p>Whether outgoing multicast packets loop back to the local host.</p>
|
3632
|
+
<p>Flags: Read / Write</p>
|
3633
|
+
<p>Default value: TRUE</p>
|
3634
|
+
<p class="since">Since 2.32</p>
|
3635
|
+
</div>
|
3636
|
+
<hr>
|
3637
|
+
<div class="refsect2">
|
3638
|
+
<a name="GSocket--multicast-ttl"></a><h3>The <code class="literal">“multicast-ttl”</code> property</h3>
|
3639
|
+
<pre class="programlisting"> “multicast-ttl” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
3640
|
+
<p>Time-to-live out outgoing multicast packets</p>
|
3641
|
+
<p>Flags: Read / Write</p>
|
3642
|
+
<p>Default value: 1</p>
|
3643
|
+
<p class="since">Since 2.32</p>
|
3644
|
+
</div>
|
3645
|
+
<hr>
|
3646
|
+
<div class="refsect2">
|
3647
|
+
<a name="GSocket--protocol"></a><h3>The <code class="literal">“protocol”</code> property</h3>
|
3648
|
+
<pre class="programlisting"> “protocol” <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a></pre>
|
3649
|
+
<p>The id of the protocol to use, or -1 for unknown.</p>
|
3650
|
+
<p>Flags: Read / Write / Construct Only</p>
|
3651
|
+
<p>Default value: G_SOCKET_PROTOCOL_UNKNOWN</p>
|
3652
|
+
</div>
|
3653
|
+
<hr>
|
3654
|
+
<div class="refsect2">
|
3655
|
+
<a name="GSocket--remote-address"></a><h3>The <code class="literal">“remote-address”</code> property</h3>
|
3656
|
+
<pre class="programlisting"> “remote-address” <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *</pre>
|
3657
|
+
<p>The remote address the socket is connected to.</p>
|
3658
|
+
<p>Flags: Read</p>
|
3659
|
+
</div>
|
3660
|
+
<hr>
|
3661
|
+
<div class="refsect2">
|
3662
|
+
<a name="GSocket--timeout"></a><h3>The <code class="literal">“timeout”</code> property</h3>
|
3663
|
+
<pre class="programlisting"> “timeout” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
3664
|
+
<p>The timeout in seconds on socket I/O</p>
|
3665
|
+
<p>Flags: Read / Write</p>
|
3666
|
+
<p>Default value: 0</p>
|
3667
|
+
<p class="since">Since 2.26</p>
|
3668
|
+
</div>
|
3669
|
+
<hr>
|
3670
|
+
<div class="refsect2">
|
3671
|
+
<a name="GSocket--ttl"></a><h3>The <code class="literal">“ttl”</code> property</h3>
|
3672
|
+
<pre class="programlisting"> “ttl” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
3673
|
+
<p>Time-to-live for outgoing unicast packets</p>
|
3674
|
+
<p>Flags: Read / Write</p>
|
3675
|
+
<p>Default value: 0</p>
|
3676
|
+
<p class="since">Since 2.32</p>
|
3677
|
+
</div>
|
3678
|
+
<hr>
|
3679
|
+
<div class="refsect2">
|
3680
|
+
<a name="GSocket--type"></a><h3>The <code class="literal">“type”</code> property</h3>
|
3681
|
+
<pre class="programlisting"> “type” <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a></pre>
|
3682
|
+
<p>The sockets type.</p>
|
3683
|
+
<p>Flags: Read / Write / Construct Only</p>
|
3684
|
+
<p>Default value: G_SOCKET_TYPE_STREAM</p>
|
3685
|
+
</div>
|
3686
|
+
</div>
|
3687
|
+
<div class="refsect1">
|
3688
|
+
<a name="GSocket.see-also"></a><h2>See Also</h2>
|
3689
|
+
<p><a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>, <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h"><gnetworking.h></a></p>
|
3690
|
+
</div>
|
3691
|
+
</div>
|
3692
|
+
<div class="footer">
|
3693
|
+
<hr>
|
3694
|
+
Generated by GTK-Doc V1.21.1</div>
|
3695
|
+
</body>
|
3696
|
+
</html>
|