AuthrsBridge_ffi.h (695B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #ifndef mozilla_dom_AuthrsBridge_ffi_h 6 #define mozilla_dom_AuthrsBridge_ffi_h 7 8 // TODO(Bug 1850592): Autogenerate this with cbindgen. 9 10 #include "nsTArray.h" 11 12 class nsIWebAuthnAttObj; 13 class nsIWebAuthnService; 14 15 extern "C" { 16 17 nsresult authrs_service_constructor(nsIWebAuthnService** result); 18 19 nsresult authrs_webauthn_att_obj_constructor( 20 const nsTArray<uint8_t>& attestation, bool anonymize, 21 nsIWebAuthnAttObj** result); 22 23 } // extern "C" 24 25 #endif // mozilla_dom_AuthrsBridge_ffi_h