chore(deps): pin puregotk nil-signal fix
- commit
- a161e348e2093172038390b0906448f0ae979a0d
- author
- brice · · 2026-07-14 17:11 UTC
- parent
- c053b99
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +27842 -25263
M go.mod +1 -1
| @@ -10,7 +10,7 @@ require ( | |||
| 10 | 10 | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | |
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | - | github.com/bnema/puregotk v0.7.0 | |
| 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | 14 | github.com/charmbracelet/bubbles v1.0.0 | |
| 15 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 16 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -10,7 +10,7 @@ require ( | |||||
| 10 | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | 10 | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | ||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | - | github.com/bnema/puregotk v0.7.0 | 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 |
| 14 | github.com/charmbracelet/bubbles v1.0.0 | 14 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 15 | github.com/charmbracelet/bubbletea v1.3.10 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 16 | github.com/charmbracelet/lipgloss v1.1.0 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +4 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +28 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +23 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +27 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +51 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +53 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +20 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +21 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +120 -118 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +17 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +40 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +41 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +19 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +42 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +63 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +47 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +19 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +157 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +9 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +95 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +26 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +11 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +102 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +5 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +59 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +96 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +244 -116 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +79 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +30 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +23 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +45 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +31 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +14 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +77 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +16 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +54 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +88 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +35 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +16 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +12 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +42 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +4 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +214 -82 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +34 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +207 -80
| @@ -82,7 +82,7 @@ func (x *DtlsConnectionInterface) OverrideHandshake(cb func(DtlsConnection, *Can | |||
| 82 | 82 | if cb == nil { | |
| 83 | 83 | x.xHandshake = 0 | |
| 84 | 84 | } else { | |
| 85 | - | x.xHandshake = purego.NewCallback(func(ConnVarp uintptr, CancellableVarp uintptr) bool { | |
| 85 | + | x.xHandshake = purego.NewCallback(func(ConnVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 86 | 86 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 87 | 87 | }) | |
| 88 | 88 | } | |
| @@ -94,10 +94,11 @@ func (x *DtlsConnectionInterface) GetHandshake() func(DtlsConnection, *Cancellab | |||
| 94 | 94 | if x.xHandshake == 0 { | |
| 95 | 95 | return nil | |
| 96 | 96 | } | |
| 97 | - | var rawCallback func(ConnVarp uintptr, CancellableVarp uintptr) bool | |
| 97 | + | var rawCallback func(ConnVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 98 | 98 | purego.RegisterFunc(&rawCallback, x.xHandshake) | |
| 99 | 99 | return func(ConnVar DtlsConnection, CancellableVar *Cancellable) bool { | |
| 100 | - | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer()) | |
| 100 | + | var cerr *glib.Error | |
| 101 | + | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 101 | 102 | } | |
| 102 | 103 | } | |
| 103 | 104 | ||
| @@ -132,7 +133,7 @@ func (x *DtlsConnectionInterface) OverrideHandshakeFinish(cb func(DtlsConnection | |||
| 132 | 133 | if cb == nil { | |
| 133 | 134 | x.xHandshakeFinish = 0 | |
| 134 | 135 | } else { | |
| 135 | - | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { | |
| 136 | + | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 136 | 137 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 137 | 138 | }) | |
| 138 | 139 | } | |
| @@ -144,10 +145,11 @@ func (x *DtlsConnectionInterface) GetHandshakeFinish() func(DtlsConnection, Asyn | |||
| 144 | 145 | if x.xHandshakeFinish == 0 { | |
| 145 | 146 | return nil | |
| 146 | 147 | } | |
| 147 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool | |
| 148 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 148 | 149 | purego.RegisterFunc(&rawCallback, x.xHandshakeFinish) | |
| 149 | 150 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | |
| 150 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) | |
| 151 | + | var cerr *glib.Error | |
| 152 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 151 | 153 | } | |
| 152 | 154 | } | |
| 153 | 155 | ||
| @@ -157,7 +159,7 @@ func (x *DtlsConnectionInterface) OverrideShutdown(cb func(DtlsConnection, bool, | |||
| 157 | 159 | if cb == nil { | |
| 158 | 160 | x.xShutdown = 0 | |
| 159 | 161 | } else { | |
| 160 | - | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool { | |
| 162 | + | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 161 | 163 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, ShutdownReadVarp, ShutdownWriteVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 162 | 164 | }) | |
| 163 | 165 | } | |
| @@ -169,10 +171,11 @@ func (x *DtlsConnectionInterface) GetShutdown() func(DtlsConnection, bool, bool, | |||
| 169 | 171 | if x.xShutdown == 0 { | |
| 170 | 172 | return nil | |
| 171 | 173 | } | |
| 172 | - | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool | |
| 174 | + | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 173 | 175 | purego.RegisterFunc(&rawCallback, x.xShutdown) | |
| 174 | 176 | return func(ConnVar DtlsConnection, ShutdownReadVar bool, ShutdownWriteVar bool, CancellableVar *Cancellable) bool { | |
| 175 | - | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer()) | |
| 177 | + | var cerr *glib.Error | |
| 178 | + | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr) | |
| 176 | 179 | } | |
| 177 | 180 | } | |
| 178 | 181 | ||
| @@ -207,7 +210,7 @@ func (x *DtlsConnectionInterface) OverrideShutdownFinish(cb func(DtlsConnection, | |||
| 207 | 210 | if cb == nil { | |
| 208 | 211 | x.xShutdownFinish = 0 | |
| 209 | 212 | } else { | |
| 210 | - | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { | |
| 213 | + | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 211 | 214 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 212 | 215 | }) | |
| 213 | 216 | } | |
| @@ -219,10 +222,11 @@ func (x *DtlsConnectionInterface) GetShutdownFinish() func(DtlsConnection, Async | |||
| 219 | 222 | if x.xShutdownFinish == 0 { | |
| 220 | 223 | return nil | |
| 221 | 224 | } | |
| 222 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool | |
| 225 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 223 | 226 | purego.RegisterFunc(&rawCallback, x.xShutdownFinish) | |
| 224 | 227 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | |
| 225 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) | |
| 228 | + | var cerr *glib.Error | |
| 229 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 226 | 230 | } | |
| 227 | 231 | } | |
| 228 | 232 | ||
| @@ -282,7 +286,7 @@ func (x *DtlsConnectionInterface) OverrideGetBindingData(cb func(DtlsConnection, | |||
| 282 | 286 | if cb == nil { | |
| 283 | 287 | x.xGetBindingData = 0 | |
| 284 | 288 | } else { | |
| 285 | - | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool { | |
| 289 | + | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool { | |
| 286 | 290 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, TypeVarp, DataVarp) | |
| 287 | 291 | }) | |
| 288 | 292 | } | |
| @@ -294,10 +298,11 @@ func (x *DtlsConnectionInterface) GetGetBindingData() func(DtlsConnection, TlsCh | |||
| 294 | 298 | if x.xGetBindingData == 0 { | |
| 295 | 299 | return nil | |
| 296 | 300 | } | |
| 297 | - | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool | |
| 301 | + | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool | |
| 298 | 302 | purego.RegisterFunc(&rawCallback, x.xGetBindingData) | |
| 299 | 303 | return func(ConnVar DtlsConnection, TypeVar TlsChannelBindingType, DataVar []byte) bool { | |
| 300 | - | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar) | |
| 304 | + | var cerr *glib.Error | |
| 305 | + | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar, &cerr) | |
| 301 | 306 | } | |
| 302 | 307 | } | |
| 303 | 308 | ||
| @@ -357,6 +362,7 @@ type DtlsConnection interface { | |||
| 357 | 362 | var xDtlsConnectionGLibType func() types.GType | |
| 358 | 363 | ||
| 359 | 364 | func DtlsConnectionGLibType() types.GType { | |
| 365 | + | core.LazyRegister(&xDtlsConnectionGLibType, "GIO", "g_dtls_connection_get_type", false) | |
| 360 | 366 | return xDtlsConnectionGLibType() | |
| 361 | 367 | } | |
| 362 | 368 | ||
| @@ -840,75 +846,196 @@ func (x *DtlsConnectionBase) GetPropertyRequireCloseNotify() bool { | |||
| 840 | 846 | return v.GetBoolean() | |
| 841 | 847 | } | |
| 842 | 848 | ||
| 849 | + | var XGDtlsConnectionClose func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 850 | + | core.LazyRegister(&xXGDtlsConnectionClose, "GIO", "g_dtls_connection_close", false) | |
| 851 | + | return xXGDtlsConnectionClose(instance, CancellableVarp, cerrp) | |
| 852 | + | } | |
| 853 | + | ||
| 854 | + | var ( | |
| 855 | + | xXGDtlsConnectionClose func(uintptr, uintptr, **glib.Error) bool | |
| 856 | + | XGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 857 | + | core.LazyRegister(&xXGDtlsConnectionCloseAsync, "GIO", "g_dtls_connection_close_async", false) | |
| 858 | + | xXGDtlsConnectionCloseAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 859 | + | } | |
| 860 | + | ) | |
| 861 | + | var ( | |
| 862 | + | xXGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 863 | + | XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 864 | + | core.LazyRegister(&xXGDtlsConnectionCloseFinish, "GIO", "g_dtls_connection_close_finish", false) | |
| 865 | + | return xXGDtlsConnectionCloseFinish(instance, ResultVarp, cerrp) | |
| 866 | + | } | |
| 867 | + | ) | |
| 868 | + | var ( | |
| 869 | + | xXGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool | |
| 870 | + | XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool = func(instance uintptr, PeerCertVarp uintptr, ErrorsVarp TlsCertificateFlags) bool { | |
| 871 | + | core.LazyRegister(&xXGDtlsConnectionEmitAcceptCertificate, "GIO", "g_dtls_connection_emit_accept_certificate", false) | |
| 872 | + | return xXGDtlsConnectionEmitAcceptCertificate(instance, PeerCertVarp, ErrorsVarp) | |
| 873 | + | } | |
| 874 | + | ) | |
| 875 | + | var ( | |
| 876 | + | xXGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool | |
| 877 | + | XGDtlsConnectionGetCertificate func(uintptr) uintptr = func(instance uintptr) uintptr { | |
| 878 | + | core.LazyRegister(&xXGDtlsConnectionGetCertificate, "GIO", "g_dtls_connection_get_certificate", false) | |
| 879 | + | return xXGDtlsConnectionGetCertificate(instance) | |
| 880 | + | } | |
| 881 | + | ) | |
| 882 | + | var ( | |
| 883 | + | xXGDtlsConnectionGetCertificate func(uintptr) uintptr | |
| 884 | + | XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, *[]byte, **glib.Error) bool = func(instance uintptr, TypeVarp TlsChannelBindingType, DataVarp *[]byte, cerrp **glib.Error) bool { | |
| 885 | + | core.LazyRegister(&xXGDtlsConnectionGetChannelBindingData, "GIO", "g_dtls_connection_get_channel_binding_data", false) | |
| 886 | + | return xXGDtlsConnectionGetChannelBindingData(instance, TypeVarp, DataVarp, cerrp) | |
| 887 | + | } | |
| 888 | + | ) | |
| 889 | + | var ( | |
| 890 | + | xXGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, *[]byte, **glib.Error) bool | |
| 891 | + | XGDtlsConnectionGetCiphersuiteName func(uintptr) string = func(instance uintptr) string { | |
| 892 | + | core.LazyRegister(&xXGDtlsConnectionGetCiphersuiteName, "GIO", "g_dtls_connection_get_ciphersuite_name", false) | |
| 893 | + | return xXGDtlsConnectionGetCiphersuiteName(instance) | |
| 894 | + | } | |
| 895 | + | ) | |
| 896 | + | var ( | |
| 897 | + | xXGDtlsConnectionGetCiphersuiteName func(uintptr) string | |
| 898 | + | XGDtlsConnectionGetDatabase func(uintptr) uintptr = func(instance uintptr) uintptr { | |
| 899 | + | core.LazyRegister(&xXGDtlsConnectionGetDatabase, "GIO", "g_dtls_connection_get_database", false) | |
| 900 | + | return xXGDtlsConnectionGetDatabase(instance) | |
| 901 | + | } | |
| 902 | + | ) | |
| 903 | + | var ( | |
| 904 | + | xXGDtlsConnectionGetDatabase func(uintptr) uintptr | |
| 905 | + | XGDtlsConnectionGetInteraction func(uintptr) uintptr = func(instance uintptr) uintptr { | |
| 906 | + | core.LazyRegister(&xXGDtlsConnectionGetInteraction, "GIO", "g_dtls_connection_get_interaction", false) | |
| 907 | + | return xXGDtlsConnectionGetInteraction(instance) | |
| 908 | + | } | |
| 909 | + | ) | |
| 910 | + | var ( | |
| 911 | + | xXGDtlsConnectionGetInteraction func(uintptr) uintptr | |
| 912 | + | XGDtlsConnectionGetNegotiatedProtocol func(uintptr) string = func(instance uintptr) string { | |
| 913 | + | core.LazyRegister(&xXGDtlsConnectionGetNegotiatedProtocol, "GIO", "g_dtls_connection_get_negotiated_protocol", false) | |
| 914 | + | return xXGDtlsConnectionGetNegotiatedProtocol(instance) | |
| 915 | + | } | |
| 916 | + | ) | |
| 917 | + | var ( | |
| 918 | + | xXGDtlsConnectionGetNegotiatedProtocol func(uintptr) string | |
| 919 | + | XGDtlsConnectionGetPeerCertificate func(uintptr) uintptr = func(instance uintptr) uintptr { | |
| 920 | + | core.LazyRegister(&xXGDtlsConnectionGetPeerCertificate, "GIO", "g_dtls_connection_get_peer_certificate", false) | |
| 921 | + | return xXGDtlsConnectionGetPeerCertificate(instance) | |
| 922 | + | } | |
| 923 | + | ) | |
| 924 | + | var ( | |
| 925 | + | xXGDtlsConnectionGetPeerCertificate func(uintptr) uintptr | |
| 926 | + | XGDtlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags = func(instance uintptr) TlsCertificateFlags { | |
| 927 | + | core.LazyRegister(&xXGDtlsConnectionGetPeerCertificateErrors, "GIO", "g_dtls_connection_get_peer_certificate_errors", false) | |
| 928 | + | return xXGDtlsConnectionGetPeerCertificateErrors(instance) | |
| 929 | + | } | |
| 930 | + | ) | |
| 931 | + | var ( | |
| 932 | + | xXGDtlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags | |
| 933 | + | XGDtlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion = func(instance uintptr) TlsProtocolVersion { | |
| 934 | + | core.LazyRegister(&xXGDtlsConnectionGetProtocolVersion, "GIO", "g_dtls_connection_get_protocol_version", false) | |
| 935 | + | return xXGDtlsConnectionGetProtocolVersion(instance) | |
| 936 | + | } | |
| 937 | + | ) | |
| 938 | + | var ( | |
| 939 | + | xXGDtlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion | |
| 940 | + | XGDtlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode = func(instance uintptr) TlsRehandshakeMode { | |
| 941 | + | core.LazyRegister(&xXGDtlsConnectionGetRehandshakeMode, "GIO", "g_dtls_connection_get_rehandshake_mode", false) | |
| 942 | + | return xXGDtlsConnectionGetRehandshakeMode(instance) | |
| 943 | + | } | |
| 944 | + | ) | |
| 945 | + | var ( | |
| 946 | + | xXGDtlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode | |
| 947 | + | XGDtlsConnectionGetRequireCloseNotify func(uintptr) bool = func(instance uintptr) bool { | |
| 948 | + | core.LazyRegister(&xXGDtlsConnectionGetRequireCloseNotify, "GIO", "g_dtls_connection_get_require_close_notify", false) | |
| 949 | + | return xXGDtlsConnectionGetRequireCloseNotify(instance) | |
| 950 | + | } | |
| 951 | + | ) | |
| 952 | + | var ( | |
| 953 | + | xXGDtlsConnectionGetRequireCloseNotify func(uintptr) bool | |
| 954 | + | XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 955 | + | core.LazyRegister(&xXGDtlsConnectionHandshake, "GIO", "g_dtls_connection_handshake", false) | |
| 956 | + | return xXGDtlsConnectionHandshake(instance, CancellableVarp, cerrp) | |
| 957 | + | } | |
| 958 | + | ) | |
| 959 | + | var ( | |
| 960 | + | xXGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool | |
| 961 | + | XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 962 | + | core.LazyRegister(&xXGDtlsConnectionHandshakeAsync, "GIO", "g_dtls_connection_handshake_async", false) | |
| 963 | + | xXGDtlsConnectionHandshakeAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 964 | + | } | |
| 965 | + | ) | |
| 966 | + | var ( | |
| 967 | + | xXGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 968 | + | XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 969 | + | core.LazyRegister(&xXGDtlsConnectionHandshakeFinish, "GIO", "g_dtls_connection_handshake_finish", false) | |
| 970 | + | return xXGDtlsConnectionHandshakeFinish(instance, ResultVarp, cerrp) | |
| 971 | + | } | |
| 972 | + | ) | |
| 973 | + | var ( | |
| 974 | + | xXGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool | |
| 975 | + | XGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string) = func(instance uintptr, ProtocolsVarp []string) { | |
| 976 | + | core.LazyRegister(&xXGDtlsConnectionSetAdvertisedProtocols, "GIO", "g_dtls_connection_set_advertised_protocols", false) | |
| 977 | + | xXGDtlsConnectionSetAdvertisedProtocols(instance, ProtocolsVarp) | |
| 978 | + | } | |
| 979 | + | ) | |
| 980 | + | var ( | |
| 981 | + | xXGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string) | |
| 982 | + | XGDtlsConnectionSetCertificate func(uintptr, uintptr) = func(instance uintptr, CertificateVarp uintptr) { | |
| 983 | + | core.LazyRegister(&xXGDtlsConnectionSetCertificate, "GIO", "g_dtls_connection_set_certificate", false) | |
| 984 | + | xXGDtlsConnectionSetCertificate(instance, CertificateVarp) | |
| 985 | + | } | |
| 986 | + | ) | |
| 843 | 987 | var ( | |
| 844 | - | XGDtlsConnectionClose func(uintptr, uintptr, **glib.Error) bool | |
| 845 | - | XGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 846 | - | XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool | |
| 847 | - | XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool | |
| 848 | - | XGDtlsConnectionGetCertificate func(uintptr) uintptr | |
| 849 | - | XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, *[]byte, **glib.Error) bool | |
| 850 | - | XGDtlsConnectionGetCiphersuiteName func(uintptr) string | |
| 851 | - | XGDtlsConnectionGetDatabase func(uintptr) uintptr | |
| 852 | - | XGDtlsConnectionGetInteraction func(uintptr) uintptr | |
| 853 | - | XGDtlsConnectionGetNegotiatedProtocol func(uintptr) string | |
| 854 | - | XGDtlsConnectionGetPeerCertificate func(uintptr) uintptr | |
| 855 | - | XGDtlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags | |
| 856 | - | XGDtlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion | |
| 857 | - | XGDtlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode | |
| 858 | - | XGDtlsConnectionGetRequireCloseNotify func(uintptr) bool | |
| 859 | - | XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool | |
| 860 | - | XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 861 | - | XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool | |
| 862 | - | XGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string) | |
| 863 | - | XGDtlsConnectionSetCertificate func(uintptr, uintptr) | |
| 864 | - | XGDtlsConnectionSetDatabase func(uintptr, uintptr) | |
| 865 | - | XGDtlsConnectionSetInteraction func(uintptr, uintptr) | |
| 866 | - | XGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) | |
| 867 | - | XGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) | |
| 868 | - | XGDtlsConnectionShutdown func(uintptr, bool, bool, uintptr, **glib.Error) bool | |
| 869 | - | XGDtlsConnectionShutdownAsync func(uintptr, bool, bool, int, uintptr, uintptr, uintptr) | |
| 870 | - | XGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool | |
| 988 | + | xXGDtlsConnectionSetCertificate func(uintptr, uintptr) | |
| 989 | + | XGDtlsConnectionSetDatabase func(uintptr, uintptr) = func(instance uintptr, DatabaseVarp uintptr) { | |
| 990 | + | core.LazyRegister(&xXGDtlsConnectionSetDatabase, "GIO", "g_dtls_connection_set_database", false) | |
| 991 | + | xXGDtlsConnectionSetDatabase(instance, DatabaseVarp) | |
| 992 | + | } | |
| 993 | + | ) | |
| 994 | + | var ( | |
| 995 | + | xXGDtlsConnectionSetDatabase func(uintptr, uintptr) | |
| 996 | + | XGDtlsConnectionSetInteraction func(uintptr, uintptr) = func(instance uintptr, InteractionVarp uintptr) { | |
| 997 | + | core.LazyRegister(&xXGDtlsConnectionSetInteraction, "GIO", "g_dtls_connection_set_interaction", false) | |
| 998 | + | xXGDtlsConnectionSetInteraction(instance, InteractionVarp) | |
| 999 | + | } | |
| 1000 | + | ) | |
| 1001 | + | var ( | |
| 1002 | + | xXGDtlsConnectionSetInteraction func(uintptr, uintptr) | |
| 1003 | + | XGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) = func(instance uintptr, ModeVarp TlsRehandshakeMode) { | |
| 1004 | + | core.LazyRegister(&xXGDtlsConnectionSetRehandshakeMode, "GIO", "g_dtls_connection_set_rehandshake_mode", false) | |
| 1005 | + | xXGDtlsConnectionSetRehandshakeMode(instance, ModeVarp) | |
| 1006 | + | } | |
| 1007 | + | ) | |
| 1008 | + | var ( | |
| 1009 | + | xXGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) | |
| 1010 | + | XGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) = func(instance uintptr, RequireCloseNotifyVarp bool) { | |
| 1011 | + | core.LazyRegister(&xXGDtlsConnectionSetRequireCloseNotify, "GIO", "g_dtls_connection_set_require_close_notify", false) | |
| 1012 | + | xXGDtlsConnectionSetRequireCloseNotify(instance, RequireCloseNotifyVarp) | |
| 1013 | + | } | |
| 1014 | + | ) | |
| 1015 | + | var ( | |
| 1016 | + | xXGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) | |
| 1017 | + | XGDtlsConnectionShutdown func(uintptr, bool, bool, uintptr, **glib.Error) bool = func(instance uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 1018 | + | core.LazyRegister(&xXGDtlsConnectionShutdown, "GIO", "g_dtls_connection_shutdown", false) | |
| 1019 | + | return xXGDtlsConnectionShutdown(instance, ShutdownReadVarp, ShutdownWriteVarp, CancellableVarp, cerrp) | |
| 1020 | + | } | |
| 1021 | + | ) | |
| 1022 | + | var ( | |
| 1023 | + | xXGDtlsConnectionShutdown func(uintptr, bool, bool, uintptr, **glib.Error) bool | |
| 1024 | + | XGDtlsConnectionShutdownAsync func(uintptr, bool, bool, int, uintptr, uintptr, uintptr) = func(instance uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1025 | + | core.LazyRegister(&xXGDtlsConnectionShutdownAsync, "GIO", "g_dtls_connection_shutdown_async", false) | |
| 1026 | + | xXGDtlsConnectionShutdownAsync(instance, ShutdownReadVarp, ShutdownWriteVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 1027 | + | } | |
| 1028 | + | ) | |
| 1029 | + | var ( | |
| 1030 | + | xXGDtlsConnectionShutdownAsync func(uintptr, bool, bool, int, uintptr, uintptr, uintptr) | |
| 1031 | + | XGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 1032 | + | core.LazyRegister(&xXGDtlsConnectionShutdownFinish, "GIO", "g_dtls_connection_shutdown_finish", false) | |
| 1033 | + | return xXGDtlsConnectionShutdownFinish(instance, ResultVarp, cerrp) | |
| 1034 | + | } | |
| 871 | 1035 | ) | |
| 1036 | + | var xXGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool | |
| 872 | 1037 | ||
| 873 | 1038 | func init() { | |
| 874 | 1039 | core.SetPackageName("GIO", "gio-2.0") | |
| 875 | 1040 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 876 | - | var libs []uintptr | |
| 877 | - | for _, libPath := range core.GetPaths("GIO") { | |
| 878 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 879 | - | if err != nil { | |
| 880 | - | panic(err) | |
| 881 | - | } | |
| 882 | - | libs = append(libs, lib) | |
| 883 | - | } | |
| 884 | - | ||
| 885 | - | core.PuregoSafeRegister(&xDtlsConnectionGLibType, libs, "g_dtls_connection_get_type") | |
| 886 | - | ||
| 887 | - | core.PuregoSafeRegister(&XGDtlsConnectionClose, libs, "g_dtls_connection_close") | |
| 888 | - | core.PuregoSafeRegister(&XGDtlsConnectionCloseAsync, libs, "g_dtls_connection_close_async") | |
| 889 | - | core.PuregoSafeRegister(&XGDtlsConnectionCloseFinish, libs, "g_dtls_connection_close_finish") | |
| 890 | - | core.PuregoSafeRegister(&XGDtlsConnectionEmitAcceptCertificate, libs, "g_dtls_connection_emit_accept_certificate") | |
| 891 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetCertificate, libs, "g_dtls_connection_get_certificate") | |
| 892 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetChannelBindingData, libs, "g_dtls_connection_get_channel_binding_data") | |
| 893 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetCiphersuiteName, libs, "g_dtls_connection_get_ciphersuite_name") | |
| 894 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetDatabase, libs, "g_dtls_connection_get_database") | |
| 895 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetInteraction, libs, "g_dtls_connection_get_interaction") | |
| 896 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetNegotiatedProtocol, libs, "g_dtls_connection_get_negotiated_protocol") | |
| 897 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetPeerCertificate, libs, "g_dtls_connection_get_peer_certificate") | |
| 898 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetPeerCertificateErrors, libs, "g_dtls_connection_get_peer_certificate_errors") | |
| 899 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetProtocolVersion, libs, "g_dtls_connection_get_protocol_version") | |
| 900 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetRehandshakeMode, libs, "g_dtls_connection_get_rehandshake_mode") | |
| 901 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetRequireCloseNotify, libs, "g_dtls_connection_get_require_close_notify") | |
| 902 | - | core.PuregoSafeRegister(&XGDtlsConnectionHandshake, libs, "g_dtls_connection_handshake") | |
| 903 | - | core.PuregoSafeRegister(&XGDtlsConnectionHandshakeAsync, libs, "g_dtls_connection_handshake_async") | |
| 904 | - | core.PuregoSafeRegister(&XGDtlsConnectionHandshakeFinish, libs, "g_dtls_connection_handshake_finish") | |
| 905 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetAdvertisedProtocols, libs, "g_dtls_connection_set_advertised_protocols") | |
| 906 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetCertificate, libs, "g_dtls_connection_set_certificate") | |
| 907 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetDatabase, libs, "g_dtls_connection_set_database") | |
| 908 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetInteraction, libs, "g_dtls_connection_set_interaction") | |
| 909 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetRehandshakeMode, libs, "g_dtls_connection_set_rehandshake_mode") | |
| 910 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetRequireCloseNotify, libs, "g_dtls_connection_set_require_close_notify") | |
| 911 | - | core.PuregoSafeRegister(&XGDtlsConnectionShutdown, libs, "g_dtls_connection_shutdown") | |
| 912 | - | core.PuregoSafeRegister(&XGDtlsConnectionShutdownAsync, libs, "g_dtls_connection_shutdown_async") | |
| 913 | - | core.PuregoSafeRegister(&XGDtlsConnectionShutdownFinish, libs, "g_dtls_connection_shutdown_finish") | |
| 914 | 1041 | } | |
| @@ -82,7 +82,7 @@ func (x *DtlsConnectionInterface) OverrideHandshake(cb func(DtlsConnection, *Can | |||||
| 82 | if cb == nil { | 82 | if cb == nil { | ||
| 83 | x.xHandshake = 0 | 83 | x.xHandshake = 0 | ||
| 84 | } else { | 84 | } else { | ||
| 85 | - | x.xHandshake = purego.NewCallback(func(ConnVarp uintptr, CancellableVarp uintptr) bool { | 85 | + | x.xHandshake = purego.NewCallback(func(ConnVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { |
| 86 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | 86 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | ||
| 87 | }) | 87 | }) | ||
| 88 | } | 88 | } | ||
| @@ -94,10 +94,11 @@ func (x *DtlsConnectionInterface) GetHandshake() func(DtlsConnection, *Cancellab | |||||
| 94 | if x.xHandshake == 0 { | 94 | if x.xHandshake == 0 { | ||
| 95 | return nil | 95 | return nil | ||
| 96 | } | 96 | } | ||
| 97 | - | var rawCallback func(ConnVarp uintptr, CancellableVarp uintptr) bool | 97 | + | var rawCallback func(ConnVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool |
| 98 | purego.RegisterFunc(&rawCallback, x.xHandshake) | 98 | purego.RegisterFunc(&rawCallback, x.xHandshake) | ||
| 99 | return func(ConnVar DtlsConnection, CancellableVar *Cancellable) bool { | 99 | return func(ConnVar DtlsConnection, CancellableVar *Cancellable) bool { | ||
| 100 | - | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer()) | 100 | + | var cerr *glib.Error |
| 101 | + | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |||
| 101 | } | 102 | } | ||
| 102 | } | 103 | } | ||
| 103 | 104 | ||||
| @@ -132,7 +133,7 @@ func (x *DtlsConnectionInterface) OverrideHandshakeFinish(cb func(DtlsConnection | |||||
| 132 | if cb == nil { | 133 | if cb == nil { | ||
| 133 | x.xHandshakeFinish = 0 | 134 | x.xHandshakeFinish = 0 | ||
| 134 | } else { | 135 | } else { | ||
| 135 | - | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { | 136 | + | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { |
| 136 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | 137 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | ||
| 137 | }) | 138 | }) | ||
| 138 | } | 139 | } | ||
| @@ -144,10 +145,11 @@ func (x *DtlsConnectionInterface) GetHandshakeFinish() func(DtlsConnection, Asyn | |||||
| 144 | if x.xHandshakeFinish == 0 { | 145 | if x.xHandshakeFinish == 0 { | ||
| 145 | return nil | 146 | return nil | ||
| 146 | } | 147 | } | ||
| 147 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool | 148 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool |
| 148 | purego.RegisterFunc(&rawCallback, x.xHandshakeFinish) | 149 | purego.RegisterFunc(&rawCallback, x.xHandshakeFinish) | ||
| 149 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | 150 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | ||
| 150 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) | 151 | + | var cerr *glib.Error |
| 152 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |||
| 151 | } | 153 | } | ||
| 152 | } | 154 | } | ||
| 153 | 155 | ||||
| @@ -157,7 +159,7 @@ func (x *DtlsConnectionInterface) OverrideShutdown(cb func(DtlsConnection, bool, | |||||
| 157 | if cb == nil { | 159 | if cb == nil { | ||
| 158 | x.xShutdown = 0 | 160 | x.xShutdown = 0 | ||
| 159 | } else { | 161 | } else { | ||
| 160 | - | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool { | 162 | + | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool { |
| 161 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, ShutdownReadVarp, ShutdownWriteVarp, CancellableNewFromInternalPtr(CancellableVarp)) | 163 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, ShutdownReadVarp, ShutdownWriteVarp, CancellableNewFromInternalPtr(CancellableVarp)) | ||
| 162 | }) | 164 | }) | ||
| 163 | } | 165 | } | ||
| @@ -169,10 +171,11 @@ func (x *DtlsConnectionInterface) GetShutdown() func(DtlsConnection, bool, bool, | |||||
| 169 | if x.xShutdown == 0 { | 171 | if x.xShutdown == 0 { | ||
| 170 | return nil | 172 | return nil | ||
| 171 | } | 173 | } | ||
| 172 | - | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool | 174 | + | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool |
| 173 | purego.RegisterFunc(&rawCallback, x.xShutdown) | 175 | purego.RegisterFunc(&rawCallback, x.xShutdown) | ||
| 174 | return func(ConnVar DtlsConnection, ShutdownReadVar bool, ShutdownWriteVar bool, CancellableVar *Cancellable) bool { | 176 | return func(ConnVar DtlsConnection, ShutdownReadVar bool, ShutdownWriteVar bool, CancellableVar *Cancellable) bool { | ||
| 175 | - | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer()) | 177 | + | var cerr *glib.Error |
| 178 | + | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr) | |||
| 176 | } | 179 | } | ||
| 177 | } | 180 | } | ||
| 178 | 181 | ||||
| @@ -207,7 +210,7 @@ func (x *DtlsConnectionInterface) OverrideShutdownFinish(cb func(DtlsConnection, | |||||
| 207 | if cb == nil { | 210 | if cb == nil { | ||
| 208 | x.xShutdownFinish = 0 | 211 | x.xShutdownFinish = 0 | ||
| 209 | } else { | 212 | } else { | ||
| 210 | - | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { | 213 | + | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { |
| 211 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | 214 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | ||
| 212 | }) | 215 | }) | ||
| 213 | } | 216 | } | ||
| @@ -219,10 +222,11 @@ func (x *DtlsConnectionInterface) GetShutdownFinish() func(DtlsConnection, Async | |||||
| 219 | if x.xShutdownFinish == 0 { | 222 | if x.xShutdownFinish == 0 { | ||
| 220 | return nil | 223 | return nil | ||
| 221 | } | 224 | } | ||
| 222 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool | 225 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool |
| 223 | purego.RegisterFunc(&rawCallback, x.xShutdownFinish) | 226 | purego.RegisterFunc(&rawCallback, x.xShutdownFinish) | ||
| 224 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | 227 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | ||
| 225 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) | 228 | + | var cerr *glib.Error |
| 229 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |||
| 226 | } | 230 | } | ||
| 227 | } | 231 | } | ||
| 228 | 232 | ||||
| @@ -282,7 +286,7 @@ func (x *DtlsConnectionInterface) OverrideGetBindingData(cb func(DtlsConnection, | |||||
| 282 | if cb == nil { | 286 | if cb == nil { | ||
| 283 | x.xGetBindingData = 0 | 287 | x.xGetBindingData = 0 | ||
| 284 | } else { | 288 | } else { | ||
| 285 | - | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool { | 289 | + | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool { |
| 286 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, TypeVarp, DataVarp) | 290 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, TypeVarp, DataVarp) | ||
| 287 | }) | 291 | }) | ||
| 288 | } | 292 | } | ||
| @@ -294,10 +298,11 @@ func (x *DtlsConnectionInterface) GetGetBindingData() func(DtlsConnection, TlsCh | |||||
| 294 | if x.xGetBindingData == 0 { | 298 | if x.xGetBindingData == 0 { | ||
| 295 | return nil | 299 | return nil | ||
| 296 | } | 300 | } | ||
| 297 | - | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool | 301 | + | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool |
| 298 | purego.RegisterFunc(&rawCallback, x.xGetBindingData) | 302 | purego.RegisterFunc(&rawCallback, x.xGetBindingData) | ||
| 299 | return func(ConnVar DtlsConnection, TypeVar TlsChannelBindingType, DataVar []byte) bool { | 303 | return func(ConnVar DtlsConnection, TypeVar TlsChannelBindingType, DataVar []byte) bool { | ||
| 300 | - | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar) | 304 | + | var cerr *glib.Error |
| 305 | + | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar, &cerr) | |||
| 301 | } | 306 | } | ||
| 302 | } | 307 | } | ||
| 303 | 308 | ||||
| @@ -357,6 +362,7 @@ type DtlsConnection interface { | |||||
| 357 | var xDtlsConnectionGLibType func() types.GType | 362 | var xDtlsConnectionGLibType func() types.GType | ||
| 358 | 363 | ||||
| 359 | func DtlsConnectionGLibType() types.GType { | 364 | func DtlsConnectionGLibType() types.GType { | ||
| 365 | + | core.LazyRegister(&xDtlsConnectionGLibType, "GIO", "g_dtls_connection_get_type", false) | |||
| 360 | return xDtlsConnectionGLibType() | 366 | return xDtlsConnectionGLibType() | ||
| 361 | } | 367 | } | ||
| 362 | 368 | ||||
| @@ -840,75 +846,196 @@ func (x *DtlsConnectionBase) GetPropertyRequireCloseNotify() bool { | |||||
| 840 | return v.GetBoolean() | 846 | return v.GetBoolean() | ||
| 841 | } | 847 | } | ||
| 842 | 848 | ||||
| 849 | + | var XGDtlsConnectionClose func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |||
| 850 | + | core.LazyRegister(&xXGDtlsConnectionClose, "GIO", "g_dtls_connection_close", false) | |||
| 851 | + | return xXGDtlsConnectionClose(instance, CancellableVarp, cerrp) | |||
| 852 | + | } | |||
| 853 | + | ||||
| 854 | + | var ( | |||
| 855 | + | xXGDtlsConnectionClose func(uintptr, uintptr, **glib.Error) bool | |||
| 856 | + | XGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |||
| 857 | + | core.LazyRegister(&xXGDtlsConnectionCloseAsync, "GIO", "g_dtls_connection_close_async", false) | |||
| 858 | + | xXGDtlsConnectionCloseAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |||
| 859 | + | } | |||
| 860 | + | ) | |||
| 861 | + | var ( | |||
| 862 | + | xXGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) | |||
| 863 | + | XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |||
| 864 | + | core.LazyRegister(&xXGDtlsConnectionCloseFinish, "GIO", "g_dtls_connection_close_finish", false) | |||
| 865 | + | return xXGDtlsConnectionCloseFinish(instance, ResultVarp, cerrp) | |||
| 866 | + | } | |||
| 867 | + | ) | |||
| 868 | + | var ( | |||
| 869 | + | xXGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool | |||
| 870 | + | XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool = func(instance uintptr, PeerCertVarp uintptr, ErrorsVarp TlsCertificateFlags) bool { | |||
| 871 | + | core.LazyRegister(&xXGDtlsConnectionEmitAcceptCertificate, "GIO", "g_dtls_connection_emit_accept_certificate", false) | |||
| 872 | + | return xXGDtlsConnectionEmitAcceptCertificate(instance, PeerCertVarp, ErrorsVarp) | |||
| 873 | + | } | |||
| 874 | + | ) | |||
| 875 | + | var ( | |||
| 876 | + | xXGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool | |||
| 877 | + | XGDtlsConnectionGetCertificate func(uintptr) uintptr = func(instance uintptr) uintptr { | |||
| 878 | + | core.LazyRegister(&xXGDtlsConnectionGetCertificate, "GIO", "g_dtls_connection_get_certificate", false) | |||
| 879 | + | return xXGDtlsConnectionGetCertificate(instance) | |||
| 880 | + | } | |||
| 881 | + | ) | |||
| 882 | + | var ( | |||
| 883 | + | xXGDtlsConnectionGetCertificate func(uintptr) uintptr | |||
| 884 | + | XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, *[]byte, **glib.Error) bool = func(instance uintptr, TypeVarp TlsChannelBindingType, DataVarp *[]byte, cerrp **glib.Error) bool { | |||
| 885 | + | core.LazyRegister(&xXGDtlsConnectionGetChannelBindingData, "GIO", "g_dtls_connection_get_channel_binding_data", false) | |||
| 886 | + | return xXGDtlsConnectionGetChannelBindingData(instance, TypeVarp, DataVarp, cerrp) | |||
| 887 | + | } | |||
| 888 | + | ) | |||
| 889 | + | var ( | |||
| 890 | + | xXGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, *[]byte, **glib.Error) bool | |||
| 891 | + | XGDtlsConnectionGetCiphersuiteName func(uintptr) string = func(instance uintptr) string { | |||
| 892 | + | core.LazyRegister(&xXGDtlsConnectionGetCiphersuiteName, "GIO", "g_dtls_connection_get_ciphersuite_name", false) | |||
| 893 | + | return xXGDtlsConnectionGetCiphersuiteName(instance) | |||
| 894 | + | } | |||
| 895 | + | ) | |||
| 896 | + | var ( | |||
| 897 | + | xXGDtlsConnectionGetCiphersuiteName func(uintptr) string | |||
| 898 | + | XGDtlsConnectionGetDatabase func(uintptr) uintptr = func(instance uintptr) uintptr { | |||
| 899 | + | core.LazyRegister(&xXGDtlsConnectionGetDatabase, "GIO", "g_dtls_connection_get_database", false) | |||
| 900 | + | return xXGDtlsConnectionGetDatabase(instance) | |||
| 901 | + | } | |||
| 902 | + | ) | |||
| 903 | + | var ( | |||
| 904 | + | xXGDtlsConnectionGetDatabase func(uintptr) uintptr | |||
| 905 | + | XGDtlsConnectionGetInteraction func(uintptr) uintptr = func(instance uintptr) uintptr { | |||
| 906 | + | core.LazyRegister(&xXGDtlsConnectionGetInteraction, "GIO", "g_dtls_connection_get_interaction", false) | |||
| 907 | + | return xXGDtlsConnectionGetInteraction(instance) | |||
| 908 | + | } | |||
| 909 | + | ) | |||
| 910 | + | var ( | |||
| 911 | + | xXGDtlsConnectionGetInteraction func(uintptr) uintptr | |||
| 912 | + | XGDtlsConnectionGetNegotiatedProtocol func(uintptr) string = func(instance uintptr) string { | |||
| 913 | + | core.LazyRegister(&xXGDtlsConnectionGetNegotiatedProtocol, "GIO", "g_dtls_connection_get_negotiated_protocol", false) | |||
| 914 | + | return xXGDtlsConnectionGetNegotiatedProtocol(instance) | |||
| 915 | + | } | |||
| 916 | + | ) | |||
| 917 | + | var ( | |||
| 918 | + | xXGDtlsConnectionGetNegotiatedProtocol func(uintptr) string | |||
| 919 | + | XGDtlsConnectionGetPeerCertificate func(uintptr) uintptr = func(instance uintptr) uintptr { | |||
| 920 | + | core.LazyRegister(&xXGDtlsConnectionGetPeerCertificate, "GIO", "g_dtls_connection_get_peer_certificate", false) | |||
| 921 | + | return xXGDtlsConnectionGetPeerCertificate(instance) | |||
| 922 | + | } | |||
| 923 | + | ) | |||
| 924 | + | var ( | |||
| 925 | + | xXGDtlsConnectionGetPeerCertificate func(uintptr) uintptr | |||
| 926 | + | XGDtlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags = func(instance uintptr) TlsCertificateFlags { | |||
| 927 | + | core.LazyRegister(&xXGDtlsConnectionGetPeerCertificateErrors, "GIO", "g_dtls_connection_get_peer_certificate_errors", false) | |||
| 928 | + | return xXGDtlsConnectionGetPeerCertificateErrors(instance) | |||
| 929 | + | } | |||
| 930 | + | ) | |||
| 931 | + | var ( | |||
| 932 | + | xXGDtlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags | |||
| 933 | + | XGDtlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion = func(instance uintptr) TlsProtocolVersion { | |||
| 934 | + | core.LazyRegister(&xXGDtlsConnectionGetProtocolVersion, "GIO", "g_dtls_connection_get_protocol_version", false) | |||
| 935 | + | return xXGDtlsConnectionGetProtocolVersion(instance) | |||
| 936 | + | } | |||
| 937 | + | ) | |||
| 938 | + | var ( | |||
| 939 | + | xXGDtlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion | |||
| 940 | + | XGDtlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode = func(instance uintptr) TlsRehandshakeMode { | |||
| 941 | + | core.LazyRegister(&xXGDtlsConnectionGetRehandshakeMode, "GIO", "g_dtls_connection_get_rehandshake_mode", false) | |||
| 942 | + | return xXGDtlsConnectionGetRehandshakeMode(instance) | |||
| 943 | + | } | |||
| 944 | + | ) | |||
| 945 | + | var ( | |||
| 946 | + | xXGDtlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode | |||
| 947 | + | XGDtlsConnectionGetRequireCloseNotify func(uintptr) bool = func(instance uintptr) bool { | |||
| 948 | + | core.LazyRegister(&xXGDtlsConnectionGetRequireCloseNotify, "GIO", "g_dtls_connection_get_require_close_notify", false) | |||
| 949 | + | return xXGDtlsConnectionGetRequireCloseNotify(instance) | |||
| 950 | + | } | |||
| 951 | + | ) | |||
| 952 | + | var ( | |||
| 953 | + | xXGDtlsConnectionGetRequireCloseNotify func(uintptr) bool | |||
| 954 | + | XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |||
| 955 | + | core.LazyRegister(&xXGDtlsConnectionHandshake, "GIO", "g_dtls_connection_handshake", false) | |||
| 956 | + | return xXGDtlsConnectionHandshake(instance, CancellableVarp, cerrp) | |||
| 957 | + | } | |||
| 958 | + | ) | |||
| 959 | + | var ( | |||
| 960 | + | xXGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool | |||
| 961 | + | XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |||
| 962 | + | core.LazyRegister(&xXGDtlsConnectionHandshakeAsync, "GIO", "g_dtls_connection_handshake_async", false) | |||
| 963 | + | xXGDtlsConnectionHandshakeAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |||
| 964 | + | } | |||
| 965 | + | ) | |||
| 966 | + | var ( | |||
| 967 | + | xXGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr) | |||
| 968 | + | XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |||
| 969 | + | core.LazyRegister(&xXGDtlsConnectionHandshakeFinish, "GIO", "g_dtls_connection_handshake_finish", false) | |||
| 970 | + | return xXGDtlsConnectionHandshakeFinish(instance, ResultVarp, cerrp) | |||
| 971 | + | } | |||
| 972 | + | ) | |||
| 973 | + | var ( | |||
| 974 | + | xXGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool | |||
| 975 | + | XGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string) = func(instance uintptr, ProtocolsVarp []string) { | |||
| 976 | + | core.LazyRegister(&xXGDtlsConnectionSetAdvertisedProtocols, "GIO", "g_dtls_connection_set_advertised_protocols", false) | |||
| 977 | + | xXGDtlsConnectionSetAdvertisedProtocols(instance, ProtocolsVarp) | |||
| 978 | + | } | |||
| 979 | + | ) | |||
| 980 | + | var ( | |||
| 981 | + | xXGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string) | |||
| 982 | + | XGDtlsConnectionSetCertificate func(uintptr, uintptr) = func(instance uintptr, CertificateVarp uintptr) { | |||
| 983 | + | core.LazyRegister(&xXGDtlsConnectionSetCertificate, "GIO", "g_dtls_connection_set_certificate", false) | |||
| 984 | + | xXGDtlsConnectionSetCertificate(instance, CertificateVarp) | |||
| 985 | + | } | |||
| 986 | + | ) | |||
| 843 | var ( | 987 | var ( | ||
| 844 | - | XGDtlsConnectionClose func(uintptr, uintptr, **glib.Error) bool | 988 | + | xXGDtlsConnectionSetCertificate func(uintptr, uintptr) |
| 845 | - | XGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) | 989 | + | XGDtlsConnectionSetDatabase func(uintptr, uintptr) = func(instance uintptr, DatabaseVarp uintptr) { |
| 846 | - | XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool | 990 | + | core.LazyRegister(&xXGDtlsConnectionSetDatabase, "GIO", "g_dtls_connection_set_database", false) |
| 847 | - | XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool | 991 | + | xXGDtlsConnectionSetDatabase(instance, DatabaseVarp) |
| 848 | - | XGDtlsConnectionGetCertificate func(uintptr) uintptr | 992 | + | } |
| 849 | - | XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, *[]byte, **glib.Error) bool | 993 | + | ) |
| 850 | - | XGDtlsConnectionGetCiphersuiteName func(uintptr) string | 994 | + | var ( |
| 851 | - | XGDtlsConnectionGetDatabase func(uintptr) uintptr | 995 | + | xXGDtlsConnectionSetDatabase func(uintptr, uintptr) |
| 852 | - | XGDtlsConnectionGetInteraction func(uintptr) uintptr | 996 | + | XGDtlsConnectionSetInteraction func(uintptr, uintptr) = func(instance uintptr, InteractionVarp uintptr) { |
| 853 | - | XGDtlsConnectionGetNegotiatedProtocol func(uintptr) string | 997 | + | core.LazyRegister(&xXGDtlsConnectionSetInteraction, "GIO", "g_dtls_connection_set_interaction", false) |
| 854 | - | XGDtlsConnectionGetPeerCertificate func(uintptr) uintptr | 998 | + | xXGDtlsConnectionSetInteraction(instance, InteractionVarp) |
| 855 | - | XGDtlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags | 999 | + | } |
| 856 | - | XGDtlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion | 1000 | + | ) |
| 857 | - | XGDtlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode | 1001 | + | var ( |
| 858 | - | XGDtlsConnectionGetRequireCloseNotify func(uintptr) bool | 1002 | + | xXGDtlsConnectionSetInteraction func(uintptr, uintptr) |
| 859 | - | XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool | 1003 | + | XGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) = func(instance uintptr, ModeVarp TlsRehandshakeMode) { |
| 860 | - | XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr) | 1004 | + | core.LazyRegister(&xXGDtlsConnectionSetRehandshakeMode, "GIO", "g_dtls_connection_set_rehandshake_mode", false) |
| 861 | - | XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool | 1005 | + | xXGDtlsConnectionSetRehandshakeMode(instance, ModeVarp) |
| 862 | - | XGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string) | 1006 | + | } |
| 863 | - | XGDtlsConnectionSetCertificate func(uintptr, uintptr) | 1007 | + | ) |
| 864 | - | XGDtlsConnectionSetDatabase func(uintptr, uintptr) | 1008 | + | var ( |
| 865 | - | XGDtlsConnectionSetInteraction func(uintptr, uintptr) | 1009 | + | xXGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) |
| 866 | - | XGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) | 1010 | + | XGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) = func(instance uintptr, RequireCloseNotifyVarp bool) { |
| 867 | - | XGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) | 1011 | + | core.LazyRegister(&xXGDtlsConnectionSetRequireCloseNotify, "GIO", "g_dtls_connection_set_require_close_notify", false) |
| 868 | - | XGDtlsConnectionShutdown func(uintptr, bool, bool, uintptr, **glib.Error) bool | 1012 | + | xXGDtlsConnectionSetRequireCloseNotify(instance, RequireCloseNotifyVarp) |
| 869 | - | XGDtlsConnectionShutdownAsync func(uintptr, bool, bool, int, uintptr, uintptr, uintptr) | 1013 | + | } |
| 870 | - | XGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool | 1014 | + | ) |
| 1015 | + | var ( | |||
| 1016 | + | xXGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) | |||
| 1017 | + | XGDtlsConnectionShutdown func(uintptr, bool, bool, uintptr, **glib.Error) bool = func(instance uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool { | |||
| 1018 | + | core.LazyRegister(&xXGDtlsConnectionShutdown, "GIO", "g_dtls_connection_shutdown", false) | |||
| 1019 | + | return xXGDtlsConnectionShutdown(instance, ShutdownReadVarp, ShutdownWriteVarp, CancellableVarp, cerrp) | |||
| 1020 | + | } | |||
| 1021 | + | ) | |||
| 1022 | + | var ( | |||
| 1023 | + | xXGDtlsConnectionShutdown func(uintptr, bool, bool, uintptr, **glib.Error) bool | |||
| 1024 | + | XGDtlsConnectionShutdownAsync func(uintptr, bool, bool, int, uintptr, uintptr, uintptr) = func(instance uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |||
| 1025 | + | core.LazyRegister(&xXGDtlsConnectionShutdownAsync, "GIO", "g_dtls_connection_shutdown_async", false) | |||
| 1026 | + | xXGDtlsConnectionShutdownAsync(instance, ShutdownReadVarp, ShutdownWriteVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |||
| 1027 | + | } | |||
| 1028 | + | ) | |||
| 1029 | + | var ( | |||
| 1030 | + | xXGDtlsConnectionShutdownAsync func(uintptr, bool, bool, int, uintptr, uintptr, uintptr) | |||
| 1031 | + | XGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |||
| 1032 | + | core.LazyRegister(&xXGDtlsConnectionShutdownFinish, "GIO", "g_dtls_connection_shutdown_finish", false) | |||
| 1033 | + | return xXGDtlsConnectionShutdownFinish(instance, ResultVarp, cerrp) | |||
| 1034 | + | } | |||
| 871 | ) | 1035 | ) | ||
| 1036 | + | var xXGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool | |||
| 872 | 1037 | ||||
| 873 | func init() { | 1038 | func init() { | ||
| 874 | core.SetPackageName("GIO", "gio-2.0") | 1039 | core.SetPackageName("GIO", "gio-2.0") | ||
| 875 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 1040 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 876 | - | var libs []uintptr | |||
| 877 | - | for _, libPath := range core.GetPaths("GIO") { | |||
| 878 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 879 | - | if err != nil { | |||
| 880 | - | panic(err) | |||
| 881 | - | } | |||
| 882 | - | libs = append(libs, lib) | |||
| 883 | - | } | |||
| 884 | - | ||||
| 885 | - | core.PuregoSafeRegister(&xDtlsConnectionGLibType, libs, "g_dtls_connection_get_type") | |||
| 886 | - | ||||
| 887 | - | core.PuregoSafeRegister(&XGDtlsConnectionClose, libs, "g_dtls_connection_close") | |||
| 888 | - | core.PuregoSafeRegister(&XGDtlsConnectionCloseAsync, libs, "g_dtls_connection_close_async") | |||
| 889 | - | core.PuregoSafeRegister(&XGDtlsConnectionCloseFinish, libs, "g_dtls_connection_close_finish") | |||
| 890 | - | core.PuregoSafeRegister(&XGDtlsConnectionEmitAcceptCertificate, libs, "g_dtls_connection_emit_accept_certificate") | |||
| 891 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetCertificate, libs, "g_dtls_connection_get_certificate") | |||
| 892 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetChannelBindingData, libs, "g_dtls_connection_get_channel_binding_data") | |||
| 893 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetCiphersuiteName, libs, "g_dtls_connection_get_ciphersuite_name") | |||
| 894 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetDatabase, libs, "g_dtls_connection_get_database") | |||
| 895 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetInteraction, libs, "g_dtls_connection_get_interaction") | |||
| 896 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetNegotiatedProtocol, libs, "g_dtls_connection_get_negotiated_protocol") | |||
| 897 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetPeerCertificate, libs, "g_dtls_connection_get_peer_certificate") | |||
| 898 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetPeerCertificateErrors, libs, "g_dtls_connection_get_peer_certificate_errors") | |||
| 899 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetProtocolVersion, libs, "g_dtls_connection_get_protocol_version") | |||
| 900 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetRehandshakeMode, libs, "g_dtls_connection_get_rehandshake_mode") | |||
| 901 | - | core.PuregoSafeRegister(&XGDtlsConnectionGetRequireCloseNotify, libs, "g_dtls_connection_get_require_close_notify") | |||
| 902 | - | core.PuregoSafeRegister(&XGDtlsConnectionHandshake, libs, "g_dtls_connection_handshake") | |||
| 903 | - | core.PuregoSafeRegister(&XGDtlsConnectionHandshakeAsync, libs, "g_dtls_connection_handshake_async") | |||
| 904 | - | core.PuregoSafeRegister(&XGDtlsConnectionHandshakeFinish, libs, "g_dtls_connection_handshake_finish") | |||
| 905 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetAdvertisedProtocols, libs, "g_dtls_connection_set_advertised_protocols") | |||
| 906 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetCertificate, libs, "g_dtls_connection_set_certificate") | |||
| 907 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetDatabase, libs, "g_dtls_connection_set_database") | |||
| 908 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetInteraction, libs, "g_dtls_connection_set_interaction") | |||
| 909 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetRehandshakeMode, libs, "g_dtls_connection_set_rehandshake_mode") | |||
| 910 | - | core.PuregoSafeRegister(&XGDtlsConnectionSetRequireCloseNotify, libs, "g_dtls_connection_set_require_close_notify") | |||
| 911 | - | core.PuregoSafeRegister(&XGDtlsConnectionShutdown, libs, "g_dtls_connection_shutdown") | |||
| 912 | - | core.PuregoSafeRegister(&XGDtlsConnectionShutdownAsync, libs, "g_dtls_connection_shutdown_async") | |||
| 913 | - | core.PuregoSafeRegister(&XGDtlsConnectionShutdownFinish, libs, "g_dtls_connection_shutdown_finish") | |||
| 914 | } | 1041 | } | ||