mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-11-04 07:00:39 +01:00 
			
		
		
		
	Change-Id: I3a8a8e59cbed871e0ecf953e547de56c0656e112 Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/89361 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
		
			
				
	
	
		
			17 lines
		
	
	
		
			404 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			404 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * This file is part of the flashrom project.
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: GPL-2.0-only
 | 
						|
 * SPDX-FileCopyrightText: 2022 Google LLC
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef IO_REAL_H
 | 
						|
#define IO_REAL_H
 | 
						|
 | 
						|
/* Detect file io that should not be mocked, for example code coverage writing
 | 
						|
 * gcda files. Call io_mock_register with functions that defer to real io.
 | 
						|
 */
 | 
						|
void maybe_unmock_io(const char* pathname);
 | 
						|
 | 
						|
#endif /* IO_REAL_H */
 |