Backed out 2 changesets (bug 1733498) for causing perma Localised repacks build busta...
[gecko.git] / tools / fuzzing / rust / RustFuzzingTargets.h
bloba9c1439598dcca3a22daaf8e69921c539d0b5361
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 /*
7 * Interface definitions for fuzzing rust modules
8 */
10 #ifndef RustFuzzingTargets_h__
11 #define RustFuzzingTargets_h__
13 #include <stddef.h>
14 #include <stdint.h>
16 extern "C" {
18 int fuzz_rkv_db_file(const uint8_t* raw_data, size_t size);
19 int fuzz_rkv_db_name(const uint8_t* raw_data, size_t size);
20 int fuzz_rkv_key_write(const uint8_t* raw_data, size_t size);
21 int fuzz_rkv_val_write(const uint8_t* raw_data, size_t size);
22 int fuzz_rkv_calls(const uint8_t* raw_data, size_t size);
24 } // extern "C"
26 #endif // RustFuzzingTargets_h__