coreboot-libre-fam15h-rdimm/3rdparty/chromeec/include/mock/rollback_mock.h

23 lines
547 B
C
Raw Normal View History

2024-03-04 11:14:53 +01:00
/* Copyright 2019 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#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 \
{ \
.get_secret_fail = false, \
}
extern struct mock_ctrl_rollback mock_ctrl_rollback;
#endif /* __MOCK_ROLLBACK_MOCK_H */