forked from espressif/esp-protocols
		
	
		
			
	
	
		
			23 lines
		
	
	
		
			557 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			557 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * SPDX-FileCopyrightText: 2024 Roger Light <roger@atchoo.org>
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * SPDX-License-Identifier: EPL-2.0
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * SPDX-FileContributor: 2024 Espressif Systems (Shanghai) CO LTD
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								#include <ctype.h>
							 | 
						||
| 
								 | 
							
								#include "mosquitto.h"
							 | 
						||
| 
								 | 
							
								#include "mosquitto_broker_internal.h"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Dummy implementation of file access
							 | 
						||
| 
								 | 
							
								// This needs to be implemented if we need to load/store config from files
							 | 
						||
| 
								 | 
							
								FILE *mosquitto__fopen(const char *path, const char *mode, bool restrict_read)
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    return NULL;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								char *fgets_extending(char **buf, int *buflen, FILE *stream)
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    return NULL;
							 | 
						||
| 
								 | 
							
								}
							 |