mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	some commenting
change alogrithm for checking for configuration files git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@273 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									2aad9e3ae2
								
							
						
					
					
						commit
						5844a33f0b
					
				
					 9 changed files with 156 additions and 84 deletions
				
			
		| 
						 | 
				
			
			@ -22,13 +22,15 @@
 | 
			
		|||
  USA.
 | 
			
		||||
***/
 | 
			
		||||
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
struct pa_config_item {
 | 
			
		||||
    const char *lvalue;
 | 
			
		||||
    int (*parse)(const char *filename, unsigned line, const char *lvalue, const char *rvalue, void *data, void *userdata);
 | 
			
		||||
    void *data;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
int pa_config_parse(const char *filename, const struct pa_config_item *t, void *userdata);
 | 
			
		||||
int pa_config_parse(const char *filename, FILE *f, const struct pa_config_item *t, void *userdata);
 | 
			
		||||
 | 
			
		||||
int pa_config_parse_int(const char *filename, unsigned line, const char *lvalue, const char *rvalue, void *data, void *userdata);
 | 
			
		||||
int pa_config_parse_bool(const char *filename, unsigned line, const char *lvalue, const char *rvalue, void *data, void *userdata);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue