slidge-whatsapp 0.2.2__cp311-cp311-manylinux_2_36_aarch64.whl → 0.2.7__cp311-cp311-manylinux_2_36_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of slidge-whatsapp might be problematic. Click here for more details.
- slidge_whatsapp/__init__.py +26 -8
- slidge_whatsapp/__main__.py +3 -0
- slidge_whatsapp/config.py +3 -0
- slidge_whatsapp/contact.py +1 -1
- slidge_whatsapp/event.go +87 -26
- slidge_whatsapp/gateway.go +13 -9
- slidge_whatsapp/gateway.py +2 -2
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.h +174 -137
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +139 -114
- slidge_whatsapp/generated/go.py +1 -1
- slidge_whatsapp/generated/whatsapp.c +1609 -1138
- slidge_whatsapp/generated/whatsapp.go +1274 -1029
- slidge_whatsapp/generated/whatsapp.py +1379 -1059
- slidge_whatsapp/generated/whatsapp_go.h +174 -137
- slidge_whatsapp/go.mod +18 -13
- slidge_whatsapp/go.sum +35 -29
- slidge_whatsapp/group.py +7 -2
- slidge_whatsapp/media/__init__.py +0 -0
- slidge_whatsapp/media/media.go +29 -14
- slidge_whatsapp/session.go +77 -71
- slidge_whatsapp/session.py +53 -31
- slidge_whatsapp/vendor/filippo.io/edwards25519/LICENSE +27 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/README.md +14 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/doc.go +20 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/edwards25519.go +427 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/extra.go +349 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe.go +420 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.go +16 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.s +379 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64_noasm.go +12 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.go +16 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.s +42 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64_noasm.go +12 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_extra.go +50 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_generic.go +266 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalar.go +343 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalar_fiat.go +1147 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalarmult.go +214 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/tables.go +129 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/.gitignore +1 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/LICENSE +201 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/README.md +97 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_amd64.h +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_arm64.h +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/cgo.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlerror.go +17 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_android.go +34 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_darwin.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_freebsd.go +14 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_linux.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_freebsd.go +11 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_linux.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_playground.go +24 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_stubs.s +26 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/func.go +436 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/go_runtime.go +13 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go +56 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/empty.go +6 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go +55 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_amd64.h +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_arm64.h +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_amd64.s +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_arm64.s +36 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go +93 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go +32 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/freebsd.go +27 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_amd64.go +73 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_arm64.go +88 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_amd64.go +95 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_arm64.go +98 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +72 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_amd64.go +95 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_arm64.go +98 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go +18 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go +37 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go +22 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +221 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_amd64.s +104 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_arm64.s +72 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s +90 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/strings/strings.go +40 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/is_ios.go +13 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/nocgo.go +25 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_amd64.go +260 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_arm64.go +274 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_other.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_amd64.s +164 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_arm64.s +92 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_arm64.s +70 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall.go +53 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_cgo_linux.go +21 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_sysv.go +223 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_windows.go +46 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_amd64.s +2014 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_arm64.s +4014 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/.gitattributes +6 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/AUTHORS +1 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/COPYING +661 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/README.md +71 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz.go +66 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo.go +596 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_cgo.go +18 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib.go +11 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib_pkgconfig.go +9 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_content_types.go +383 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_nocgo.go +1098 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_vendor.go +9 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/archive.h +444 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/band-writer.h +117 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bidi.h +90 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bitmap.h +175 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/buffer.h +250 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/color.h +427 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compress.h +88 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compressed-buffer.h +185 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/config.h +222 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/context.h +1006 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/crypt.h +270 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/device.h +654 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/display-list.h +142 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/document.h +1108 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/export.h +52 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/filter.h +263 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/font.h +815 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/geometry.h +818 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/getopt.h +128 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph-cache.h +96 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph.h +81 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/hash.h +126 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap-imp.h +163 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap.h +140 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/image.h +443 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/link.h +130 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/log.h +61 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/outline.h +228 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output-svg.h +64 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output.h +415 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/path.h +447 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pixmap.h +501 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pool.h +68 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/separation.h +138 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/shade.h +233 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/store.h +456 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story-writer.h +209 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story.h +232 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/stream.h +646 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/string-util.h +286 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/structured-text.h +365 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/system.h +459 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/text.h +209 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/track-usage.h +57 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/transition.h +76 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/tree.h +62 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/types.h +41 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/util.h +151 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/version.h +31 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/write-pixmap.h +499 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/writer.h +266 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/xml.h +397 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz.h +97 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/memento.h +423 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdf_linux_arm64.a +0 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdfthird_linux_arm64.a +0 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_darwin.go +23 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_linux.go +22 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_windows.go +22 -0
- slidge_whatsapp/vendor/github.com/go-python/gopy/LICENSE +23 -0
- slidge_whatsapp/vendor/github.com/go-python/gopy/gopyh/handle.go +210 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CHANGELOG.md +41 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTING.md +26 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTORS +9 -0
- slidge_whatsapp/vendor/github.com/google/uuid/LICENSE +27 -0
- slidge_whatsapp/vendor/github.com/google/uuid/README.md +21 -0
- slidge_whatsapp/vendor/github.com/google/uuid/dce.go +80 -0
- slidge_whatsapp/vendor/github.com/google/uuid/doc.go +12 -0
- slidge_whatsapp/vendor/github.com/google/uuid/hash.go +59 -0
- slidge_whatsapp/vendor/github.com/google/uuid/marshal.go +38 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node.go +90 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node_js.go +12 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node_net.go +33 -0
- slidge_whatsapp/vendor/github.com/google/uuid/null.go +118 -0
- slidge_whatsapp/vendor/github.com/google/uuid/sql.go +59 -0
- slidge_whatsapp/vendor/github.com/google/uuid/time.go +134 -0
- slidge_whatsapp/vendor/github.com/google/uuid/util.go +43 -0
- slidge_whatsapp/vendor/github.com/google/uuid/uuid.go +365 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version1.go +44 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version4.go +76 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version6.go +56 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version7.go +104 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/.gitignore +25 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/AUTHORS +9 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/LICENSE +22 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/README.md +33 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/client.go +434 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/compression.go +148 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/conn.go +1238 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/doc.go +227 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/join.go +42 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/json.go +60 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/mask.go +55 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/mask_safe.go +16 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/prepared.go +102 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/proxy.go +77 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/server.go +365 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake.go +21 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake_116.go +21 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/util.go +298 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/x_net_proxy.go +473 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.editorconfig +12 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.gitignore +2 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.travis.yml +16 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/History.md +163 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/LICENSE +24 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/README.md +294 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/filetype.go +102 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/kind.go +91 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/match.go +90 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/application.go +43 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/archive.go +211 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/audio.go +85 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/document.go +197 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/font.go +45 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/image.go +143 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/isobmff/isobmff.go +37 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/matchers.go +51 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/video.go +145 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/defaults.go +4 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/mime.go +14 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/split.go +11 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/type.go +16 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/types.go +23 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/version.go +4 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/.gitignore +21 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/CHANGELOG.md +69 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/COPYRIGHT.txt +147 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/README.md +162 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi.go +7 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi_amd64.go +7 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/ffi.go +272 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/fun.go +54 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/init.go +55 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib.go +82 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_unix.go +63 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_windows.go +68 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_amd64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_arm64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_darwin_arm64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/types.go +34 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/README.md +48 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_others.go +38 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_windows.go +1047 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/go.test.sh +12 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/noncolorable.go +57 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/LICENSE +9 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/README.md +50 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/doc.go +2 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/go.test.sh +12 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_bsd.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_others.go +17 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_plan9.go +23 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_solaris.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_tcgets.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_windows.go +125 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.codecov.yml +4 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.gitignore +14 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/README.md +598 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/backup.go +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +412 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/convert.go +299 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/doc.go +134 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/error.go +150 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c +261459 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +13720 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +2315 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_context.go +103 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go +120 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go +54 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go +23 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go +25 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go +22 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_math_functions.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_os_trace.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go +113 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go +22 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize.go +83 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize_omit.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c +89 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +97 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go +295 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go +158 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go +721 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go +18 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go +288 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_type.go +108 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go +42 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go +18 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h +728 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/static_mock.go +38 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/.gitignore +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/LICENSE +202 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/README.md +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_gccgo.go +26 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.c +23 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.go +22 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.s +18 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.go +28 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.s +44 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_slow.go +24 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_gccgo_go1.8.go +17 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.23.go +38 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.5.go +57 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.6.go +43 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.9.go +37 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/.gitignore +25 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +813 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/array.go +240 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +535 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/context.go +480 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/ctx.go +52 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder.go +56 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_cbor.go +45 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_json.go +51 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/event.go +830 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/example.jsonl +7 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/fields.go +292 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/globals.go +190 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/go112.go +7 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/hook.go +64 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/README.md +56 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/base.go +19 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/cbor.go +102 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +654 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/string.go +117 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/time.go +93 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/types.go +486 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/base.go +19 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/bytes.go +85 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/string.go +149 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/time.go +113 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/types.go +435 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log/log.go +131 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log.go +518 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/not_go112.go +5 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/pretty.png +0 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/sampler.go +137 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/syslog.go +89 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +355 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/LICENSE +674 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cbc.go +101 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cipher.go +105 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Curve.go +109 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DjbECPublicKey.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DkbECPrivateKey.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECKeyPair.go +27 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPrivateKey.go +7 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPublicKey.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/SignCurve25519.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupCipher.go +152 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderChainKey.go +68 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderMessageKey.go +89 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/Doc.go +2 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyRecord.go +149 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyState.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go +13 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/kdf/HKDF.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +128 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +48 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKeyPair.go +39 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/message/MessageKey.go +91 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/prekey/PreKeyBundle.go +86 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/root/RootKey.go +66 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/DerivedSecrets.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/Pair.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/DefaultLogger.go +85 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/Logger.go +89 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/CiphertextMessage.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/PreKeySignalMessage.go +152 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyDistributionMessage.go +147 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyMessage.go +168 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyName.go +25 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalMessage.go +226 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalProtocolAddress.go +38 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/Ratchet.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/ReceiverParameters.go +106 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SenderParameters.go +106 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SymmetricParameters.go +18 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.pb.go +246 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/JSONSerializer.go +303 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.pb.go +1501 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.proto +114 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go +262 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/Serializer.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.pb.go +641 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.proto +45 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +299 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +409 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/signalerror/errors.go +37 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/ChainState.go +157 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingKeyExchangeState.go +91 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingPreKeyState.go +62 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PreKeyRecord.go +90 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionRecord.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionState.go +531 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SignedPreKeyRecord.go +112 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/UnacknowledgedPreKey.go +69 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/IdentityKeyStore.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignalProtocolStore.go +15 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignedPreKeyStore.go +26 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/bytehelper/ByteHelper.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/errorhelper/ErrorHelper.go +40 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/keyhelper/KeyHelper.go +95 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/medium/Medium.go +4 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/optional/Integer.go +17 -0
- slidge_whatsapp/vendor/go.mau.fi/util/LICENSE +373 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/connlog.go +257 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/database.go +309 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/iter.go +233 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/json.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +129 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/massinsert.go +164 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/queryhelper.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/reflectscan.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/transaction.go +180 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgrades.go +250 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +331 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/dualerror.go +33 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/must.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/cors.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/handleerrors.go +64 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/json.go +36 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/middleware.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/networkerror.go +37 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exstrings/stringutil.go +76 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +88 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/returnonce.go +25 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/ringbuffer.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +136 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/callermarshal.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/defaults.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/generics.go +45 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/writer.go +81 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/doc.go +9 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_darwin.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_linux.go +24 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_unknown.go +17 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/duration.go +155 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/helpers.go +59 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/integer.go +170 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/string.go +95 -0
- slidge_whatsapp/vendor/go.mau.fi/util/ptr/ptr.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/util/random/bytes.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/util/random/string.go +87 -0
- slidge_whatsapp/vendor/go.mau.fi/util/retryafter/retryafter.go +53 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.editorconfig +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.gitattributes +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.pre-commit-config.yaml +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/LICENSE +374 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/README.md +35 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +312 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +323 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/errors.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/keys.go +138 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/lthash/lthash.go +58 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +409 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +132 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/attrs.go +218 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/decoder.go +406 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +308 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/errors.go +12 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/node.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/token/token.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/unpack.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/xml.go +108 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/broadcast.go +143 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +933 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +214 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +234 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +410 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +261 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +960 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/handshake.go +165 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +696 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +98 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +992 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +374 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/newsletter.go +376 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +457 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +245 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +272 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +255 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +170 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/.gitignore +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go +983 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.proto +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.pb.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.proto +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.pb.go +279 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.pb.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.pb.go +313 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto +27 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go +1299 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.pb.go +514 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.proto +47 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.pb.go +123 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.proto +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.pb.go +720 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.proto +59 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.pb.go +365 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go +1238 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.proto +105 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go +515 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go +2982 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto +258 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +1029 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +143 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +412 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto +34 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go +138 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go +769 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +67 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.pb.go +987 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.proto +101 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +2817 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.proto +233 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/extra.go +82 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +247 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +18 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +27357 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +2628 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +2368 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +231 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go +198 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go +2130 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +191 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +272 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +1156 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +96 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go +41 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go +859 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto +75 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +20 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go +732 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto +57 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go +857 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/legacy.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +800 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +5581 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +513 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +428 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go +852 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +2325 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +253 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +4449 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +581 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/push.go +110 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/qrchan.go +180 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +254 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingfields.json +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingtoken.go +176 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +225 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +458 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +1314 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +658 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/constants.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/framesocket.go +235 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go +124 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go +108 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +187 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +256 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +182 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +291 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +897 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +155 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/03-message-secrets.sql +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/04-privacy-tokens.sql +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/05-account-jid-format.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/06-facebook-uuid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/07-account-lid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/08-lid-mapping.sql +5 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/09-decryption-buffer.sql +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/10-chat-db-lid-migration-ts.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/upgrades.go +22 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +245 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/botmap.go +210 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/appstate.go +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/call.go +77 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +611 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +164 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +262 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +116 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/newsletter.go +201 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/presence.go +78 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +195 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/update.go +64 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +251 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +882 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/cbcutil/cbc.go +217 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/gcmutil/gcm.go +41 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/hkdfutil/hkdf.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go +68 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/log.go +83 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/zerolog.go +38 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/curve25519/curve25519.go +90 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/hkdf/hkdf.go +95 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go +77 -0
- slidge_whatsapp/vendor/golang.org/x/exp/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/exp/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/exp/constraints/constraints.go +54 -0
- slidge_whatsapp/vendor/golang.org/x/image/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/image/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/draw.go +67 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/impl.go +8426 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/scale.go +525 -0
- slidge_whatsapp/vendor/golang.org/x/image/math/f64/f64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/image/riff/riff.go +193 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/decode.go +403 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/filter.go +273 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/idct.go +98 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/partition.go +129 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/pred.go +201 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/predfunc.go +553 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/quant.go +98 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/reconstruct.go +442 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/token.go +381 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/decode.go +603 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/huffman.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/transform.go +299 -0
- slidge_whatsapp/vendor/golang.org/x/image/webp/decode.go +276 -0
- slidge_whatsapp/vendor/golang.org/x/image/webp/doc.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/net/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/net/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/guts.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/httplex.go +347 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/.gitignore +2 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ciphers.go +641 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/client_conn_pool.go +311 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +122 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_go124.go +61 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_pre_go124.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/databuffer.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/errors.go +145 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/flow.go +120 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +1702 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/gotrack.go +170 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/encode.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/hpack.go +523 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/huffman.go +226 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/static_table.go +188 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/tables.go +403 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +432 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/pipe.go +184 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +3350 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/timer.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +3287 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/unencrypted.go +32 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/write.go +381 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +251 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority.go +451 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_random.go +77 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/go118.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna10.0.0.go +769 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna9.0.0.go +717 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/pre_go118.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/punycode.go +217 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables10.0.0.go +4559 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables11.0.0.go +4653 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables12.0.0.go +4733 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables13.0.0.go +4959 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables9.0.0.go +4486 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie12.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie13.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trieval.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/headermap.go +115 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +467 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/socks/client.go +168 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/socks/socks.go +317 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/dial.go +54 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/direct.go +31 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/per_host.go +153 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/proxy.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/socks5.go +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/.gitignore +2 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/README.md +184 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/affinity_linux.go +86 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/aliases.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_386.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_386.s +65 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_amd64.s +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm.s +56 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm64.s +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +54 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +52 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +47 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_s390x.s +54 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_zos_s390x.s +382 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv_unsupported.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bluetooth_linux.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.go +657 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.s +192 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/cap_freebsd.go +195 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/constants.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_darwin.go +24 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_dragonfly.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_freebsd.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_linux.go +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_netbsd.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_openbsd.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_zos.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dirent.go +102 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_big.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_little.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/env_unix.go +31 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_darwin.go +24 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fdset.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo.go +59 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_c.c +44 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ifreq_linux.go +141 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_linux.go +334 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_signed.go +69 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_unsigned.go +69 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_zos.go +71 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkall.sh +249 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkerrors.sh +805 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mmap_nomremap.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mremap.go +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/pagesize_unix.go +15 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/pledge_openbsd.go +111 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_darwin.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_ios.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/race.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/race0.go +25 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdents.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +19 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_linux.go +85 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix.go +106 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +46 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_zos.go +58 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s +75 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall.go +86 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix.go +582 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +52 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +83 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_bsd.go +609 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin.go +854 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +359 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +56 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd.go +455 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +64 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +64 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd_386.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_illumos.go +78 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +2647 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_386.go +314 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +145 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm.go +216 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +186 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +188 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +174 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +204 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +115 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +191 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +296 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +112 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd.go +371 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd.go +342 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +39 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris.go +1191 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix.go +615 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +3213 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_linux.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/timestruct.go +76 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/unveil_openbsd.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_linux.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/xattr_bsd.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +1384 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +1385 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +1922 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +1922 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +1737 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +2042 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +2039 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +2033 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +2033 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +2147 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux.go +3752 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +873 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +873 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +875 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +865 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +931 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +935 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +935 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +862 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +934 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +977 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +1779 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +1769 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +1758 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +1769 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +1904 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +1903 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +1556 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +990 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +40 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +49 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +49 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +79 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s +364 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +1461 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +1420 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +1188 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +1069 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +2728 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +799 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +2728 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +799 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +1666 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +101 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux.go +2240 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +486 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +601 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +552 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +486 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +647 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +636 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +658 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +704 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +704 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +548 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +495 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +648 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +838 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +2217 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +3458 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +281 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +439 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +437 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +316 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +465 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +388 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +429 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +332 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +328 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +449 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +379 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +379 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +449 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +456 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +428 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +428 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +333 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +394 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +407 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +221 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +217 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +2852 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +353 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +357 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +473 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +651 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +656 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +642 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +636 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +638 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux.go +6178 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +689 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +703 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +683 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +682 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +683 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +688 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +685 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +685 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +688 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +696 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +691 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +691 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +770 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +705 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +686 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +585 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +593 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +590 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +593 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +575 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +570 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +570 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +516 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +552 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/aliases.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/dll_windows.go +415 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/env_windows.go +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/eventlog.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/exec_windows.go +248 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/memory_windows.go +48 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mkerrors.bash +70 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mkknownfolderids.bash +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mksyscall.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/race.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/race0.go +25 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/security_windows.go +1497 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/service.go +257 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/setupapi_windows.go +1425 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/str.go +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall.go +104 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +1934 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +3842 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_386.go +35 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_amd64.go +34 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm.go +35 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm64.go +34 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zerrors_windows.go +9468 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zknownfolderids_windows.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +4695 -0
- slidge_whatsapp/vendor/golang.org/x/text/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/text/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule.go +336 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/text/transform/transform.go +709 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bidi.go +359 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +1071 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go +1815 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables11.0.0.go +1887 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go +1923 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables13.0.0.go +1955 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +2042 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go +1781 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/trieval.go +48 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/composition.go +512 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/forminfo.go +279 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/iter.go +458 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/normalize.go +610 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go +7657 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go +7693 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go +7710 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go +7760 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +7907 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go +7637 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/LICENSE +27 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/PATENTS +22 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/decode.go +767 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/doc.go +7 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/encode.go +380 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/protowire/wire.go +547 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go +414 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descopts/options.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/detrand/rand.go +69 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/defaults.go +12 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb +0 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/defval/default.go +213 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/messageset/messageset.go +242 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go +201 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go +686 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_number.go +211 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_string.go +161 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_token.go +373 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/doc.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go +272 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/errors/errors.go +104 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/build.go +157 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +748 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +560 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +694 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list.go +457 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go +367 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +167 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go +110 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filetype/build.go +296 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/flags.go +24 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go +10 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go +10 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/any_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/api_gen.go +106 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +1286 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/doc.go +11 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/duration_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/empty_gen.go +19 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.go +31 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go +70 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/goname.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/map_entry.go +16 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/name.go +12 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/source_context_gen.go +31 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/struct_gen.go +121 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/type_gen.go +228 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers.go +13 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers_gen.go +175 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export.go +177 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export_opaque.go +128 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap_race.go +126 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/checkinit.go +174 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go +228 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field.go +788 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field_opaque.go +264 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go +5724 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_map.go +399 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message.go +230 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go +153 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go +145 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_tables.go +557 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go +15 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert.go +495 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_list.go +141 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_map.go +121 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/decode.go +333 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/encode.go +315 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/enum.go +21 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/equal.go +224 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/extension.go +156 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/lazy.go +433 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go +219 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_export.go +92 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go +177 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go +81 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go +569 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge.go +203 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go +209 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message.go +283 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go +627 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque_gen.go +132 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go +462 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go +423 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field_gen.go +273 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go +271 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +220 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe_opaque.go +42 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/presence.go +142 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/validate.go +570 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/order.go +89 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/range.go +115 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/pragma/pragma.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/bufferreader.go +364 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/lazy.go +359 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/pointer_unsafe.go +17 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/set/ints.go +58 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings.go +196 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go +71 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +79 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/checkinit.go +71 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode.go +307 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode_gen.go +603 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/doc.go +86 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode.go +355 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode_gen.go +97 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/equal.go +66 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/extension.go +166 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/merge.go +145 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/messageset.go +98 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto.go +45 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_methods.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_reflect.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/reset.go +43 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size.go +111 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size_gen.go +55 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrapperopaque.go +80 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrappers.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go +88 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go +513 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source.go +129 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +575 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go +666 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go +285 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go +168 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go +438 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go +84 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go +882 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go +15 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go +202 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.go +48 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go +60 -0
- slidge_whatsapp/vendor/modules.txt +212 -0
- slidge_whatsapp-0.2.7.dist-info/METADATA +63 -0
- slidge_whatsapp-0.2.7.dist-info/RECORD +1286 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/WHEEL +1 -1
- slidge_whatsapp-0.2.2.dist-info/METADATA +0 -744
- slidge_whatsapp-0.2.2.dist-info/RECORD +0 -31
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Copyright 2009 The Go Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
//go:build amd64 && solaris
|
|
6
|
+
|
|
7
|
+
package unix
|
|
8
|
+
|
|
9
|
+
func setTimespec(sec, nsec int64) Timespec {
|
|
10
|
+
return Timespec{Sec: sec, Nsec: nsec}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
func setTimeval(sec, usec int64) Timeval {
|
|
14
|
+
return Timeval{Sec: sec, Usec: usec}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
func (iov *Iovec) SetLen(length int) {
|
|
18
|
+
iov.Len = uint64(length)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
func (msghdr *Msghdr) SetIovlen(length int) {
|
|
22
|
+
msghdr.Iovlen = int32(length)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
func (cmsg *Cmsghdr) SetLen(length int) {
|
|
26
|
+
cmsg.Len = uint32(length)
|
|
27
|
+
}
|
|
@@ -0,0 +1,615 @@
|
|
|
1
|
+
// Copyright 2009 The Go Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
|
|
6
|
+
|
|
7
|
+
package unix
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"bytes"
|
|
11
|
+
"sort"
|
|
12
|
+
"sync"
|
|
13
|
+
"syscall"
|
|
14
|
+
"unsafe"
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
var (
|
|
18
|
+
Stdin = 0
|
|
19
|
+
Stdout = 1
|
|
20
|
+
Stderr = 2
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
// Do the interface allocations only once for common
|
|
24
|
+
// Errno values.
|
|
25
|
+
var (
|
|
26
|
+
errEAGAIN error = syscall.EAGAIN
|
|
27
|
+
errEINVAL error = syscall.EINVAL
|
|
28
|
+
errENOENT error = syscall.ENOENT
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
var (
|
|
32
|
+
signalNameMapOnce sync.Once
|
|
33
|
+
signalNameMap map[string]syscall.Signal
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
// errnoErr returns common boxed Errno values, to prevent
|
|
37
|
+
// allocations at runtime.
|
|
38
|
+
func errnoErr(e syscall.Errno) error {
|
|
39
|
+
switch e {
|
|
40
|
+
case 0:
|
|
41
|
+
return nil
|
|
42
|
+
case EAGAIN:
|
|
43
|
+
return errEAGAIN
|
|
44
|
+
case EINVAL:
|
|
45
|
+
return errEINVAL
|
|
46
|
+
case ENOENT:
|
|
47
|
+
return errENOENT
|
|
48
|
+
}
|
|
49
|
+
return e
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// ErrnoName returns the error name for error number e.
|
|
53
|
+
func ErrnoName(e syscall.Errno) string {
|
|
54
|
+
i := sort.Search(len(errorList), func(i int) bool {
|
|
55
|
+
return errorList[i].num >= e
|
|
56
|
+
})
|
|
57
|
+
if i < len(errorList) && errorList[i].num == e {
|
|
58
|
+
return errorList[i].name
|
|
59
|
+
}
|
|
60
|
+
return ""
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// SignalName returns the signal name for signal number s.
|
|
64
|
+
func SignalName(s syscall.Signal) string {
|
|
65
|
+
i := sort.Search(len(signalList), func(i int) bool {
|
|
66
|
+
return signalList[i].num >= s
|
|
67
|
+
})
|
|
68
|
+
if i < len(signalList) && signalList[i].num == s {
|
|
69
|
+
return signalList[i].name
|
|
70
|
+
}
|
|
71
|
+
return ""
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// SignalNum returns the syscall.Signal for signal named s,
|
|
75
|
+
// or 0 if a signal with such name is not found.
|
|
76
|
+
// The signal name should start with "SIG".
|
|
77
|
+
func SignalNum(s string) syscall.Signal {
|
|
78
|
+
signalNameMapOnce.Do(func() {
|
|
79
|
+
signalNameMap = make(map[string]syscall.Signal, len(signalList))
|
|
80
|
+
for _, signal := range signalList {
|
|
81
|
+
signalNameMap[signal.name] = signal.num
|
|
82
|
+
}
|
|
83
|
+
})
|
|
84
|
+
return signalNameMap[s]
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// clen returns the index of the first NULL byte in n or len(n) if n contains no NULL byte.
|
|
88
|
+
func clen(n []byte) int {
|
|
89
|
+
i := bytes.IndexByte(n, 0)
|
|
90
|
+
if i == -1 {
|
|
91
|
+
i = len(n)
|
|
92
|
+
}
|
|
93
|
+
return i
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Mmap manager, for use by operating system-specific implementations.
|
|
97
|
+
|
|
98
|
+
type mmapper struct {
|
|
99
|
+
sync.Mutex
|
|
100
|
+
active map[*byte][]byte // active mappings; key is last byte in mapping
|
|
101
|
+
mmap func(addr, length uintptr, prot, flags, fd int, offset int64) (uintptr, error)
|
|
102
|
+
munmap func(addr uintptr, length uintptr) error
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
106
|
+
if length <= 0 {
|
|
107
|
+
return nil, EINVAL
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Map the requested memory.
|
|
111
|
+
addr, errno := m.mmap(0, uintptr(length), prot, flags, fd, offset)
|
|
112
|
+
if errno != nil {
|
|
113
|
+
return nil, errno
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Use unsafe to convert addr into a []byte.
|
|
117
|
+
b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), length)
|
|
118
|
+
|
|
119
|
+
// Register mapping in m and return it.
|
|
120
|
+
p := &b[cap(b)-1]
|
|
121
|
+
m.Lock()
|
|
122
|
+
defer m.Unlock()
|
|
123
|
+
m.active[p] = b
|
|
124
|
+
return b, nil
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
func (m *mmapper) Munmap(data []byte) (err error) {
|
|
128
|
+
if len(data) == 0 || len(data) != cap(data) {
|
|
129
|
+
return EINVAL
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Find the base of the mapping.
|
|
133
|
+
p := &data[cap(data)-1]
|
|
134
|
+
m.Lock()
|
|
135
|
+
defer m.Unlock()
|
|
136
|
+
b := m.active[p]
|
|
137
|
+
if b == nil || &b[0] != &data[0] {
|
|
138
|
+
return EINVAL
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// Unmap the memory and update m.
|
|
142
|
+
if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
|
|
143
|
+
return errno
|
|
144
|
+
}
|
|
145
|
+
delete(m.active, p)
|
|
146
|
+
return nil
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
150
|
+
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
func Munmap(b []byte) (err error) {
|
|
154
|
+
return mapper.Munmap(b)
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
func MmapPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, prot int, flags int) (ret unsafe.Pointer, err error) {
|
|
158
|
+
xaddr, err := mapper.mmap(uintptr(addr), length, prot, flags, fd, offset)
|
|
159
|
+
return unsafe.Pointer(xaddr), err
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
func MunmapPtr(addr unsafe.Pointer, length uintptr) (err error) {
|
|
163
|
+
return mapper.munmap(uintptr(addr), length)
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
func Read(fd int, p []byte) (n int, err error) {
|
|
167
|
+
n, err = read(fd, p)
|
|
168
|
+
if raceenabled {
|
|
169
|
+
if n > 0 {
|
|
170
|
+
raceWriteRange(unsafe.Pointer(&p[0]), n)
|
|
171
|
+
}
|
|
172
|
+
if err == nil {
|
|
173
|
+
raceAcquire(unsafe.Pointer(&ioSync))
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
return
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
func Write(fd int, p []byte) (n int, err error) {
|
|
180
|
+
if raceenabled {
|
|
181
|
+
raceReleaseMerge(unsafe.Pointer(&ioSync))
|
|
182
|
+
}
|
|
183
|
+
n, err = write(fd, p)
|
|
184
|
+
if raceenabled && n > 0 {
|
|
185
|
+
raceReadRange(unsafe.Pointer(&p[0]), n)
|
|
186
|
+
}
|
|
187
|
+
return
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
191
|
+
n, err = pread(fd, p, offset)
|
|
192
|
+
if raceenabled {
|
|
193
|
+
if n > 0 {
|
|
194
|
+
raceWriteRange(unsafe.Pointer(&p[0]), n)
|
|
195
|
+
}
|
|
196
|
+
if err == nil {
|
|
197
|
+
raceAcquire(unsafe.Pointer(&ioSync))
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
204
|
+
if raceenabled {
|
|
205
|
+
raceReleaseMerge(unsafe.Pointer(&ioSync))
|
|
206
|
+
}
|
|
207
|
+
n, err = pwrite(fd, p, offset)
|
|
208
|
+
if raceenabled && n > 0 {
|
|
209
|
+
raceReadRange(unsafe.Pointer(&p[0]), n)
|
|
210
|
+
}
|
|
211
|
+
return
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// For testing: clients can set this flag to force
|
|
215
|
+
// creation of IPv6 sockets to return EAFNOSUPPORT.
|
|
216
|
+
var SocketDisableIPv6 bool
|
|
217
|
+
|
|
218
|
+
// Sockaddr represents a socket address.
|
|
219
|
+
type Sockaddr interface {
|
|
220
|
+
sockaddr() (ptr unsafe.Pointer, len _Socklen, err error) // lowercase; only we can define Sockaddrs
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// SockaddrInet4 implements the Sockaddr interface for AF_INET type sockets.
|
|
224
|
+
type SockaddrInet4 struct {
|
|
225
|
+
Port int
|
|
226
|
+
Addr [4]byte
|
|
227
|
+
raw RawSockaddrInet4
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// SockaddrInet6 implements the Sockaddr interface for AF_INET6 type sockets.
|
|
231
|
+
type SockaddrInet6 struct {
|
|
232
|
+
Port int
|
|
233
|
+
ZoneId uint32
|
|
234
|
+
Addr [16]byte
|
|
235
|
+
raw RawSockaddrInet6
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// SockaddrUnix implements the Sockaddr interface for AF_UNIX type sockets.
|
|
239
|
+
type SockaddrUnix struct {
|
|
240
|
+
Name string
|
|
241
|
+
raw RawSockaddrUnix
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
func Bind(fd int, sa Sockaddr) (err error) {
|
|
245
|
+
ptr, n, err := sa.sockaddr()
|
|
246
|
+
if err != nil {
|
|
247
|
+
return err
|
|
248
|
+
}
|
|
249
|
+
return bind(fd, ptr, n)
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
func Connect(fd int, sa Sockaddr) (err error) {
|
|
253
|
+
ptr, n, err := sa.sockaddr()
|
|
254
|
+
if err != nil {
|
|
255
|
+
return err
|
|
256
|
+
}
|
|
257
|
+
return connect(fd, ptr, n)
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
func Getpeername(fd int) (sa Sockaddr, err error) {
|
|
261
|
+
var rsa RawSockaddrAny
|
|
262
|
+
var len _Socklen = SizeofSockaddrAny
|
|
263
|
+
if err = getpeername(fd, &rsa, &len); err != nil {
|
|
264
|
+
return
|
|
265
|
+
}
|
|
266
|
+
return anyToSockaddr(fd, &rsa)
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
func GetsockoptByte(fd, level, opt int) (value byte, err error) {
|
|
270
|
+
var n byte
|
|
271
|
+
vallen := _Socklen(1)
|
|
272
|
+
err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
|
|
273
|
+
return n, err
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
func GetsockoptInt(fd, level, opt int) (value int, err error) {
|
|
277
|
+
var n int32
|
|
278
|
+
vallen := _Socklen(4)
|
|
279
|
+
err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
|
|
280
|
+
return int(n), err
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
|
|
284
|
+
vallen := _Socklen(4)
|
|
285
|
+
err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
|
|
286
|
+
return value, err
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
|
|
290
|
+
var value IPMreq
|
|
291
|
+
vallen := _Socklen(SizeofIPMreq)
|
|
292
|
+
err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
|
|
293
|
+
return &value, err
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
|
|
297
|
+
var value IPv6Mreq
|
|
298
|
+
vallen := _Socklen(SizeofIPv6Mreq)
|
|
299
|
+
err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
|
|
300
|
+
return &value, err
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
|
|
304
|
+
var value IPv6MTUInfo
|
|
305
|
+
vallen := _Socklen(SizeofIPv6MTUInfo)
|
|
306
|
+
err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
|
|
307
|
+
return &value, err
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
|
|
311
|
+
var value ICMPv6Filter
|
|
312
|
+
vallen := _Socklen(SizeofICMPv6Filter)
|
|
313
|
+
err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
|
|
314
|
+
return &value, err
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
func GetsockoptLinger(fd, level, opt int) (*Linger, error) {
|
|
318
|
+
var linger Linger
|
|
319
|
+
vallen := _Socklen(SizeofLinger)
|
|
320
|
+
err := getsockopt(fd, level, opt, unsafe.Pointer(&linger), &vallen)
|
|
321
|
+
return &linger, err
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
func GetsockoptTimeval(fd, level, opt int) (*Timeval, error) {
|
|
325
|
+
var tv Timeval
|
|
326
|
+
vallen := _Socklen(unsafe.Sizeof(tv))
|
|
327
|
+
err := getsockopt(fd, level, opt, unsafe.Pointer(&tv), &vallen)
|
|
328
|
+
return &tv, err
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
func GetsockoptUint64(fd, level, opt int) (value uint64, err error) {
|
|
332
|
+
var n uint64
|
|
333
|
+
vallen := _Socklen(8)
|
|
334
|
+
err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
|
|
335
|
+
return n, err
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
|
|
339
|
+
var rsa RawSockaddrAny
|
|
340
|
+
var len _Socklen = SizeofSockaddrAny
|
|
341
|
+
if n, err = recvfrom(fd, p, flags, &rsa, &len); err != nil {
|
|
342
|
+
return
|
|
343
|
+
}
|
|
344
|
+
if rsa.Addr.Family != AF_UNSPEC {
|
|
345
|
+
from, err = anyToSockaddr(fd, &rsa)
|
|
346
|
+
}
|
|
347
|
+
return
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// Recvmsg receives a message from a socket using the recvmsg system call. The
|
|
351
|
+
// received non-control data will be written to p, and any "out of band"
|
|
352
|
+
// control data will be written to oob. The flags are passed to recvmsg.
|
|
353
|
+
//
|
|
354
|
+
// The results are:
|
|
355
|
+
// - n is the number of non-control data bytes read into p
|
|
356
|
+
// - oobn is the number of control data bytes read into oob; this may be interpreted using [ParseSocketControlMessage]
|
|
357
|
+
// - recvflags is flags returned by recvmsg
|
|
358
|
+
// - from is the address of the sender
|
|
359
|
+
//
|
|
360
|
+
// If the underlying socket type is not SOCK_DGRAM, a received message
|
|
361
|
+
// containing oob data and a single '\0' of non-control data is treated as if
|
|
362
|
+
// the message contained only control data, i.e. n will be zero on return.
|
|
363
|
+
func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
364
|
+
var iov [1]Iovec
|
|
365
|
+
if len(p) > 0 {
|
|
366
|
+
iov[0].Base = &p[0]
|
|
367
|
+
iov[0].SetLen(len(p))
|
|
368
|
+
}
|
|
369
|
+
var rsa RawSockaddrAny
|
|
370
|
+
n, oobn, recvflags, err = recvmsgRaw(fd, iov[:], oob, flags, &rsa)
|
|
371
|
+
// source address is only specified if the socket is unconnected
|
|
372
|
+
if rsa.Addr.Family != AF_UNSPEC {
|
|
373
|
+
from, err = anyToSockaddr(fd, &rsa)
|
|
374
|
+
}
|
|
375
|
+
return
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
// RecvmsgBuffers receives a message from a socket using the recvmsg system
|
|
379
|
+
// call. This function is equivalent to Recvmsg, but non-control data read is
|
|
380
|
+
// scattered into the buffers slices.
|
|
381
|
+
func RecvmsgBuffers(fd int, buffers [][]byte, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
382
|
+
iov := make([]Iovec, len(buffers))
|
|
383
|
+
for i := range buffers {
|
|
384
|
+
if len(buffers[i]) > 0 {
|
|
385
|
+
iov[i].Base = &buffers[i][0]
|
|
386
|
+
iov[i].SetLen(len(buffers[i]))
|
|
387
|
+
} else {
|
|
388
|
+
iov[i].Base = (*byte)(unsafe.Pointer(&_zero))
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
var rsa RawSockaddrAny
|
|
392
|
+
n, oobn, recvflags, err = recvmsgRaw(fd, iov, oob, flags, &rsa)
|
|
393
|
+
if err == nil && rsa.Addr.Family != AF_UNSPEC {
|
|
394
|
+
from, err = anyToSockaddr(fd, &rsa)
|
|
395
|
+
}
|
|
396
|
+
return
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// Sendmsg sends a message on a socket to an address using the sendmsg system
|
|
400
|
+
// call. This function is equivalent to SendmsgN, but does not return the
|
|
401
|
+
// number of bytes actually sent.
|
|
402
|
+
func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
|
|
403
|
+
_, err = SendmsgN(fd, p, oob, to, flags)
|
|
404
|
+
return
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
// SendmsgN sends a message on a socket to an address using the sendmsg system
|
|
408
|
+
// call. p contains the non-control data to send, and oob contains the "out of
|
|
409
|
+
// band" control data. The flags are passed to sendmsg. The number of
|
|
410
|
+
// non-control bytes actually written to the socket is returned.
|
|
411
|
+
//
|
|
412
|
+
// Some socket types do not support sending control data without accompanying
|
|
413
|
+
// non-control data. If p is empty, and oob contains control data, and the
|
|
414
|
+
// underlying socket type is not SOCK_DGRAM, p will be treated as containing a
|
|
415
|
+
// single '\0' and the return value will indicate zero bytes sent.
|
|
416
|
+
//
|
|
417
|
+
// The Go function Recvmsg, if called with an empty p and a non-empty oob,
|
|
418
|
+
// will read and ignore this additional '\0'. If the message is received by
|
|
419
|
+
// code that does not use Recvmsg, or that does not use Go at all, that code
|
|
420
|
+
// will need to be written to expect and ignore the additional '\0'.
|
|
421
|
+
//
|
|
422
|
+
// If you need to send non-empty oob with p actually empty, and if the
|
|
423
|
+
// underlying socket type supports it, you can do so via a raw system call as
|
|
424
|
+
// follows:
|
|
425
|
+
//
|
|
426
|
+
// msg := &unix.Msghdr{
|
|
427
|
+
// Control: &oob[0],
|
|
428
|
+
// }
|
|
429
|
+
// msg.SetControllen(len(oob))
|
|
430
|
+
// n, _, errno := unix.Syscall(unix.SYS_SENDMSG, uintptr(fd), uintptr(unsafe.Pointer(msg)), flags)
|
|
431
|
+
func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
432
|
+
var iov [1]Iovec
|
|
433
|
+
if len(p) > 0 {
|
|
434
|
+
iov[0].Base = &p[0]
|
|
435
|
+
iov[0].SetLen(len(p))
|
|
436
|
+
}
|
|
437
|
+
var ptr unsafe.Pointer
|
|
438
|
+
var salen _Socklen
|
|
439
|
+
if to != nil {
|
|
440
|
+
ptr, salen, err = to.sockaddr()
|
|
441
|
+
if err != nil {
|
|
442
|
+
return 0, err
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
return sendmsgN(fd, iov[:], oob, ptr, salen, flags)
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// SendmsgBuffers sends a message on a socket to an address using the sendmsg
|
|
449
|
+
// system call. This function is equivalent to SendmsgN, but the non-control
|
|
450
|
+
// data is gathered from buffers.
|
|
451
|
+
func SendmsgBuffers(fd int, buffers [][]byte, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
452
|
+
iov := make([]Iovec, len(buffers))
|
|
453
|
+
for i := range buffers {
|
|
454
|
+
if len(buffers[i]) > 0 {
|
|
455
|
+
iov[i].Base = &buffers[i][0]
|
|
456
|
+
iov[i].SetLen(len(buffers[i]))
|
|
457
|
+
} else {
|
|
458
|
+
iov[i].Base = (*byte)(unsafe.Pointer(&_zero))
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
var ptr unsafe.Pointer
|
|
462
|
+
var salen _Socklen
|
|
463
|
+
if to != nil {
|
|
464
|
+
ptr, salen, err = to.sockaddr()
|
|
465
|
+
if err != nil {
|
|
466
|
+
return 0, err
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
return sendmsgN(fd, iov, oob, ptr, salen, flags)
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
func Send(s int, buf []byte, flags int) (err error) {
|
|
473
|
+
return sendto(s, buf, flags, nil, 0)
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) {
|
|
477
|
+
var ptr unsafe.Pointer
|
|
478
|
+
var salen _Socklen
|
|
479
|
+
if to != nil {
|
|
480
|
+
ptr, salen, err = to.sockaddr()
|
|
481
|
+
if err != nil {
|
|
482
|
+
return err
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
return sendto(fd, p, flags, ptr, salen)
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
func SetsockoptByte(fd, level, opt int, value byte) (err error) {
|
|
489
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(&value), 1)
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
func SetsockoptInt(fd, level, opt int, value int) (err error) {
|
|
493
|
+
var n = int32(value)
|
|
494
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(&n), 4)
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error) {
|
|
498
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(&value[0]), 4)
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error) {
|
|
502
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPMreq)
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error) {
|
|
506
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPv6Mreq)
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error {
|
|
510
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(filter), SizeofICMPv6Filter)
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) {
|
|
514
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(l), SizeofLinger)
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
func SetsockoptString(fd, level, opt int, s string) (err error) {
|
|
518
|
+
var p unsafe.Pointer
|
|
519
|
+
if len(s) > 0 {
|
|
520
|
+
p = unsafe.Pointer(&[]byte(s)[0])
|
|
521
|
+
}
|
|
522
|
+
return setsockopt(fd, level, opt, p, uintptr(len(s)))
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
|
|
526
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
func SetsockoptUint64(fd, level, opt int, value uint64) (err error) {
|
|
530
|
+
return setsockopt(fd, level, opt, unsafe.Pointer(&value), 8)
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
func Socket(domain, typ, proto int) (fd int, err error) {
|
|
534
|
+
if domain == AF_INET6 && SocketDisableIPv6 {
|
|
535
|
+
return -1, EAFNOSUPPORT
|
|
536
|
+
}
|
|
537
|
+
fd, err = socket(domain, typ, proto)
|
|
538
|
+
return
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
func Socketpair(domain, typ, proto int) (fd [2]int, err error) {
|
|
542
|
+
var fdx [2]int32
|
|
543
|
+
err = socketpair(domain, typ, proto, &fdx)
|
|
544
|
+
if err == nil {
|
|
545
|
+
fd[0] = int(fdx[0])
|
|
546
|
+
fd[1] = int(fdx[1])
|
|
547
|
+
}
|
|
548
|
+
return
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
var ioSync int64
|
|
552
|
+
|
|
553
|
+
func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
|
|
554
|
+
|
|
555
|
+
func SetNonblock(fd int, nonblocking bool) (err error) {
|
|
556
|
+
flag, err := fcntl(fd, F_GETFL, 0)
|
|
557
|
+
if err != nil {
|
|
558
|
+
return err
|
|
559
|
+
}
|
|
560
|
+
if (flag&O_NONBLOCK != 0) == nonblocking {
|
|
561
|
+
return nil
|
|
562
|
+
}
|
|
563
|
+
if nonblocking {
|
|
564
|
+
flag |= O_NONBLOCK
|
|
565
|
+
} else {
|
|
566
|
+
flag &= ^O_NONBLOCK
|
|
567
|
+
}
|
|
568
|
+
_, err = fcntl(fd, F_SETFL, flag)
|
|
569
|
+
return err
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
// Exec calls execve(2), which replaces the calling executable in the process
|
|
573
|
+
// tree. argv0 should be the full path to an executable ("/bin/ls") and the
|
|
574
|
+
// executable name should also be the first argument in argv (["ls", "-l"]).
|
|
575
|
+
// envv are the environment variables that should be passed to the new
|
|
576
|
+
// process (["USER=go", "PWD=/tmp"]).
|
|
577
|
+
func Exec(argv0 string, argv []string, envv []string) error {
|
|
578
|
+
return syscall.Exec(argv0, argv, envv)
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// Lutimes sets the access and modification times tv on path. If path refers to
|
|
582
|
+
// a symlink, it is not dereferenced and the timestamps are set on the symlink.
|
|
583
|
+
// If tv is nil, the access and modification times are set to the current time.
|
|
584
|
+
// Otherwise tv must contain exactly 2 elements, with access time as the first
|
|
585
|
+
// element and modification time as the second element.
|
|
586
|
+
func Lutimes(path string, tv []Timeval) error {
|
|
587
|
+
if tv == nil {
|
|
588
|
+
return UtimesNanoAt(AT_FDCWD, path, nil, AT_SYMLINK_NOFOLLOW)
|
|
589
|
+
}
|
|
590
|
+
if len(tv) != 2 {
|
|
591
|
+
return EINVAL
|
|
592
|
+
}
|
|
593
|
+
ts := []Timespec{
|
|
594
|
+
NsecToTimespec(TimevalToNsec(tv[0])),
|
|
595
|
+
NsecToTimespec(TimevalToNsec(tv[1])),
|
|
596
|
+
}
|
|
597
|
+
return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW)
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
// emptyIovecs reports whether there are no bytes in the slice of Iovec.
|
|
601
|
+
func emptyIovecs(iov []Iovec) bool {
|
|
602
|
+
for i := range iov {
|
|
603
|
+
if iov[i].Len > 0 {
|
|
604
|
+
return false
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
return true
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
// Setrlimit sets a resource limit.
|
|
611
|
+
func Setrlimit(resource int, rlim *Rlimit) error {
|
|
612
|
+
// Just call the syscall version, because as of Go 1.21
|
|
613
|
+
// it will affect starting a new process.
|
|
614
|
+
return syscall.Setrlimit(resource, (*syscall.Rlimit)(rlim))
|
|
615
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright 2016 The Go Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
//go:build (darwin || dragonfly || freebsd || (linux && !ppc64 && !ppc64le) || netbsd || openbsd || solaris) && gc
|
|
6
|
+
|
|
7
|
+
package unix
|
|
8
|
+
|
|
9
|
+
import "syscall"
|
|
10
|
+
|
|
11
|
+
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
12
|
+
func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
13
|
+
func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
14
|
+
func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright 2018 The Go Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
//go:build linux && (ppc64le || ppc64) && gc
|
|
6
|
+
|
|
7
|
+
package unix
|
|
8
|
+
|
|
9
|
+
import "syscall"
|
|
10
|
+
|
|
11
|
+
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
|
|
12
|
+
return syscall.Syscall(trap, a1, a2, a3)
|
|
13
|
+
}
|
|
14
|
+
func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
|
|
15
|
+
return syscall.Syscall6(trap, a1, a2, a3, a4, a5, a6)
|
|
16
|
+
}
|
|
17
|
+
func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
|
|
18
|
+
return syscall.RawSyscall(trap, a1, a2, a3)
|
|
19
|
+
}
|
|
20
|
+
func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
|
|
21
|
+
return syscall.RawSyscall6(trap, a1, a2, a3, a4, a5, a6)
|
|
22
|
+
}
|