blob: 890e2539a71b3a9dc587fba1973824711e3cd6ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* Copyright 2019 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/**
* @file
* @brief Controls for the mock rollback block library
*/
#ifndef __MOCK_ROLLBACK_MOCK_H
#define __MOCK_ROLLBACK_MOCK_H
#include <stdbool.h>
struct mock_ctrl_rollback {
bool get_secret_fail;
};
#define MOCK_CTRL_DEFAULT_ROLLBACK \
(struct mock_ctrl_rollback) \
{ \
.get_secret_fail = false, \
}
extern struct mock_ctrl_rollback mock_ctrl_rollback;
#endif /* __MOCK_ROLLBACK_MOCK_H */
|