This also bumps the stable nixpkgs to 20.09 as of 2020-11-21, because there is some breakage in the git build related to the netrc credentials helper which someone has taken care of in nixpkgs. The stable channel is not used for anything other than git, so this should be fine. Change-Id: I3575a19dab09e1e9556cf8231d717de9890484fb
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			328 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			328 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef SERVE_H
 | |
| #define SERVE_H
 | |
| 
 | |
| struct strvec;
 | |
| int has_capability(const struct strvec *keys, const char *capability,
 | |
| 		   const char **value);
 | |
| 
 | |
| struct serve_options {
 | |
| 	unsigned advertise_capabilities;
 | |
| 	unsigned stateless_rpc;
 | |
| };
 | |
| #define SERVE_OPTIONS_INIT { 0 }
 | |
| void serve(struct serve_options *options);
 | |
| 
 | |
| #endif /* SERVE_H */
 |