 a1979469fd
			
		
	
	
		a1979469fd
		
	
	
	
	
		
			
			Add a ".clang-format" file which is pretty close to the rest of wpa_supplicant code base and reformat the binder codebase. Signed-off-by: Roshan Pius <rpius@google.com>
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			530 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			530 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * binder interface for wpa_supplicant daemon
 | |
|  * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
 | |
|  * Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
 | |
|  *
 | |
|  * This software may be distributed under the terms of the BSD license.
 | |
|  * See README for more details.
 | |
|  */
 | |
| 
 | |
| #ifndef BINDER_I_H
 | |
| #define BINDER_I_H
 | |
| 
 | |
| #ifdef _cplusplus
 | |
| extern "C" {
 | |
| #endif // _cplusplus
 | |
| 
 | |
| struct wpas_binder_priv
 | |
| {
 | |
| 	int binder_fd;
 | |
| 	struct wpa_global *global;
 | |
| 	void *binder_manager;
 | |
| };
 | |
| 
 | |
| #ifdef _cplusplus
 | |
| }
 | |
| #endif /* _cplusplus */
 | |
| 
 | |
| #endif /* BINDER_I_H */
 |