diff options
| author | Vicent Marti <tanoku@gmail.com> | 2010-12-06 23:08:31 +0200 | 
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-12-06 23:08:31 +0200 | 
| commit | f591833095ad9a3bbff42c76531131f7ec6a2954 (patch) | |
| tree | 7cf5fb36907d34036f13f93642e3c2a950e8cebc /src/git2/odb_backend.h | |
| parent | 44908fe763b1a2097b65c86130ac679c458df7d2 (diff) | |
| download | libgit2-f591833095ad9a3bbff42c76531131f7ec6a2954.tar.gz | |
Add license file to all public headers
Yes, the public headers do need our license.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/git2/odb_backend.h')
| -rw-r--r-- | src/git2/odb_backend.h | 33 | 
1 files changed, 32 insertions, 1 deletions
diff --git a/src/git2/odb_backend.h b/src/git2/odb_backend.h index 747f4e97a..9c0c3ad6f 100644 --- a/src/git2/odb_backend.h +++ b/src/git2/odb_backend.h @@ -1,3 +1,27 @@ +/* + * This file is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License, version 2, + * as published by the Free Software Foundation. + * + * In addition to the permissions in the GNU General Public License, + * the authors give you unlimited permission to link the compiled + * version of this file into combinations with other programs, + * and to distribute those combinations without any restriction + * coming from the use of this file.  (The General Public License + * restrictions do apply in other respects; for example, they cover + * modification of the file, and distribution when not linked into + * a combined executable.) + * + * This file is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; see the file COPYING.  If not, write to + * the Free Software Foundation, 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */  #ifndef INCLUDE_git_odb_backend_h__  #define INCLUDE_git_odb_backend_h__ @@ -5,8 +29,16 @@  #include "types.h"  #include "oid.h" +/** + * @file git2/backend.h + * @brief Git custom backend functions + * @defgroup git_backend Git custom backend API + * @ingroup Git + * @{ + */  GIT_BEGIN_DECL +/** An instance for a custom backend */  struct git_odb_backend {  	git_odb *odb; @@ -32,7 +64,6 @@ struct git_odb_backend {  			const git_oid *);  	void (* free)(struct git_odb_backend *); -  };  GIT_END_DECL  | 
