glib2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +26 -4
- data/ext/glib2/glib2.def +3 -1
- data/ext/glib2/rbgcompat.h +0 -15
- data/ext/glib2/rbglib.h +11 -3
- data/ext/glib2/rbglib_source.c +6 -1
- data/ext/glib2/rbgobj_boxed.c +65 -48
- data/ext/glib2/rbgobj_convert.c +29 -14
- data/ext/glib2/rbgobj_value.c +42 -0
- data/ext/glib2/rbgobject.c +7 -4
- data/ext/glib2/rbgobject.h +15 -9
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +6 -1
- data/lib/gnome2-win32-binary-build-task.rb +40 -10
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- data/vendor/local/bin/gdbus.exe +0 -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 +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- 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-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +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.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.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/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/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
- data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
- data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
- data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
- data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
- data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
- data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
- data/vendor/local/include/glib-2.0/gmodule.h +7 -11
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
- data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
- data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +2 -41
- 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 +1 -1
- data/vendor/local/lib/glib-2.0.def +0 -2
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gobject-2.0.def +0 -4
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -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.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -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 +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.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/gl/LC_MESSAGES/glib20.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/kn/LC_MESSAGES/glib20.mo +0 -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/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.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/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +33 -197
- data/ext/glib2/rbgobj_fundamental.c +0 -43
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/dumpsexp.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +0 -177
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
- data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
- data/vendor/local/gnutls.README.txt +0 -6
- data/vendor/local/include/gcrypt-module.h +0 -226
- data/vendor/local/include/gcrypt.h +0 -1826
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
- data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/gnutls/extra.h +0 -137
- data/vendor/local/include/gpg-error.h +0 -651
- data/vendor/local/include/libtasn1.h +0 -246
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgcrypt.def +0 -237
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
- data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
- data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
- data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
- data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
- data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
- data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
- 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/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +0 -879
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
- data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
- data/vendor/local/share/info/gcrypt.info +0 -6243
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/libtasn1.info +0 -2993
- data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
- data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
- data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
- data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
- data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
- data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
- data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
- data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
- data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
- data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
- data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
- data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
- data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
- data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
- data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
- data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
- data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
- data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
- data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
@@ -1,137 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation
|
3
|
-
*
|
4
|
-
* Author: Nikos Mavrogiannopoulos
|
5
|
-
*
|
6
|
-
* This file is part of GNUTLS-EXTRA.
|
7
|
-
*
|
8
|
-
* GNUTLS-EXTRA is free software; you can redistribute it and/or
|
9
|
-
* modify it under the terms of the GNU General Public License as
|
10
|
-
* published by the Free Software Foundation; either version 3 of the
|
11
|
-
* License, or (at your option) any later version.
|
12
|
-
*
|
13
|
-
* GNUTLS-EXTRA is distributed in the hope that it will be useful, but
|
14
|
-
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
-
* General Public License for more details.
|
17
|
-
*
|
18
|
-
* You should have received a copy of the GNU General Public License
|
19
|
-
* along with GNUTLS-EXTRA; if not, write to the Free Software
|
20
|
-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
21
|
-
* 02110-1301, USA.
|
22
|
-
*
|
23
|
-
*/
|
24
|
-
|
25
|
-
/* Note the libgnutls-extra is not a standalone library. It requires
|
26
|
-
* to link also against libgnutls.
|
27
|
-
*/
|
28
|
-
|
29
|
-
#ifndef GNUTLS_EXTRA_H
|
30
|
-
# define GNUTLS_EXTRA_H
|
31
|
-
|
32
|
-
#include <gnutls/gnutls.h>
|
33
|
-
|
34
|
-
#ifdef __cplusplus
|
35
|
-
extern "C"
|
36
|
-
{
|
37
|
-
#endif
|
38
|
-
|
39
|
-
#define LIBGNUTLS_EXTRA_VERSION LIBGNUTLS_VERSION
|
40
|
-
|
41
|
-
/* TLS/IA stuff
|
42
|
-
*/
|
43
|
-
|
44
|
-
typedef enum
|
45
|
-
{
|
46
|
-
GNUTLS_IA_APPLICATION_PAYLOAD = 0,
|
47
|
-
GNUTLS_IA_INTERMEDIATE_PHASE_FINISHED = 1,
|
48
|
-
GNUTLS_IA_FINAL_PHASE_FINISHED = 2
|
49
|
-
} gnutls_ia_apptype_t;
|
50
|
-
|
51
|
-
/* TLS/IA credential
|
52
|
-
*/
|
53
|
-
|
54
|
-
typedef int (*gnutls_ia_avp_func) (gnutls_session_t session, void *ptr,
|
55
|
-
const char *last, size_t lastlen,
|
56
|
-
char **next, size_t * nextlen);
|
57
|
-
|
58
|
-
typedef struct gnutls_ia_server_credentials_st
|
59
|
-
*gnutls_ia_server_credentials_t;
|
60
|
-
typedef struct gnutls_ia_client_credentials_st
|
61
|
-
*gnutls_ia_client_credentials_t;
|
62
|
-
|
63
|
-
/* Allocate and free TLS/IA credentials. */
|
64
|
-
extern void
|
65
|
-
gnutls_ia_free_client_credentials (gnutls_ia_client_credentials_t sc);
|
66
|
-
extern int
|
67
|
-
gnutls_ia_allocate_client_credentials (gnutls_ia_client_credentials_t *
|
68
|
-
sc);
|
69
|
-
|
70
|
-
extern void
|
71
|
-
gnutls_ia_free_server_credentials (gnutls_ia_server_credentials_t sc);
|
72
|
-
extern int
|
73
|
-
gnutls_ia_allocate_server_credentials (gnutls_ia_server_credentials_t *
|
74
|
-
sc);
|
75
|
-
|
76
|
-
/* Client TLS/IA credential functions. */
|
77
|
-
extern void
|
78
|
-
gnutls_ia_set_client_avp_function (gnutls_ia_client_credentials_t cred,
|
79
|
-
gnutls_ia_avp_func avp_func);
|
80
|
-
extern void
|
81
|
-
gnutls_ia_set_client_avp_ptr (gnutls_ia_client_credentials_t cred,
|
82
|
-
void *ptr);
|
83
|
-
extern void *gnutls_ia_get_client_avp_ptr (gnutls_ia_client_credentials_t
|
84
|
-
cred);
|
85
|
-
|
86
|
-
/* Server TLS/IA credential functions. */
|
87
|
-
extern void
|
88
|
-
gnutls_ia_set_server_avp_function (gnutls_ia_server_credentials_t cred,
|
89
|
-
gnutls_ia_avp_func avp_func);
|
90
|
-
extern void
|
91
|
-
gnutls_ia_set_server_avp_ptr (gnutls_ia_server_credentials_t cred,
|
92
|
-
void *ptr);
|
93
|
-
extern void *gnutls_ia_get_server_avp_ptr (gnutls_ia_server_credentials_t
|
94
|
-
cred);
|
95
|
-
|
96
|
-
/* TLS/IA handshake. */
|
97
|
-
extern int gnutls_ia_handshake_p (gnutls_session_t session);
|
98
|
-
|
99
|
-
extern int gnutls_ia_handshake (gnutls_session_t session);
|
100
|
-
|
101
|
-
/* TLS/IA low level interface. */
|
102
|
-
extern int
|
103
|
-
gnutls_ia_permute_inner_secret (gnutls_session_t session,
|
104
|
-
size_t session_keys_size,
|
105
|
-
const char *session_keys);
|
106
|
-
extern int gnutls_ia_endphase_send (gnutls_session_t session,
|
107
|
-
int final_p);
|
108
|
-
|
109
|
-
extern int gnutls_ia_verify_endphase (gnutls_session_t session,
|
110
|
-
const char *checksum);
|
111
|
-
|
112
|
-
extern ssize_t gnutls_ia_send (gnutls_session_t session,
|
113
|
-
const char *data, size_t sizeofdata);
|
114
|
-
extern ssize_t gnutls_ia_recv (gnutls_session_t session,
|
115
|
-
char *data, size_t sizeofdata);
|
116
|
-
|
117
|
-
/* Utility stuff. */
|
118
|
-
extern int gnutls_ia_generate_challenge (gnutls_session_t session,
|
119
|
-
size_t buffer_size,
|
120
|
-
char *buffer);
|
121
|
-
extern void gnutls_ia_extract_inner_secret (gnutls_session_t session,
|
122
|
-
char *buffer);
|
123
|
-
|
124
|
-
/* Define whether inner phases are wanted. */
|
125
|
-
extern void gnutls_ia_enable (gnutls_session_t session,
|
126
|
-
int allow_skip_on_resume);
|
127
|
-
|
128
|
-
int gnutls_global_init_extra (void);
|
129
|
-
|
130
|
-
/* returns libgnutls-extra version (call it with a NULL argument)
|
131
|
-
*/
|
132
|
-
const char *gnutls_extra_check_version (const char *req_version);
|
133
|
-
|
134
|
-
#ifdef __cplusplus
|
135
|
-
}
|
136
|
-
#endif
|
137
|
-
#endif
|
@@ -1,651 +0,0 @@
|
|
1
|
-
/* Output of mkheader.awk. DO NOT EDIT. */
|
2
|
-
|
3
|
-
/* gpg-error.h - Public interface to libgpg-error.
|
4
|
-
Copyright (C) 2003, 2004 g10 Code GmbH
|
5
|
-
|
6
|
-
This file is part of libgpg-error.
|
7
|
-
|
8
|
-
libgpg-error is free software; you can redistribute it and/or
|
9
|
-
modify it under the terms of the GNU Lesser General Public License
|
10
|
-
as published by the Free Software Foundation; either version 2.1 of
|
11
|
-
the License, or (at your option) any later version.
|
12
|
-
|
13
|
-
libgpg-error is distributed in the hope that it will be useful, but
|
14
|
-
WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
-
Lesser General Public License for more details.
|
17
|
-
|
18
|
-
You should have received a copy of the GNU Lesser General Public
|
19
|
-
License along with libgpg-error; if not, write to the Free
|
20
|
-
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
21
|
-
02111-1307, USA. */
|
22
|
-
|
23
|
-
#ifndef GPG_ERROR_H
|
24
|
-
#define GPG_ERROR_H 1
|
25
|
-
|
26
|
-
#include <stddef.h>
|
27
|
-
|
28
|
-
#ifdef __GNUC__
|
29
|
-
#define GPG_ERR_INLINE __inline__
|
30
|
-
#elif __STDC_VERSION__ >= 199901L
|
31
|
-
#define GPG_ERR_INLINE inline
|
32
|
-
#else
|
33
|
-
#ifndef GPG_ERR_INLINE
|
34
|
-
#define GPG_ERR_INLINE
|
35
|
-
#endif
|
36
|
-
#endif
|
37
|
-
|
38
|
-
|
39
|
-
#ifdef __cplusplus
|
40
|
-
extern "C" {
|
41
|
-
#if 0 /* just to make Emacs auto-indent happy */
|
42
|
-
}
|
43
|
-
#endif
|
44
|
-
#endif /* __cplusplus */
|
45
|
-
|
46
|
-
/* The GnuPG project consists of many components. Error codes are
|
47
|
-
exchanged between all components. The common error codes and their
|
48
|
-
user-presentable descriptions are kept into a shared library to
|
49
|
-
allow adding new error codes and components without recompiling any
|
50
|
-
of the other components. The interface will not change in a
|
51
|
-
backward incompatible way.
|
52
|
-
|
53
|
-
An error code together with an error source build up an error
|
54
|
-
value. As the error value is been passed from one component to
|
55
|
-
another, it preserver the information about the source and nature
|
56
|
-
of the error.
|
57
|
-
|
58
|
-
A component of the GnuPG project can define the following macro to
|
59
|
-
tune the behaviour of the library:
|
60
|
-
|
61
|
-
GPG_ERR_SOURCE_DEFAULT: Define to an error source of type
|
62
|
-
gpg_err_source_t to make that source the default for gpg_error().
|
63
|
-
Otherwise GPG_ERR_SOURCE_UNKNOWN is used as default. */
|
64
|
-
|
65
|
-
|
66
|
-
/* The error source type gpg_err_source_t.
|
67
|
-
|
68
|
-
Where as the Poo out of a welle small
|
69
|
-
Taketh his firste springing and his sours.
|
70
|
-
--Chaucer. */
|
71
|
-
|
72
|
-
/* Only use free slots, never change or reorder the existing
|
73
|
-
entries. */
|
74
|
-
typedef enum
|
75
|
-
{
|
76
|
-
GPG_ERR_SOURCE_UNKNOWN = 0,
|
77
|
-
GPG_ERR_SOURCE_GCRYPT = 1,
|
78
|
-
GPG_ERR_SOURCE_GPG = 2,
|
79
|
-
GPG_ERR_SOURCE_GPGSM = 3,
|
80
|
-
GPG_ERR_SOURCE_GPGAGENT = 4,
|
81
|
-
GPG_ERR_SOURCE_PINENTRY = 5,
|
82
|
-
GPG_ERR_SOURCE_SCD = 6,
|
83
|
-
GPG_ERR_SOURCE_GPGME = 7,
|
84
|
-
GPG_ERR_SOURCE_KEYBOX = 8,
|
85
|
-
GPG_ERR_SOURCE_KSBA = 9,
|
86
|
-
GPG_ERR_SOURCE_DIRMNGR = 10,
|
87
|
-
GPG_ERR_SOURCE_GSTI = 11,
|
88
|
-
GPG_ERR_SOURCE_GPA = 12,
|
89
|
-
GPG_ERR_SOURCE_KLEO = 13,
|
90
|
-
GPG_ERR_SOURCE_ANY = 31,
|
91
|
-
GPG_ERR_SOURCE_USER_1 = 32,
|
92
|
-
GPG_ERR_SOURCE_USER_2 = 33,
|
93
|
-
GPG_ERR_SOURCE_USER_3 = 34,
|
94
|
-
GPG_ERR_SOURCE_USER_4 = 35,
|
95
|
-
|
96
|
-
/* This is one more than the largest allowed entry. */
|
97
|
-
GPG_ERR_SOURCE_DIM = 256
|
98
|
-
} gpg_err_source_t;
|
99
|
-
|
100
|
-
|
101
|
-
/* The error code type gpg_err_code_t. */
|
102
|
-
|
103
|
-
/* Only use free slots, never change or reorder the existing
|
104
|
-
entries. */
|
105
|
-
typedef enum
|
106
|
-
{
|
107
|
-
GPG_ERR_NO_ERROR = 0,
|
108
|
-
GPG_ERR_GENERAL = 1,
|
109
|
-
GPG_ERR_UNKNOWN_PACKET = 2,
|
110
|
-
GPG_ERR_UNKNOWN_VERSION = 3,
|
111
|
-
GPG_ERR_PUBKEY_ALGO = 4,
|
112
|
-
GPG_ERR_DIGEST_ALGO = 5,
|
113
|
-
GPG_ERR_BAD_PUBKEY = 6,
|
114
|
-
GPG_ERR_BAD_SECKEY = 7,
|
115
|
-
GPG_ERR_BAD_SIGNATURE = 8,
|
116
|
-
GPG_ERR_NO_PUBKEY = 9,
|
117
|
-
GPG_ERR_CHECKSUM = 10,
|
118
|
-
GPG_ERR_BAD_PASSPHRASE = 11,
|
119
|
-
GPG_ERR_CIPHER_ALGO = 12,
|
120
|
-
GPG_ERR_KEYRING_OPEN = 13,
|
121
|
-
GPG_ERR_INV_PACKET = 14,
|
122
|
-
GPG_ERR_INV_ARMOR = 15,
|
123
|
-
GPG_ERR_NO_USER_ID = 16,
|
124
|
-
GPG_ERR_NO_SECKEY = 17,
|
125
|
-
GPG_ERR_WRONG_SECKEY = 18,
|
126
|
-
GPG_ERR_BAD_KEY = 19,
|
127
|
-
GPG_ERR_COMPR_ALGO = 20,
|
128
|
-
GPG_ERR_NO_PRIME = 21,
|
129
|
-
GPG_ERR_NO_ENCODING_METHOD = 22,
|
130
|
-
GPG_ERR_NO_ENCRYPTION_SCHEME = 23,
|
131
|
-
GPG_ERR_NO_SIGNATURE_SCHEME = 24,
|
132
|
-
GPG_ERR_INV_ATTR = 25,
|
133
|
-
GPG_ERR_NO_VALUE = 26,
|
134
|
-
GPG_ERR_NOT_FOUND = 27,
|
135
|
-
GPG_ERR_VALUE_NOT_FOUND = 28,
|
136
|
-
GPG_ERR_SYNTAX = 29,
|
137
|
-
GPG_ERR_BAD_MPI = 30,
|
138
|
-
GPG_ERR_INV_PASSPHRASE = 31,
|
139
|
-
GPG_ERR_SIG_CLASS = 32,
|
140
|
-
GPG_ERR_RESOURCE_LIMIT = 33,
|
141
|
-
GPG_ERR_INV_KEYRING = 34,
|
142
|
-
GPG_ERR_TRUSTDB = 35,
|
143
|
-
GPG_ERR_BAD_CERT = 36,
|
144
|
-
GPG_ERR_INV_USER_ID = 37,
|
145
|
-
GPG_ERR_UNEXPECTED = 38,
|
146
|
-
GPG_ERR_TIME_CONFLICT = 39,
|
147
|
-
GPG_ERR_KEYSERVER = 40,
|
148
|
-
GPG_ERR_WRONG_PUBKEY_ALGO = 41,
|
149
|
-
GPG_ERR_TRIBUTE_TO_D_A = 42,
|
150
|
-
GPG_ERR_WEAK_KEY = 43,
|
151
|
-
GPG_ERR_INV_KEYLEN = 44,
|
152
|
-
GPG_ERR_INV_ARG = 45,
|
153
|
-
GPG_ERR_BAD_URI = 46,
|
154
|
-
GPG_ERR_INV_URI = 47,
|
155
|
-
GPG_ERR_NETWORK = 48,
|
156
|
-
GPG_ERR_UNKNOWN_HOST = 49,
|
157
|
-
GPG_ERR_SELFTEST_FAILED = 50,
|
158
|
-
GPG_ERR_NOT_ENCRYPTED = 51,
|
159
|
-
GPG_ERR_NOT_PROCESSED = 52,
|
160
|
-
GPG_ERR_UNUSABLE_PUBKEY = 53,
|
161
|
-
GPG_ERR_UNUSABLE_SECKEY = 54,
|
162
|
-
GPG_ERR_INV_VALUE = 55,
|
163
|
-
GPG_ERR_BAD_CERT_CHAIN = 56,
|
164
|
-
GPG_ERR_MISSING_CERT = 57,
|
165
|
-
GPG_ERR_NO_DATA = 58,
|
166
|
-
GPG_ERR_BUG = 59,
|
167
|
-
GPG_ERR_NOT_SUPPORTED = 60,
|
168
|
-
GPG_ERR_INV_OP = 61,
|
169
|
-
GPG_ERR_TIMEOUT = 62,
|
170
|
-
GPG_ERR_INTERNAL = 63,
|
171
|
-
GPG_ERR_EOF_GCRYPT = 64,
|
172
|
-
GPG_ERR_INV_OBJ = 65,
|
173
|
-
GPG_ERR_TOO_SHORT = 66,
|
174
|
-
GPG_ERR_TOO_LARGE = 67,
|
175
|
-
GPG_ERR_NO_OBJ = 68,
|
176
|
-
GPG_ERR_NOT_IMPLEMENTED = 69,
|
177
|
-
GPG_ERR_CONFLICT = 70,
|
178
|
-
GPG_ERR_INV_CIPHER_MODE = 71,
|
179
|
-
GPG_ERR_INV_FLAG = 72,
|
180
|
-
GPG_ERR_INV_HANDLE = 73,
|
181
|
-
GPG_ERR_TRUNCATED = 74,
|
182
|
-
GPG_ERR_INCOMPLETE_LINE = 75,
|
183
|
-
GPG_ERR_INV_RESPONSE = 76,
|
184
|
-
GPG_ERR_NO_AGENT = 77,
|
185
|
-
GPG_ERR_AGENT = 78,
|
186
|
-
GPG_ERR_INV_DATA = 79,
|
187
|
-
GPG_ERR_ASSUAN_SERVER_FAULT = 80,
|
188
|
-
GPG_ERR_ASSUAN = 81,
|
189
|
-
GPG_ERR_INV_SESSION_KEY = 82,
|
190
|
-
GPG_ERR_INV_SEXP = 83,
|
191
|
-
GPG_ERR_UNSUPPORTED_ALGORITHM = 84,
|
192
|
-
GPG_ERR_NO_PIN_ENTRY = 85,
|
193
|
-
GPG_ERR_PIN_ENTRY = 86,
|
194
|
-
GPG_ERR_BAD_PIN = 87,
|
195
|
-
GPG_ERR_INV_NAME = 88,
|
196
|
-
GPG_ERR_BAD_DATA = 89,
|
197
|
-
GPG_ERR_INV_PARAMETER = 90,
|
198
|
-
GPG_ERR_WRONG_CARD = 91,
|
199
|
-
GPG_ERR_NO_DIRMNGR = 92,
|
200
|
-
GPG_ERR_DIRMNGR = 93,
|
201
|
-
GPG_ERR_CERT_REVOKED = 94,
|
202
|
-
GPG_ERR_NO_CRL_KNOWN = 95,
|
203
|
-
GPG_ERR_CRL_TOO_OLD = 96,
|
204
|
-
GPG_ERR_LINE_TOO_LONG = 97,
|
205
|
-
GPG_ERR_NOT_TRUSTED = 98,
|
206
|
-
GPG_ERR_CANCELED = 99,
|
207
|
-
GPG_ERR_BAD_CA_CERT = 100,
|
208
|
-
GPG_ERR_CERT_EXPIRED = 101,
|
209
|
-
GPG_ERR_CERT_TOO_YOUNG = 102,
|
210
|
-
GPG_ERR_UNSUPPORTED_CERT = 103,
|
211
|
-
GPG_ERR_UNKNOWN_SEXP = 104,
|
212
|
-
GPG_ERR_UNSUPPORTED_PROTECTION = 105,
|
213
|
-
GPG_ERR_CORRUPTED_PROTECTION = 106,
|
214
|
-
GPG_ERR_AMBIGUOUS_NAME = 107,
|
215
|
-
GPG_ERR_CARD = 108,
|
216
|
-
GPG_ERR_CARD_RESET = 109,
|
217
|
-
GPG_ERR_CARD_REMOVED = 110,
|
218
|
-
GPG_ERR_INV_CARD = 111,
|
219
|
-
GPG_ERR_CARD_NOT_PRESENT = 112,
|
220
|
-
GPG_ERR_NO_PKCS15_APP = 113,
|
221
|
-
GPG_ERR_NOT_CONFIRMED = 114,
|
222
|
-
GPG_ERR_CONFIGURATION = 115,
|
223
|
-
GPG_ERR_NO_POLICY_MATCH = 116,
|
224
|
-
GPG_ERR_INV_INDEX = 117,
|
225
|
-
GPG_ERR_INV_ID = 118,
|
226
|
-
GPG_ERR_NO_SCDAEMON = 119,
|
227
|
-
GPG_ERR_SCDAEMON = 120,
|
228
|
-
GPG_ERR_UNSUPPORTED_PROTOCOL = 121,
|
229
|
-
GPG_ERR_BAD_PIN_METHOD = 122,
|
230
|
-
GPG_ERR_CARD_NOT_INITIALIZED = 123,
|
231
|
-
GPG_ERR_UNSUPPORTED_OPERATION = 124,
|
232
|
-
GPG_ERR_WRONG_KEY_USAGE = 125,
|
233
|
-
GPG_ERR_NOTHING_FOUND = 126,
|
234
|
-
GPG_ERR_WRONG_BLOB_TYPE = 127,
|
235
|
-
GPG_ERR_MISSING_VALUE = 128,
|
236
|
-
GPG_ERR_HARDWARE = 129,
|
237
|
-
GPG_ERR_PIN_BLOCKED = 130,
|
238
|
-
GPG_ERR_USE_CONDITIONS = 131,
|
239
|
-
GPG_ERR_PIN_NOT_SYNCED = 132,
|
240
|
-
GPG_ERR_INV_CRL = 133,
|
241
|
-
GPG_ERR_BAD_BER = 134,
|
242
|
-
GPG_ERR_INV_BER = 135,
|
243
|
-
GPG_ERR_ELEMENT_NOT_FOUND = 136,
|
244
|
-
GPG_ERR_IDENTIFIER_NOT_FOUND = 137,
|
245
|
-
GPG_ERR_INV_TAG = 138,
|
246
|
-
GPG_ERR_INV_LENGTH = 139,
|
247
|
-
GPG_ERR_INV_KEYINFO = 140,
|
248
|
-
GPG_ERR_UNEXPECTED_TAG = 141,
|
249
|
-
GPG_ERR_NOT_DER_ENCODED = 142,
|
250
|
-
GPG_ERR_NO_CMS_OBJ = 143,
|
251
|
-
GPG_ERR_INV_CMS_OBJ = 144,
|
252
|
-
GPG_ERR_UNKNOWN_CMS_OBJ = 145,
|
253
|
-
GPG_ERR_UNSUPPORTED_CMS_OBJ = 146,
|
254
|
-
GPG_ERR_UNSUPPORTED_ENCODING = 147,
|
255
|
-
GPG_ERR_UNSUPPORTED_CMS_VERSION = 148,
|
256
|
-
GPG_ERR_UNKNOWN_ALGORITHM = 149,
|
257
|
-
GPG_ERR_INV_ENGINE = 150,
|
258
|
-
GPG_ERR_PUBKEY_NOT_TRUSTED = 151,
|
259
|
-
GPG_ERR_DECRYPT_FAILED = 152,
|
260
|
-
GPG_ERR_KEY_EXPIRED = 153,
|
261
|
-
GPG_ERR_SIG_EXPIRED = 154,
|
262
|
-
GPG_ERR_ENCODING_PROBLEM = 155,
|
263
|
-
GPG_ERR_INV_STATE = 156,
|
264
|
-
GPG_ERR_DUP_VALUE = 157,
|
265
|
-
GPG_ERR_MISSING_ACTION = 158,
|
266
|
-
GPG_ERR_MODULE_NOT_FOUND = 159,
|
267
|
-
GPG_ERR_INV_OID_STRING = 160,
|
268
|
-
GPG_ERR_INV_TIME = 161,
|
269
|
-
GPG_ERR_INV_CRL_OBJ = 162,
|
270
|
-
GPG_ERR_UNSUPPORTED_CRL_VERSION = 163,
|
271
|
-
GPG_ERR_INV_CERT_OBJ = 164,
|
272
|
-
GPG_ERR_UNKNOWN_NAME = 165,
|
273
|
-
GPG_ERR_LOCALE_PROBLEM = 166,
|
274
|
-
GPG_ERR_NOT_LOCKED = 167,
|
275
|
-
GPG_ERR_PROTOCOL_VIOLATION = 168,
|
276
|
-
GPG_ERR_INV_MAC = 169,
|
277
|
-
GPG_ERR_INV_REQUEST = 170,
|
278
|
-
GPG_ERR_UNKNOWN_EXTN = 171,
|
279
|
-
GPG_ERR_UNKNOWN_CRIT_EXTN = 172,
|
280
|
-
GPG_ERR_LOCKED = 173,
|
281
|
-
GPG_ERR_UNKNOWN_OPTION = 174,
|
282
|
-
GPG_ERR_UNKNOWN_COMMAND = 175,
|
283
|
-
GPG_ERR_UNFINISHED = 199,
|
284
|
-
GPG_ERR_BUFFER_TOO_SHORT = 200,
|
285
|
-
GPG_ERR_SEXP_INV_LEN_SPEC = 201,
|
286
|
-
GPG_ERR_SEXP_STRING_TOO_LONG = 202,
|
287
|
-
GPG_ERR_SEXP_UNMATCHED_PAREN = 203,
|
288
|
-
GPG_ERR_SEXP_NOT_CANONICAL = 204,
|
289
|
-
GPG_ERR_SEXP_BAD_CHARACTER = 205,
|
290
|
-
GPG_ERR_SEXP_BAD_QUOTATION = 206,
|
291
|
-
GPG_ERR_SEXP_ZERO_PREFIX = 207,
|
292
|
-
GPG_ERR_SEXP_NESTED_DH = 208,
|
293
|
-
GPG_ERR_SEXP_UNMATCHED_DH = 209,
|
294
|
-
GPG_ERR_SEXP_UNEXPECTED_PUNC = 210,
|
295
|
-
GPG_ERR_SEXP_BAD_HEX_CHAR = 211,
|
296
|
-
GPG_ERR_SEXP_ODD_HEX_NUMBERS = 212,
|
297
|
-
GPG_ERR_SEXP_BAD_OCT_CHAR = 213,
|
298
|
-
GPG_ERR_ASS_GENERAL = 257,
|
299
|
-
GPG_ERR_ASS_ACCEPT_FAILED = 258,
|
300
|
-
GPG_ERR_ASS_CONNECT_FAILED = 259,
|
301
|
-
GPG_ERR_ASS_INV_RESPONSE = 260,
|
302
|
-
GPG_ERR_ASS_INV_VALUE = 261,
|
303
|
-
GPG_ERR_ASS_INCOMPLETE_LINE = 262,
|
304
|
-
GPG_ERR_ASS_LINE_TOO_LONG = 263,
|
305
|
-
GPG_ERR_ASS_NESTED_COMMANDS = 264,
|
306
|
-
GPG_ERR_ASS_NO_DATA_CB = 265,
|
307
|
-
GPG_ERR_ASS_NO_INQUIRE_CB = 266,
|
308
|
-
GPG_ERR_ASS_NOT_A_SERVER = 267,
|
309
|
-
GPG_ERR_ASS_NOT_A_CLIENT = 268,
|
310
|
-
GPG_ERR_ASS_SERVER_START = 269,
|
311
|
-
GPG_ERR_ASS_READ_ERROR = 270,
|
312
|
-
GPG_ERR_ASS_WRITE_ERROR = 271,
|
313
|
-
GPG_ERR_ASS_TOO_MUCH_DATA = 273,
|
314
|
-
GPG_ERR_ASS_UNEXPECTED_CMD = 274,
|
315
|
-
GPG_ERR_ASS_UNKNOWN_CMD = 275,
|
316
|
-
GPG_ERR_ASS_SYNTAX = 276,
|
317
|
-
GPG_ERR_ASS_CANCELED = 277,
|
318
|
-
GPG_ERR_ASS_NO_INPUT = 278,
|
319
|
-
GPG_ERR_ASS_NO_OUTPUT = 279,
|
320
|
-
GPG_ERR_ASS_PARAMETER = 280,
|
321
|
-
GPG_ERR_ASS_UNKNOWN_INQUIRE = 281,
|
322
|
-
GPG_ERR_USER_1 = 1024,
|
323
|
-
GPG_ERR_USER_2 = 1025,
|
324
|
-
GPG_ERR_USER_3 = 1026,
|
325
|
-
GPG_ERR_USER_4 = 1027,
|
326
|
-
GPG_ERR_USER_5 = 1028,
|
327
|
-
GPG_ERR_USER_6 = 1029,
|
328
|
-
GPG_ERR_USER_7 = 1030,
|
329
|
-
GPG_ERR_USER_8 = 1031,
|
330
|
-
GPG_ERR_USER_9 = 1032,
|
331
|
-
GPG_ERR_USER_10 = 1033,
|
332
|
-
GPG_ERR_USER_11 = 1034,
|
333
|
-
GPG_ERR_USER_12 = 1035,
|
334
|
-
GPG_ERR_USER_13 = 1036,
|
335
|
-
GPG_ERR_USER_14 = 1037,
|
336
|
-
GPG_ERR_USER_15 = 1038,
|
337
|
-
GPG_ERR_USER_16 = 1039,
|
338
|
-
GPG_ERR_MISSING_ERRNO = 16381,
|
339
|
-
GPG_ERR_UNKNOWN_ERRNO = 16382,
|
340
|
-
GPG_ERR_EOF = 16383,
|
341
|
-
|
342
|
-
/* The following error codes are used to map system errors. */
|
343
|
-
#define GPG_ERR_SYSTEM_ERROR (1 << 15)
|
344
|
-
GPG_ERR_E2BIG = GPG_ERR_SYSTEM_ERROR | 0,
|
345
|
-
GPG_ERR_EACCES = GPG_ERR_SYSTEM_ERROR | 1,
|
346
|
-
GPG_ERR_EADDRINUSE = GPG_ERR_SYSTEM_ERROR | 2,
|
347
|
-
GPG_ERR_EADDRNOTAVAIL = GPG_ERR_SYSTEM_ERROR | 3,
|
348
|
-
GPG_ERR_EADV = GPG_ERR_SYSTEM_ERROR | 4,
|
349
|
-
GPG_ERR_EAFNOSUPPORT = GPG_ERR_SYSTEM_ERROR | 5,
|
350
|
-
GPG_ERR_EAGAIN = GPG_ERR_SYSTEM_ERROR | 6,
|
351
|
-
GPG_ERR_EALREADY = GPG_ERR_SYSTEM_ERROR | 7,
|
352
|
-
GPG_ERR_EAUTH = GPG_ERR_SYSTEM_ERROR | 8,
|
353
|
-
GPG_ERR_EBACKGROUND = GPG_ERR_SYSTEM_ERROR | 9,
|
354
|
-
GPG_ERR_EBADE = GPG_ERR_SYSTEM_ERROR | 10,
|
355
|
-
GPG_ERR_EBADF = GPG_ERR_SYSTEM_ERROR | 11,
|
356
|
-
GPG_ERR_EBADFD = GPG_ERR_SYSTEM_ERROR | 12,
|
357
|
-
GPG_ERR_EBADMSG = GPG_ERR_SYSTEM_ERROR | 13,
|
358
|
-
GPG_ERR_EBADR = GPG_ERR_SYSTEM_ERROR | 14,
|
359
|
-
GPG_ERR_EBADRPC = GPG_ERR_SYSTEM_ERROR | 15,
|
360
|
-
GPG_ERR_EBADRQC = GPG_ERR_SYSTEM_ERROR | 16,
|
361
|
-
GPG_ERR_EBADSLT = GPG_ERR_SYSTEM_ERROR | 17,
|
362
|
-
GPG_ERR_EBFONT = GPG_ERR_SYSTEM_ERROR | 18,
|
363
|
-
GPG_ERR_EBUSY = GPG_ERR_SYSTEM_ERROR | 19,
|
364
|
-
GPG_ERR_ECANCELED = GPG_ERR_SYSTEM_ERROR | 20,
|
365
|
-
GPG_ERR_ECHILD = GPG_ERR_SYSTEM_ERROR | 21,
|
366
|
-
GPG_ERR_ECHRNG = GPG_ERR_SYSTEM_ERROR | 22,
|
367
|
-
GPG_ERR_ECOMM = GPG_ERR_SYSTEM_ERROR | 23,
|
368
|
-
GPG_ERR_ECONNABORTED = GPG_ERR_SYSTEM_ERROR | 24,
|
369
|
-
GPG_ERR_ECONNREFUSED = GPG_ERR_SYSTEM_ERROR | 25,
|
370
|
-
GPG_ERR_ECONNRESET = GPG_ERR_SYSTEM_ERROR | 26,
|
371
|
-
GPG_ERR_ED = GPG_ERR_SYSTEM_ERROR | 27,
|
372
|
-
GPG_ERR_EDEADLK = GPG_ERR_SYSTEM_ERROR | 28,
|
373
|
-
GPG_ERR_EDEADLOCK = GPG_ERR_SYSTEM_ERROR | 29,
|
374
|
-
GPG_ERR_EDESTADDRREQ = GPG_ERR_SYSTEM_ERROR | 30,
|
375
|
-
GPG_ERR_EDIED = GPG_ERR_SYSTEM_ERROR | 31,
|
376
|
-
GPG_ERR_EDOM = GPG_ERR_SYSTEM_ERROR | 32,
|
377
|
-
GPG_ERR_EDOTDOT = GPG_ERR_SYSTEM_ERROR | 33,
|
378
|
-
GPG_ERR_EDQUOT = GPG_ERR_SYSTEM_ERROR | 34,
|
379
|
-
GPG_ERR_EEXIST = GPG_ERR_SYSTEM_ERROR | 35,
|
380
|
-
GPG_ERR_EFAULT = GPG_ERR_SYSTEM_ERROR | 36,
|
381
|
-
GPG_ERR_EFBIG = GPG_ERR_SYSTEM_ERROR | 37,
|
382
|
-
GPG_ERR_EFTYPE = GPG_ERR_SYSTEM_ERROR | 38,
|
383
|
-
GPG_ERR_EGRATUITOUS = GPG_ERR_SYSTEM_ERROR | 39,
|
384
|
-
GPG_ERR_EGREGIOUS = GPG_ERR_SYSTEM_ERROR | 40,
|
385
|
-
GPG_ERR_EHOSTDOWN = GPG_ERR_SYSTEM_ERROR | 41,
|
386
|
-
GPG_ERR_EHOSTUNREACH = GPG_ERR_SYSTEM_ERROR | 42,
|
387
|
-
GPG_ERR_EIDRM = GPG_ERR_SYSTEM_ERROR | 43,
|
388
|
-
GPG_ERR_EIEIO = GPG_ERR_SYSTEM_ERROR | 44,
|
389
|
-
GPG_ERR_EILSEQ = GPG_ERR_SYSTEM_ERROR | 45,
|
390
|
-
GPG_ERR_EINPROGRESS = GPG_ERR_SYSTEM_ERROR | 46,
|
391
|
-
GPG_ERR_EINTR = GPG_ERR_SYSTEM_ERROR | 47,
|
392
|
-
GPG_ERR_EINVAL = GPG_ERR_SYSTEM_ERROR | 48,
|
393
|
-
GPG_ERR_EIO = GPG_ERR_SYSTEM_ERROR | 49,
|
394
|
-
GPG_ERR_EISCONN = GPG_ERR_SYSTEM_ERROR | 50,
|
395
|
-
GPG_ERR_EISDIR = GPG_ERR_SYSTEM_ERROR | 51,
|
396
|
-
GPG_ERR_EISNAM = GPG_ERR_SYSTEM_ERROR | 52,
|
397
|
-
GPG_ERR_EL2HLT = GPG_ERR_SYSTEM_ERROR | 53,
|
398
|
-
GPG_ERR_EL2NSYNC = GPG_ERR_SYSTEM_ERROR | 54,
|
399
|
-
GPG_ERR_EL3HLT = GPG_ERR_SYSTEM_ERROR | 55,
|
400
|
-
GPG_ERR_EL3RST = GPG_ERR_SYSTEM_ERROR | 56,
|
401
|
-
GPG_ERR_ELIBACC = GPG_ERR_SYSTEM_ERROR | 57,
|
402
|
-
GPG_ERR_ELIBBAD = GPG_ERR_SYSTEM_ERROR | 58,
|
403
|
-
GPG_ERR_ELIBEXEC = GPG_ERR_SYSTEM_ERROR | 59,
|
404
|
-
GPG_ERR_ELIBMAX = GPG_ERR_SYSTEM_ERROR | 60,
|
405
|
-
GPG_ERR_ELIBSCN = GPG_ERR_SYSTEM_ERROR | 61,
|
406
|
-
GPG_ERR_ELNRNG = GPG_ERR_SYSTEM_ERROR | 62,
|
407
|
-
GPG_ERR_ELOOP = GPG_ERR_SYSTEM_ERROR | 63,
|
408
|
-
GPG_ERR_EMEDIUMTYPE = GPG_ERR_SYSTEM_ERROR | 64,
|
409
|
-
GPG_ERR_EMFILE = GPG_ERR_SYSTEM_ERROR | 65,
|
410
|
-
GPG_ERR_EMLINK = GPG_ERR_SYSTEM_ERROR | 66,
|
411
|
-
GPG_ERR_EMSGSIZE = GPG_ERR_SYSTEM_ERROR | 67,
|
412
|
-
GPG_ERR_EMULTIHOP = GPG_ERR_SYSTEM_ERROR | 68,
|
413
|
-
GPG_ERR_ENAMETOOLONG = GPG_ERR_SYSTEM_ERROR | 69,
|
414
|
-
GPG_ERR_ENAVAIL = GPG_ERR_SYSTEM_ERROR | 70,
|
415
|
-
GPG_ERR_ENEEDAUTH = GPG_ERR_SYSTEM_ERROR | 71,
|
416
|
-
GPG_ERR_ENETDOWN = GPG_ERR_SYSTEM_ERROR | 72,
|
417
|
-
GPG_ERR_ENETRESET = GPG_ERR_SYSTEM_ERROR | 73,
|
418
|
-
GPG_ERR_ENETUNREACH = GPG_ERR_SYSTEM_ERROR | 74,
|
419
|
-
GPG_ERR_ENFILE = GPG_ERR_SYSTEM_ERROR | 75,
|
420
|
-
GPG_ERR_ENOANO = GPG_ERR_SYSTEM_ERROR | 76,
|
421
|
-
GPG_ERR_ENOBUFS = GPG_ERR_SYSTEM_ERROR | 77,
|
422
|
-
GPG_ERR_ENOCSI = GPG_ERR_SYSTEM_ERROR | 78,
|
423
|
-
GPG_ERR_ENODATA = GPG_ERR_SYSTEM_ERROR | 79,
|
424
|
-
GPG_ERR_ENODEV = GPG_ERR_SYSTEM_ERROR | 80,
|
425
|
-
GPG_ERR_ENOENT = GPG_ERR_SYSTEM_ERROR | 81,
|
426
|
-
GPG_ERR_ENOEXEC = GPG_ERR_SYSTEM_ERROR | 82,
|
427
|
-
GPG_ERR_ENOLCK = GPG_ERR_SYSTEM_ERROR | 83,
|
428
|
-
GPG_ERR_ENOLINK = GPG_ERR_SYSTEM_ERROR | 84,
|
429
|
-
GPG_ERR_ENOMEDIUM = GPG_ERR_SYSTEM_ERROR | 85,
|
430
|
-
GPG_ERR_ENOMEM = GPG_ERR_SYSTEM_ERROR | 86,
|
431
|
-
GPG_ERR_ENOMSG = GPG_ERR_SYSTEM_ERROR | 87,
|
432
|
-
GPG_ERR_ENONET = GPG_ERR_SYSTEM_ERROR | 88,
|
433
|
-
GPG_ERR_ENOPKG = GPG_ERR_SYSTEM_ERROR | 89,
|
434
|
-
GPG_ERR_ENOPROTOOPT = GPG_ERR_SYSTEM_ERROR | 90,
|
435
|
-
GPG_ERR_ENOSPC = GPG_ERR_SYSTEM_ERROR | 91,
|
436
|
-
GPG_ERR_ENOSR = GPG_ERR_SYSTEM_ERROR | 92,
|
437
|
-
GPG_ERR_ENOSTR = GPG_ERR_SYSTEM_ERROR | 93,
|
438
|
-
GPG_ERR_ENOSYS = GPG_ERR_SYSTEM_ERROR | 94,
|
439
|
-
GPG_ERR_ENOTBLK = GPG_ERR_SYSTEM_ERROR | 95,
|
440
|
-
GPG_ERR_ENOTCONN = GPG_ERR_SYSTEM_ERROR | 96,
|
441
|
-
GPG_ERR_ENOTDIR = GPG_ERR_SYSTEM_ERROR | 97,
|
442
|
-
GPG_ERR_ENOTEMPTY = GPG_ERR_SYSTEM_ERROR | 98,
|
443
|
-
GPG_ERR_ENOTNAM = GPG_ERR_SYSTEM_ERROR | 99,
|
444
|
-
GPG_ERR_ENOTSOCK = GPG_ERR_SYSTEM_ERROR | 100,
|
445
|
-
GPG_ERR_ENOTSUP = GPG_ERR_SYSTEM_ERROR | 101,
|
446
|
-
GPG_ERR_ENOTTY = GPG_ERR_SYSTEM_ERROR | 102,
|
447
|
-
GPG_ERR_ENOTUNIQ = GPG_ERR_SYSTEM_ERROR | 103,
|
448
|
-
GPG_ERR_ENXIO = GPG_ERR_SYSTEM_ERROR | 104,
|
449
|
-
GPG_ERR_EOPNOTSUPP = GPG_ERR_SYSTEM_ERROR | 105,
|
450
|
-
GPG_ERR_EOVERFLOW = GPG_ERR_SYSTEM_ERROR | 106,
|
451
|
-
GPG_ERR_EPERM = GPG_ERR_SYSTEM_ERROR | 107,
|
452
|
-
GPG_ERR_EPFNOSUPPORT = GPG_ERR_SYSTEM_ERROR | 108,
|
453
|
-
GPG_ERR_EPIPE = GPG_ERR_SYSTEM_ERROR | 109,
|
454
|
-
GPG_ERR_EPROCLIM = GPG_ERR_SYSTEM_ERROR | 110,
|
455
|
-
GPG_ERR_EPROCUNAVAIL = GPG_ERR_SYSTEM_ERROR | 111,
|
456
|
-
GPG_ERR_EPROGMISMATCH = GPG_ERR_SYSTEM_ERROR | 112,
|
457
|
-
GPG_ERR_EPROGUNAVAIL = GPG_ERR_SYSTEM_ERROR | 113,
|
458
|
-
GPG_ERR_EPROTO = GPG_ERR_SYSTEM_ERROR | 114,
|
459
|
-
GPG_ERR_EPROTONOSUPPORT = GPG_ERR_SYSTEM_ERROR | 115,
|
460
|
-
GPG_ERR_EPROTOTYPE = GPG_ERR_SYSTEM_ERROR | 116,
|
461
|
-
GPG_ERR_ERANGE = GPG_ERR_SYSTEM_ERROR | 117,
|
462
|
-
GPG_ERR_EREMCHG = GPG_ERR_SYSTEM_ERROR | 118,
|
463
|
-
GPG_ERR_EREMOTE = GPG_ERR_SYSTEM_ERROR | 119,
|
464
|
-
GPG_ERR_EREMOTEIO = GPG_ERR_SYSTEM_ERROR | 120,
|
465
|
-
GPG_ERR_ERESTART = GPG_ERR_SYSTEM_ERROR | 121,
|
466
|
-
GPG_ERR_EROFS = GPG_ERR_SYSTEM_ERROR | 122,
|
467
|
-
GPG_ERR_ERPCMISMATCH = GPG_ERR_SYSTEM_ERROR | 123,
|
468
|
-
GPG_ERR_ESHUTDOWN = GPG_ERR_SYSTEM_ERROR | 124,
|
469
|
-
GPG_ERR_ESOCKTNOSUPPORT = GPG_ERR_SYSTEM_ERROR | 125,
|
470
|
-
GPG_ERR_ESPIPE = GPG_ERR_SYSTEM_ERROR | 126,
|
471
|
-
GPG_ERR_ESRCH = GPG_ERR_SYSTEM_ERROR | 127,
|
472
|
-
GPG_ERR_ESRMNT = GPG_ERR_SYSTEM_ERROR | 128,
|
473
|
-
GPG_ERR_ESTALE = GPG_ERR_SYSTEM_ERROR | 129,
|
474
|
-
GPG_ERR_ESTRPIPE = GPG_ERR_SYSTEM_ERROR | 130,
|
475
|
-
GPG_ERR_ETIME = GPG_ERR_SYSTEM_ERROR | 131,
|
476
|
-
GPG_ERR_ETIMEDOUT = GPG_ERR_SYSTEM_ERROR | 132,
|
477
|
-
GPG_ERR_ETOOMANYREFS = GPG_ERR_SYSTEM_ERROR | 133,
|
478
|
-
GPG_ERR_ETXTBSY = GPG_ERR_SYSTEM_ERROR | 134,
|
479
|
-
GPG_ERR_EUCLEAN = GPG_ERR_SYSTEM_ERROR | 135,
|
480
|
-
GPG_ERR_EUNATCH = GPG_ERR_SYSTEM_ERROR | 136,
|
481
|
-
GPG_ERR_EUSERS = GPG_ERR_SYSTEM_ERROR | 137,
|
482
|
-
GPG_ERR_EWOULDBLOCK = GPG_ERR_SYSTEM_ERROR | 138,
|
483
|
-
GPG_ERR_EXDEV = GPG_ERR_SYSTEM_ERROR | 139,
|
484
|
-
GPG_ERR_EXFULL = GPG_ERR_SYSTEM_ERROR | 140,
|
485
|
-
|
486
|
-
/* This is one more than the largest allowed entry. */
|
487
|
-
GPG_ERR_CODE_DIM = 65536
|
488
|
-
} gpg_err_code_t;
|
489
|
-
|
490
|
-
|
491
|
-
/* The error value type gpg_error_t. */
|
492
|
-
|
493
|
-
/* We would really like to use bit-fields in a struct, but using
|
494
|
-
structs as return values can cause binary compatibility issues, in
|
495
|
-
particular if you want to do it effeciently (also see
|
496
|
-
-freg-struct-return option to GCC). */
|
497
|
-
typedef unsigned int gpg_error_t;
|
498
|
-
|
499
|
-
/* We use the lowest 16 bits of gpg_error_t for error codes. The 16th
|
500
|
-
bit indicates system errors. */
|
501
|
-
#define GPG_ERR_CODE_MASK (GPG_ERR_CODE_DIM - 1)
|
502
|
-
|
503
|
-
/* Bits 17 to 24 are reserved. */
|
504
|
-
|
505
|
-
/* We use the upper 8 bits of gpg_error_t for error sources. */
|
506
|
-
#define GPG_ERR_SOURCE_MASK (GPG_ERR_SOURCE_DIM - 1)
|
507
|
-
#define GPG_ERR_SOURCE_SHIFT 24
|
508
|
-
|
509
|
-
|
510
|
-
/* GCC feature test. */
|
511
|
-
#undef _GPG_ERR_HAVE_CONSTRUCTOR
|
512
|
-
#if __GNUC__
|
513
|
-
#define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \
|
514
|
-
+ __GNUC_MINOR__ * 100 \
|
515
|
-
+ __GNUC_PATCHLEVEL__)
|
516
|
-
|
517
|
-
#if _GPG_ERR_GCC_VERSION > 30100
|
518
|
-
#define _GPG_ERR_CONSTRUCTOR __attribute__ ((__constructor__))
|
519
|
-
#define _GPG_ERR_HAVE_CONSTRUCTOR
|
520
|
-
#endif
|
521
|
-
#endif
|
522
|
-
|
523
|
-
#ifndef _GPG_ERR_CONSTRUCTOR
|
524
|
-
#define _GPG_ERR_CONSTRUCTOR
|
525
|
-
#endif
|
526
|
-
|
527
|
-
|
528
|
-
/* Initialization function. */
|
529
|
-
|
530
|
-
/* Initialize the library. This function should be run early. */
|
531
|
-
gpg_error_t gpg_err_init (void) _GPG_ERR_CONSTRUCTOR;
|
532
|
-
|
533
|
-
/* If this is defined, the library is already initialized by the
|
534
|
-
constructor and does not need to be initialized explicitely. */
|
535
|
-
#undef GPG_ERR_INITIALIZED
|
536
|
-
#ifdef _GPG_ERR_HAVE_CONSTRUCTOR
|
537
|
-
#define GPG_ERR_INITIALIZED 1
|
538
|
-
#endif
|
539
|
-
|
540
|
-
|
541
|
-
/* Constructor and accessor functions. */
|
542
|
-
|
543
|
-
/* Construct an error value from an error code and source. Within a
|
544
|
-
subsystem, use gpg_error. */
|
545
|
-
static GPG_ERR_INLINE gpg_error_t
|
546
|
-
gpg_err_make (gpg_err_source_t source, gpg_err_code_t code)
|
547
|
-
{
|
548
|
-
return code == GPG_ERR_NO_ERROR ? GPG_ERR_NO_ERROR
|
549
|
-
: (((source & GPG_ERR_SOURCE_MASK) << GPG_ERR_SOURCE_SHIFT)
|
550
|
-
| (code & GPG_ERR_CODE_MASK));
|
551
|
-
}
|
552
|
-
|
553
|
-
|
554
|
-
/* The user should define GPG_ERR_SOURCE_DEFAULT before including this
|
555
|
-
file to specify a default source for gpg_error. */
|
556
|
-
#ifndef GPG_ERR_SOURCE_DEFAULT
|
557
|
-
#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_UNKNOWN
|
558
|
-
#endif
|
559
|
-
|
560
|
-
static GPG_ERR_INLINE gpg_error_t
|
561
|
-
gpg_error (gpg_err_code_t code)
|
562
|
-
{
|
563
|
-
return gpg_err_make (GPG_ERR_SOURCE_DEFAULT, code);
|
564
|
-
}
|
565
|
-
|
566
|
-
|
567
|
-
/* Retrieve the error code from an error value. */
|
568
|
-
static GPG_ERR_INLINE gpg_err_code_t
|
569
|
-
gpg_err_code (gpg_error_t err)
|
570
|
-
{
|
571
|
-
return (gpg_err_code_t) (err & GPG_ERR_CODE_MASK);
|
572
|
-
}
|
573
|
-
|
574
|
-
|
575
|
-
/* Retrieve the error source from an error value. */
|
576
|
-
static GPG_ERR_INLINE gpg_err_source_t
|
577
|
-
gpg_err_source (gpg_error_t err)
|
578
|
-
{
|
579
|
-
return (gpg_err_source_t) ((err >> GPG_ERR_SOURCE_SHIFT)
|
580
|
-
& GPG_ERR_SOURCE_MASK);
|
581
|
-
}
|
582
|
-
|
583
|
-
|
584
|
-
/* String functions. */
|
585
|
-
|
586
|
-
/* Return a pointer to a string containing a description of the error
|
587
|
-
code in the error value ERR. This function is not thread-safe. */
|
588
|
-
const char *gpg_strerror (gpg_error_t err);
|
589
|
-
|
590
|
-
/* Return the error string for ERR in the user-supplied buffer BUF of
|
591
|
-
size BUFLEN. This function is, in contrast to gpg_strerror,
|
592
|
-
thread-safe if a thread-safe strerror_r() function is provided by
|
593
|
-
the system. If the function succeeds, 0 is returned and BUF
|
594
|
-
contains the string describing the error. If the buffer was not
|
595
|
-
large enough, ERANGE is returned and BUF contains as much of the
|
596
|
-
beginning of the error string as fits into the buffer. */
|
597
|
-
int gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen);
|
598
|
-
|
599
|
-
/* Return a pointer to a string containing a description of the error
|
600
|
-
source in the error value ERR. */
|
601
|
-
const char *gpg_strsource (gpg_error_t err);
|
602
|
-
|
603
|
-
|
604
|
-
/* Mapping of system errors (errno). */
|
605
|
-
|
606
|
-
/* Retrieve the error code for the system error ERR. This returns
|
607
|
-
GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report
|
608
|
-
this). */
|
609
|
-
gpg_err_code_t gpg_err_code_from_errno (int err);
|
610
|
-
|
611
|
-
|
612
|
-
/* Retrieve the system error for the error code CODE. This returns 0
|
613
|
-
if CODE is not a system error code. */
|
614
|
-
int gpg_err_code_to_errno (gpg_err_code_t code);
|
615
|
-
|
616
|
-
|
617
|
-
/* Retrieve the error code directly from the ERRNO variable. This
|
618
|
-
returns GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped
|
619
|
-
(report this) and GPG_ERR_MISSING_ERRNO if ERRNO has the value 0. */
|
620
|
-
gpg_err_code_t gpg_err_code_from_syserror (void);
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
/* Self-documenting convenience functions. */
|
626
|
-
|
627
|
-
static GPG_ERR_INLINE gpg_error_t
|
628
|
-
gpg_err_make_from_errno (gpg_err_source_t source, int err)
|
629
|
-
{
|
630
|
-
return gpg_err_make (source, gpg_err_code_from_errno (err));
|
631
|
-
}
|
632
|
-
|
633
|
-
|
634
|
-
static GPG_ERR_INLINE gpg_error_t
|
635
|
-
gpg_error_from_errno (int err)
|
636
|
-
{
|
637
|
-
return gpg_error (gpg_err_code_from_errno (err));
|
638
|
-
}
|
639
|
-
|
640
|
-
static GPG_ERR_INLINE gpg_error_t
|
641
|
-
gpg_error_from_syserror (void)
|
642
|
-
{
|
643
|
-
return gpg_error (gpg_err_code_from_syserror ());
|
644
|
-
}
|
645
|
-
|
646
|
-
#ifdef __cplusplus
|
647
|
-
}
|
648
|
-
#endif
|
649
|
-
|
650
|
-
|
651
|
-
#endif /* GPG_ERROR_H */
|