mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	rename hashset to hashmap
add module arguments parse in modargs.c make module-pipe-sink use it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@61 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									ccfd55420e
								
							
						
					
					
						commit
						a96ed347a3
					
				
					 10 changed files with 350 additions and 76 deletions
				
			
		
							
								
								
									
										16
									
								
								src/hashmap.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/hashmap.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
#ifndef foohashmaphfoo
 | 
			
		||||
#define foohashmaphfoo
 | 
			
		||||
 | 
			
		||||
struct pa_hashmap;
 | 
			
		||||
 | 
			
		||||
struct pa_hashmap *pa_hashmap_new(unsigned (*hash_func) (const void *p), int (*compare_func) (const void*a, const void*b));
 | 
			
		||||
void pa_hashmap_free(struct pa_hashmap*, void (*free_func)(void *p, void *userdata), void *userdata);
 | 
			
		||||
 | 
			
		||||
int pa_hashmap_put(struct pa_hashmap *h, const void *key, void *value);
 | 
			
		||||
void* pa_hashmap_get(struct pa_hashmap *h, const void *key);
 | 
			
		||||
 | 
			
		||||
int pa_hashmap_remove(struct pa_hashmap *h, const void *key);
 | 
			
		||||
 | 
			
		||||
unsigned pa_hashmap_ncontents(struct pa_hashmap *h);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue