mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-10-31 13:10:52 +00:00 
			
		
		
		
	 bb742ede3d
			
		
	
	
		bb742ede3d
		
	
	
	
	
		
			
			1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me.
		
			
				
	
	
		
			33 lines
		
	
	
		
			750 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			750 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2009-2011 the libgit2 contributors
 | |
|  *
 | |
|  * This file is part of libgit2, distributed under the GNU GPL v2 with
 | |
|  * a Linking Exception. For full terms see the included COPYING file.
 | |
|  */
 | |
| #ifndef INCLUDE_git_transport_h__
 | |
| #define INCLUDE_git_transport_h__
 | |
| 
 | |
| #include "common.h"
 | |
| #include "types.h"
 | |
| #include "net.h"
 | |
| 
 | |
| /**
 | |
|  * @file git2/transport.h
 | |
|  * @brief Git protocol transport abstraction
 | |
|  * @defgroup git_transport Git protocol transport abstraction
 | |
|  * @ingroup Git
 | |
|  * @{
 | |
|  */
 | |
| GIT_BEGIN_DECL
 | |
| 
 | |
| /**
 | |
|  * Get the appropriate transport for an URL.
 | |
|  * @param tranport the transport for the url
 | |
|  * @param url the url of the repo
 | |
|  */
 | |
| GIT_EXTERN(int) git_transport_new(git_transport **transport, const char *url);
 | |
| 
 | |
| /** @} */
 | |
| GIT_END_DECL
 | |
| #endif
 |