Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 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 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 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/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 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 +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207
| @@ -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, cerrp **glib.Error) bool { | |
| 85 | + | x.xHandshake = purego.NewCallback(func(ConnVarp uintptr, CancellableVarp uintptr) bool { | |
| 86 | 86 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 87 | 87 | }) | |
| 88 | 88 | } | |
| @@ -94,11 +94,10 @@ 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, cerrp **glib.Error) bool | |
| 97 | + | var rawCallback func(ConnVarp uintptr, CancellableVarp uintptr) bool | |
| 98 | 98 | purego.RegisterFunc(&rawCallback, x.xHandshake) | |
| 99 | 99 | return func(ConnVar DtlsConnection, CancellableVar *Cancellable) bool { | |
| 100 | - | var cerr *glib.Error | |
| 101 | - | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 100 | + | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer()) | |
| 102 | 101 | } | |
| 103 | 102 | } | |
| 104 | 103 | ||
| @@ -133,7 +132,7 @@ func (x *DtlsConnectionInterface) OverrideHandshakeFinish(cb func(DtlsConnection | |||
| 133 | 132 | if cb == nil { | |
| 134 | 133 | x.xHandshakeFinish = 0 | |
| 135 | 134 | } else { | |
| 136 | - | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 135 | + | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { | |
| 137 | 136 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 138 | 137 | }) | |
| 139 | 138 | } | |
| @@ -145,11 +144,10 @@ func (x *DtlsConnectionInterface) GetHandshakeFinish() func(DtlsConnection, Asyn | |||
| 145 | 144 | if x.xHandshakeFinish == 0 { | |
| 146 | 145 | return nil | |
| 147 | 146 | } | |
| 148 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 147 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool | |
| 149 | 148 | purego.RegisterFunc(&rawCallback, x.xHandshakeFinish) | |
| 150 | 149 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | |
| 151 | - | var cerr *glib.Error | |
| 152 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 150 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) | |
| 153 | 151 | } | |
| 154 | 152 | } | |
| 155 | 153 | ||
| @@ -159,7 +157,7 @@ func (x *DtlsConnectionInterface) OverrideShutdown(cb func(DtlsConnection, bool, | |||
| 159 | 157 | if cb == nil { | |
| 160 | 158 | x.xShutdown = 0 | |
| 161 | 159 | } else { | |
| 162 | - | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 160 | + | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool { | |
| 163 | 161 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, ShutdownReadVarp, ShutdownWriteVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 164 | 162 | }) | |
| 165 | 163 | } | |
| @@ -171,11 +169,10 @@ func (x *DtlsConnectionInterface) GetShutdown() func(DtlsConnection, bool, bool, | |||
| 171 | 169 | if x.xShutdown == 0 { | |
| 172 | 170 | return nil | |
| 173 | 171 | } | |
| 174 | - | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 172 | + | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool | |
| 175 | 173 | purego.RegisterFunc(&rawCallback, x.xShutdown) | |
| 176 | 174 | return func(ConnVar DtlsConnection, ShutdownReadVar bool, ShutdownWriteVar bool, CancellableVar *Cancellable) bool { | |
| 177 | - | var cerr *glib.Error | |
| 178 | - | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr) | |
| 175 | + | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer()) | |
| 179 | 176 | } | |
| 180 | 177 | } | |
| 181 | 178 | ||
| @@ -210,7 +207,7 @@ func (x *DtlsConnectionInterface) OverrideShutdownFinish(cb func(DtlsConnection, | |||
| 210 | 207 | if cb == nil { | |
| 211 | 208 | x.xShutdownFinish = 0 | |
| 212 | 209 | } else { | |
| 213 | - | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 210 | + | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { | |
| 214 | 211 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 215 | 212 | }) | |
| 216 | 213 | } | |
| @@ -222,11 +219,10 @@ func (x *DtlsConnectionInterface) GetShutdownFinish() func(DtlsConnection, Async | |||
| 222 | 219 | if x.xShutdownFinish == 0 { | |
| 223 | 220 | return nil | |
| 224 | 221 | } | |
| 225 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 222 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool | |
| 226 | 223 | purego.RegisterFunc(&rawCallback, x.xShutdownFinish) | |
| 227 | 224 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | |
| 228 | - | var cerr *glib.Error | |
| 229 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 225 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) | |
| 230 | 226 | } | |
| 231 | 227 | } | |
| 232 | 228 | ||
| @@ -286,7 +282,7 @@ func (x *DtlsConnectionInterface) OverrideGetBindingData(cb func(DtlsConnection, | |||
| 286 | 282 | if cb == nil { | |
| 287 | 283 | x.xGetBindingData = 0 | |
| 288 | 284 | } else { | |
| 289 | - | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool { | |
| 285 | + | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool { | |
| 290 | 286 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, TypeVarp, DataVarp) | |
| 291 | 287 | }) | |
| 292 | 288 | } | |
| @@ -298,11 +294,10 @@ func (x *DtlsConnectionInterface) GetGetBindingData() func(DtlsConnection, TlsCh | |||
| 298 | 294 | if x.xGetBindingData == 0 { | |
| 299 | 295 | return nil | |
| 300 | 296 | } | |
| 301 | - | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool | |
| 297 | + | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool | |
| 302 | 298 | purego.RegisterFunc(&rawCallback, x.xGetBindingData) | |
| 303 | 299 | return func(ConnVar DtlsConnection, TypeVar TlsChannelBindingType, DataVar []byte) bool { | |
| 304 | - | var cerr *glib.Error | |
| 305 | - | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar, &cerr) | |
| 300 | + | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar) | |
| 306 | 301 | } | |
| 307 | 302 | } | |
| 308 | 303 | ||
| @@ -362,7 +357,6 @@ type DtlsConnection interface { | |||
| 362 | 357 | var xDtlsConnectionGLibType func() types.GType | |
| 363 | 358 | ||
| 364 | 359 | func DtlsConnectionGLibType() types.GType { | |
| 365 | - | core.LazyRegister(&xDtlsConnectionGLibType, "GIO", "g_dtls_connection_get_type", false) | |
| 366 | 360 | return xDtlsConnectionGLibType() | |
| 367 | 361 | } | |
| 368 | 362 | ||
| @@ -846,196 +840,75 @@ func (x *DtlsConnectionBase) GetPropertyRequireCloseNotify() bool { | |||
| 846 | 840 | return v.GetBoolean() | |
| 847 | 841 | } | |
| 848 | 842 | ||
| 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 | - | ) | |
| 987 | 843 | var ( | |
| 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 | - | } | |
| 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 | |
| 1035 | 871 | ) | |
| 1036 | - | var xXGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool | |
| 1037 | 872 | ||
| 1038 | 873 | func init() { | |
| 1039 | 874 | core.SetPackageName("GIO", "gio-2.0") | |
| 1040 | 875 | 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") | |
| 1041 | 914 | } | |
| @@ -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, cerrp **glib.Error) bool { | 85 | + | x.xHandshake = purego.NewCallback(func(ConnVarp uintptr, CancellableVarp uintptr) bool { |
| 86 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | 86 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | ||
| 87 | }) | 87 | }) | ||
| 88 | } | 88 | } | ||
| @@ -94,11 +94,10 @@ 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, cerrp **glib.Error) bool | 97 | + | var rawCallback func(ConnVarp uintptr, CancellableVarp uintptr) 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 | - | var cerr *glib.Error | 100 | + | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer()) |
| 101 | - | return rawCallback(ConnVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |||
| 102 | } | 101 | } | ||
| 103 | } | 102 | } | ||
| 104 | 103 | ||||
| @@ -133,7 +132,7 @@ func (x *DtlsConnectionInterface) OverrideHandshakeFinish(cb func(DtlsConnection | |||||
| 133 | if cb == nil { | 132 | if cb == nil { | ||
| 134 | x.xHandshakeFinish = 0 | 133 | x.xHandshakeFinish = 0 | ||
| 135 | } else { | 134 | } else { | ||
| 136 | - | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | 135 | + | x.xHandshakeFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { |
| 137 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | 136 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | ||
| 138 | }) | 137 | }) | ||
| 139 | } | 138 | } | ||
| @@ -145,11 +144,10 @@ func (x *DtlsConnectionInterface) GetHandshakeFinish() func(DtlsConnection, Asyn | |||||
| 145 | if x.xHandshakeFinish == 0 { | 144 | if x.xHandshakeFinish == 0 { | ||
| 146 | return nil | 145 | return nil | ||
| 147 | } | 146 | } | ||
| 148 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | 147 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool |
| 149 | purego.RegisterFunc(&rawCallback, x.xHandshakeFinish) | 148 | purego.RegisterFunc(&rawCallback, x.xHandshakeFinish) | ||
| 150 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | 149 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | ||
| 151 | - | var cerr *glib.Error | 150 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) |
| 152 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |||
| 153 | } | 151 | } | ||
| 154 | } | 152 | } | ||
| 155 | 153 | ||||
| @@ -159,7 +157,7 @@ func (x *DtlsConnectionInterface) OverrideShutdown(cb func(DtlsConnection, bool, | |||||
| 159 | if cb == nil { | 157 | if cb == nil { | ||
| 160 | x.xShutdown = 0 | 158 | x.xShutdown = 0 | ||
| 161 | } else { | 159 | } else { | ||
| 162 | - | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool { | 160 | + | x.xShutdown = purego.NewCallback(func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool { |
| 163 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, ShutdownReadVarp, ShutdownWriteVarp, CancellableNewFromInternalPtr(CancellableVarp)) | 161 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, ShutdownReadVarp, ShutdownWriteVarp, CancellableNewFromInternalPtr(CancellableVarp)) | ||
| 164 | }) | 162 | }) | ||
| 165 | } | 163 | } | ||
| @@ -171,11 +169,10 @@ func (x *DtlsConnectionInterface) GetShutdown() func(DtlsConnection, bool, bool, | |||||
| 171 | if x.xShutdown == 0 { | 169 | if x.xShutdown == 0 { | ||
| 172 | return nil | 170 | return nil | ||
| 173 | } | 171 | } | ||
| 174 | - | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr, cerrp **glib.Error) bool | 172 | + | var rawCallback func(ConnVarp uintptr, ShutdownReadVarp bool, ShutdownWriteVarp bool, CancellableVarp uintptr) bool |
| 175 | purego.RegisterFunc(&rawCallback, x.xShutdown) | 173 | purego.RegisterFunc(&rawCallback, x.xShutdown) | ||
| 176 | return func(ConnVar DtlsConnection, ShutdownReadVar bool, ShutdownWriteVar bool, CancellableVar *Cancellable) bool { | 174 | return func(ConnVar DtlsConnection, ShutdownReadVar bool, ShutdownWriteVar bool, CancellableVar *Cancellable) bool { | ||
| 177 | - | var cerr *glib.Error | 175 | + | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer()) |
| 178 | - | return rawCallback(ConnVar.GoPointer(), ShutdownReadVar, ShutdownWriteVar, CancellableVar.GoPointer(), &cerr) | |||
| 179 | } | 176 | } | ||
| 180 | } | 177 | } | ||
| 181 | 178 | ||||
| @@ -210,7 +207,7 @@ func (x *DtlsConnectionInterface) OverrideShutdownFinish(cb func(DtlsConnection, | |||||
| 210 | if cb == nil { | 207 | if cb == nil { | ||
| 211 | x.xShutdownFinish = 0 | 208 | x.xShutdownFinish = 0 | ||
| 212 | } else { | 209 | } else { | ||
| 213 | - | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | 210 | + | x.xShutdownFinish = purego.NewCallback(func(ConnVarp uintptr, ResultVarp uintptr) bool { |
| 214 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | 211 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, &AsyncResultBase{Ptr: ResultVarp}) | ||
| 215 | }) | 212 | }) | ||
| 216 | } | 213 | } | ||
| @@ -222,11 +219,10 @@ func (x *DtlsConnectionInterface) GetShutdownFinish() func(DtlsConnection, Async | |||||
| 222 | if x.xShutdownFinish == 0 { | 219 | if x.xShutdownFinish == 0 { | ||
| 223 | return nil | 220 | return nil | ||
| 224 | } | 221 | } | ||
| 225 | - | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | 222 | + | var rawCallback func(ConnVarp uintptr, ResultVarp uintptr) bool |
| 226 | purego.RegisterFunc(&rawCallback, x.xShutdownFinish) | 223 | purego.RegisterFunc(&rawCallback, x.xShutdownFinish) | ||
| 227 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | 224 | return func(ConnVar DtlsConnection, ResultVar AsyncResult) bool { | ||
| 228 | - | var cerr *glib.Error | 225 | + | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer()) |
| 229 | - | return rawCallback(ConnVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |||
| 230 | } | 226 | } | ||
| 231 | } | 227 | } | ||
| 232 | 228 | ||||
| @@ -286,7 +282,7 @@ func (x *DtlsConnectionInterface) OverrideGetBindingData(cb func(DtlsConnection, | |||||
| 286 | if cb == nil { | 282 | if cb == nil { | ||
| 287 | x.xGetBindingData = 0 | 283 | x.xGetBindingData = 0 | ||
| 288 | } else { | 284 | } else { | ||
| 289 | - | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool { | 285 | + | x.xGetBindingData = purego.NewCallback(func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool { |
| 290 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, TypeVarp, DataVarp) | 286 | return cb(&DtlsConnectionBase{Ptr: ConnVarp}, TypeVarp, DataVarp) | ||
| 291 | }) | 287 | }) | ||
| 292 | } | 288 | } | ||
| @@ -298,11 +294,10 @@ func (x *DtlsConnectionInterface) GetGetBindingData() func(DtlsConnection, TlsCh | |||||
| 298 | if x.xGetBindingData == 0 { | 294 | if x.xGetBindingData == 0 { | ||
| 299 | return nil | 295 | return nil | ||
| 300 | } | 296 | } | ||
| 301 | - | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte, cerrp **glib.Error) bool | 297 | + | var rawCallback func(ConnVarp uintptr, TypeVarp TlsChannelBindingType, DataVarp []byte) bool |
| 302 | purego.RegisterFunc(&rawCallback, x.xGetBindingData) | 298 | purego.RegisterFunc(&rawCallback, x.xGetBindingData) | ||
| 303 | return func(ConnVar DtlsConnection, TypeVar TlsChannelBindingType, DataVar []byte) bool { | 299 | return func(ConnVar DtlsConnection, TypeVar TlsChannelBindingType, DataVar []byte) bool { | ||
| 304 | - | var cerr *glib.Error | 300 | + | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar) |
| 305 | - | return rawCallback(ConnVar.GoPointer(), TypeVar, DataVar, &cerr) | |||
| 306 | } | 301 | } | ||
| 307 | } | 302 | } | ||
| 308 | 303 | ||||
| @@ -362,7 +357,6 @@ type DtlsConnection interface { | |||||
| 362 | var xDtlsConnectionGLibType func() types.GType | 357 | var xDtlsConnectionGLibType func() types.GType | ||
| 363 | 358 | ||||
| 364 | func DtlsConnectionGLibType() types.GType { | 359 | func DtlsConnectionGLibType() types.GType { | ||
| 365 | - | core.LazyRegister(&xDtlsConnectionGLibType, "GIO", "g_dtls_connection_get_type", false) | |||
| 366 | return xDtlsConnectionGLibType() | 360 | return xDtlsConnectionGLibType() | ||
| 367 | } | 361 | } | ||
| 368 | 362 | ||||
| @@ -846,196 +840,75 @@ func (x *DtlsConnectionBase) GetPropertyRequireCloseNotify() bool { | |||||
| 846 | return v.GetBoolean() | 840 | return v.GetBoolean() | ||
| 847 | } | 841 | } | ||
| 848 | 842 | ||||
| 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 | - | ) | |||
| 987 | var ( | 843 | var ( | ||
| 988 | - | xXGDtlsConnectionSetCertificate func(uintptr, uintptr) | 844 | + | XGDtlsConnectionClose func(uintptr, uintptr, **glib.Error) bool |
| 989 | - | XGDtlsConnectionSetDatabase func(uintptr, uintptr) = func(instance uintptr, DatabaseVarp uintptr) { | 845 | + | XGDtlsConnectionCloseAsync func(uintptr, int, uintptr, uintptr, uintptr) |
| 990 | - | core.LazyRegister(&xXGDtlsConnectionSetDatabase, "GIO", "g_dtls_connection_set_database", false) | 846 | + | XGDtlsConnectionCloseFinish func(uintptr, uintptr, **glib.Error) bool |
| 991 | - | xXGDtlsConnectionSetDatabase(instance, DatabaseVarp) | 847 | + | XGDtlsConnectionEmitAcceptCertificate func(uintptr, uintptr, TlsCertificateFlags) bool |
| 992 | - | } | 848 | + | XGDtlsConnectionGetCertificate func(uintptr) uintptr |
| 993 | - | ) | 849 | + | XGDtlsConnectionGetChannelBindingData func(uintptr, TlsChannelBindingType, *[]byte, **glib.Error) bool |
| 994 | - | var ( | 850 | + | XGDtlsConnectionGetCiphersuiteName func(uintptr) string |
| 995 | - | xXGDtlsConnectionSetDatabase func(uintptr, uintptr) | 851 | + | XGDtlsConnectionGetDatabase func(uintptr) uintptr |
| 996 | - | XGDtlsConnectionSetInteraction func(uintptr, uintptr) = func(instance uintptr, InteractionVarp uintptr) { | 852 | + | XGDtlsConnectionGetInteraction func(uintptr) uintptr |
| 997 | - | core.LazyRegister(&xXGDtlsConnectionSetInteraction, "GIO", "g_dtls_connection_set_interaction", false) | 853 | + | XGDtlsConnectionGetNegotiatedProtocol func(uintptr) string |
| 998 | - | xXGDtlsConnectionSetInteraction(instance, InteractionVarp) | 854 | + | XGDtlsConnectionGetPeerCertificate func(uintptr) uintptr |
| 999 | - | } | 855 | + | XGDtlsConnectionGetPeerCertificateErrors func(uintptr) TlsCertificateFlags |
| 1000 | - | ) | 856 | + | XGDtlsConnectionGetProtocolVersion func(uintptr) TlsProtocolVersion |
| 1001 | - | var ( | 857 | + | XGDtlsConnectionGetRehandshakeMode func(uintptr) TlsRehandshakeMode |
| 1002 | - | xXGDtlsConnectionSetInteraction func(uintptr, uintptr) | 858 | + | XGDtlsConnectionGetRequireCloseNotify func(uintptr) bool |
| 1003 | - | XGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) = func(instance uintptr, ModeVarp TlsRehandshakeMode) { | 859 | + | XGDtlsConnectionHandshake func(uintptr, uintptr, **glib.Error) bool |
| 1004 | - | core.LazyRegister(&xXGDtlsConnectionSetRehandshakeMode, "GIO", "g_dtls_connection_set_rehandshake_mode", false) | 860 | + | XGDtlsConnectionHandshakeAsync func(uintptr, int, uintptr, uintptr, uintptr) |
| 1005 | - | xXGDtlsConnectionSetRehandshakeMode(instance, ModeVarp) | 861 | + | XGDtlsConnectionHandshakeFinish func(uintptr, uintptr, **glib.Error) bool |
| 1006 | - | } | 862 | + | XGDtlsConnectionSetAdvertisedProtocols func(uintptr, []string) |
| 1007 | - | ) | 863 | + | XGDtlsConnectionSetCertificate func(uintptr, uintptr) |
| 1008 | - | var ( | 864 | + | XGDtlsConnectionSetDatabase func(uintptr, uintptr) |
| 1009 | - | xXGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) | 865 | + | XGDtlsConnectionSetInteraction func(uintptr, uintptr) |
| 1010 | - | XGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) = func(instance uintptr, RequireCloseNotifyVarp bool) { | 866 | + | XGDtlsConnectionSetRehandshakeMode func(uintptr, TlsRehandshakeMode) |
| 1011 | - | core.LazyRegister(&xXGDtlsConnectionSetRequireCloseNotify, "GIO", "g_dtls_connection_set_require_close_notify", false) | 867 | + | XGDtlsConnectionSetRequireCloseNotify func(uintptr, bool) |
| 1012 | - | xXGDtlsConnectionSetRequireCloseNotify(instance, RequireCloseNotifyVarp) | 868 | + | XGDtlsConnectionShutdown func(uintptr, bool, bool, uintptr, **glib.Error) bool |
| 1013 | - | } | 869 | + | XGDtlsConnectionShutdownAsync func(uintptr, bool, bool, int, uintptr, uintptr, uintptr) |
| 1014 | - | ) | 870 | + | XGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool |
| 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 | - | } | |||
| 1035 | ) | 871 | ) | ||
| 1036 | - | var xXGDtlsConnectionShutdownFinish func(uintptr, uintptr, **glib.Error) bool | |||
| 1037 | 872 | ||||
| 1038 | func init() { | 873 | func init() { | ||
| 1039 | core.SetPackageName("GIO", "gio-2.0") | 874 | core.SetPackageName("GIO", "gio-2.0") | ||
| 1040 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 875 | 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") | |||
| 1041 | } | 914 | } | ||