Bug 1874684 - Part 6: Limit day length calculations to safe integers. r=mgaudet
[gecko.git] / dom / webauthn / AuthrsBridge_ffi.h
blob72ca7f31ec99b35c0e541b899b06e9c9dbc25458
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/. */
5 #ifndef mozilla_dom_AuthrsBridge_ffi_h
6 #define mozilla_dom_AuthrsBridge_ffi_h
8 // TODO(Bug 1850592): Autogenerate this with cbindgen.
10 #include "nsTArray.h"
12 class nsIWebAuthnAttObj;
13 class nsIWebAuthnService;
15 extern "C" {
17 nsresult authrs_service_constructor(nsIWebAuthnService** result);
19 nsresult authrs_webauthn_att_obj_constructor(
20 const nsTArray<uint8_t>& attestation, bool anonymize,
21 nsIWebAuthnAttObj** result);
23 } // extern "C"
25 #endif // mozilla_dom_AuthrsBridge_ffi_h