add: endpoint /tags
fix: leaks from config (now using static length for config strings)
This commit is contained in:
		
							parent
							
								
									0f1cd9c02c
								
							
						
					
					
						commit
						a78815cb32
					
				
					 10 changed files with 147 additions and 16 deletions
				
			
		
							
								
								
									
										9
									
								
								include/endpoints/api_v1_tags.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								include/endpoints/api_v1_tags.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
#ifndef CORE_ENDPOINTS_API_V1_TAGS_H
 | 
			
		||||
#define CORE_ENDPOINTS_API_V1_TAGS_H
 | 
			
		||||
 | 
			
		||||
#include <router.h>
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
api_v1_tags_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
 | 
			
		||||
 | 
			
		||||
#endif /* CORE_ENDPOINTS_API_V1_TAGS_H */
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue