Commit f5918330 by Vicent Marti

Add license file to all public headers

Yes, the public headers do need our license.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent 44908fe7
/*
* 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_blob_h__ #ifndef INCLUDE_git_blob_h__
#define INCLUDE_git_blob_h__ #define INCLUDE_git_blob_h__
...@@ -6,7 +30,7 @@ ...@@ -6,7 +30,7 @@
#include "oid.h" #include "oid.h"
/** /**
* @file git/blob.h * @file git2/blob.h
* @brief Git blob load and write routines * @brief Git blob load and write routines
* @defgroup git_blob Git blob load and write routines * @defgroup git_blob Git blob load and write routines
* @ingroup Git * @ingroup Git
......
/*
* 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_commit_h__ #ifndef INCLUDE_git_commit_h__
#define INCLUDE_git_commit_h__ #define INCLUDE_git_commit_h__
...@@ -6,7 +30,7 @@ ...@@ -6,7 +30,7 @@
#include "oid.h" #include "oid.h"
/** /**
* @file git/commit.h * @file git2/commit.h
* @brief Git commit parsing, formatting routines * @brief Git commit parsing, formatting routines
* @defgroup git_commit Git commit parsing, formatting routines * @defgroup git_commit Git commit parsing, formatting routines
* @ingroup Git * @ingroup Git
......
/*
* 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_common_h__ #ifndef INCLUDE_git_common_h__
#define INCLUDE_git_common_h__ #define INCLUDE_git_common_h__
...@@ -50,7 +74,7 @@ ...@@ -50,7 +74,7 @@
#endif #endif
/** /**
* @file git/common.h * @file git2/common.h
* @brief Git common platform definitions * @brief Git common platform definitions
* @defgroup git_common Git common platform definitions * @defgroup git_common Git common platform definitions
* @ingroup Git * @ingroup Git
......
/*
* 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_errors_h__ #ifndef INCLUDE_git_errors_h__
#define INCLUDE_git_errors_h__ #define INCLUDE_git_errors_h__
/** /**
* @file git/errors.h * @file git2/errors.h
* @brief Git error handling routines and variables * @brief Git error handling routines and variables
* @ingroup Git * @ingroup Git
* @{ * @{
......
/*
* 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_index_h__ #ifndef INCLUDE_git_index_h__
#define INCLUDE_git_index_h__ #define INCLUDE_git_index_h__
...@@ -5,7 +29,7 @@ ...@@ -5,7 +29,7 @@
#include "types.h" #include "types.h"
/** /**
* @file git/index.h * @file git2/index.h
* @brief Git index parsing and manipulation routines * @brief Git index parsing and manipulation routines
* @defgroup git_index Git index parsing and manipulation routines * @defgroup git_index Git index parsing and manipulation routines
* @ingroup Git * @ingroup Git
......
/*
* 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_object_h__ #ifndef INCLUDE_git_object_h__
#define INCLUDE_git_object_h__ #define INCLUDE_git_object_h__
...@@ -6,7 +30,7 @@ ...@@ -6,7 +30,7 @@
#include "oid.h" #include "oid.h"
/** /**
* @file git/object.h * @file git2/object.h
* @brief Git revision object management routines * @brief Git revision object management routines
* @defgroup git_object Git revision object management routines * @defgroup git_object Git revision object management routines
* @ingroup Git * @ingroup Git
......
/*
* 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_h__ #ifndef INCLUDE_git_odb_h__
#define INCLUDE_git_odb_h__ #define INCLUDE_git_odb_h__
...@@ -6,7 +30,7 @@ ...@@ -6,7 +30,7 @@
#include "oid.h" #include "oid.h"
/** /**
* @file git/odb.h * @file git2/odb.h
* @brief Git object database routines * @brief Git object database routines
* @defgroup git_odb Git object database routines * @defgroup git_odb Git object database routines
* @ingroup Git * @ingroup Git
......
/*
* 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__ #ifndef INCLUDE_git_odb_backend_h__
#define INCLUDE_git_odb_backend_h__ #define INCLUDE_git_odb_backend_h__
...@@ -5,8 +29,16 @@ ...@@ -5,8 +29,16 @@
#include "types.h" #include "types.h"
#include "oid.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 GIT_BEGIN_DECL
/** An instance for a custom backend */
struct git_odb_backend { struct git_odb_backend {
git_odb *odb; git_odb *odb;
...@@ -32,7 +64,6 @@ struct git_odb_backend { ...@@ -32,7 +64,6 @@ struct git_odb_backend {
const git_oid *); const git_oid *);
void (* free)(struct git_odb_backend *); void (* free)(struct git_odb_backend *);
}; };
GIT_END_DECL GIT_END_DECL
......
/*
* 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_oid_h__ #ifndef INCLUDE_git_oid_h__
#define INCLUDE_git_oid_h__ #define INCLUDE_git_oid_h__
/** /**
* @file git/oid.h * @file git2/oid.h
* @brief Git object id routines * @brief Git object id routines
* @defgroup git_oid Git object id routines * @defgroup git_oid Git object id routines
* @ingroup Git * @ingroup Git
......
/*
* 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_repository_h__ #ifndef INCLUDE_git_repository_h__
#define INCLUDE_git_repository_h__ #define INCLUDE_git_repository_h__
...@@ -6,7 +30,7 @@ ...@@ -6,7 +30,7 @@
#include "oid.h" #include "oid.h"
/** /**
* @file git/repository.h * @file git2/repository.h
* @brief Git repository management routines * @brief Git repository management routines
* @defgroup git_repository Git repository management routines * @defgroup git_repository Git repository management routines
* @ingroup Git * @ingroup Git
......
/*
* 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_revwalk_h__ #ifndef INCLUDE_git_revwalk_h__
#define INCLUDE_git_revwalk_h__ #define INCLUDE_git_revwalk_h__
...@@ -5,7 +29,7 @@ ...@@ -5,7 +29,7 @@
#include "types.h" #include "types.h"
/** /**
* @file git/revwalk.h * @file git2/revwalk.h
* @brief Git revision traversal routines * @brief Git revision traversal routines
* @defgroup git_revwalk Git revision traversal routines * @defgroup git_revwalk Git revision traversal routines
* @ingroup Git * @ingroup Git
......
/*
* 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_tag_h__ #ifndef INCLUDE_git_tag_h__
#define INCLUDE_git_tag_h__ #define INCLUDE_git_tag_h__
...@@ -6,7 +30,7 @@ ...@@ -6,7 +30,7 @@
#include "oid.h" #include "oid.h"
/** /**
* @file git/tag.h * @file git2/tag.h
* @brief Git tag parsing routines * @brief Git tag parsing routines
* @defgroup git_tag Git tag management * @defgroup git_tag Git tag management
* @ingroup Git * @ingroup Git
......
/*
* 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_thread_utils_h__ #ifndef INCLUDE_git_thread_utils_h__
#define INCLUDE_git_thread_utils_h__ #define INCLUDE_git_thread_utils_h__
......
/*
* 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_tree_h__ #ifndef INCLUDE_git_tree_h__
#define INCLUDE_git_tree_h__ #define INCLUDE_git_tree_h__
...@@ -6,7 +30,7 @@ ...@@ -6,7 +30,7 @@
#include "oid.h" #include "oid.h"
/** /**
* @file git/tree.h * @file git2/tree.h
* @brief Git tree parsing, loading routines * @brief Git tree parsing, loading routines
* @defgroup git_tree Git tree parsing, loading routines * @defgroup git_tree Git tree parsing, loading routines
* @ingroup Git * @ingroup Git
......
/*
* 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_types_h__ #ifndef INCLUDE_git_types_h__
#define INCLUDE_git_types_h__ #define INCLUDE_git_types_h__
/** /**
* @file git/types.h * @file git2/types.h
* @brief libgit2 base types * @brief libgit2 base types
* @ingroup Git * @ingroup Git
* @{ * @{
......
/*
* 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_zlib_h__ #ifndef INCLUDE_git_zlib_h__
#define INCLUDE_git_zlib_h__ #define INCLUDE_git_zlib_h__
#include <zlib.h> #include <zlib.h>
/** /**
* @file git/zlib.h * @file git2/zlib.h
* @brief Git data compression routines * @brief Git data compression routines
* @defgroup git_zlib Git data compression routines * @defgroup git_zlib Git data compression routines
* @ingroup Git * @ingroup Git
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment