mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
(trunk) minor commit: sync the .h licenses with their counterpart .c licenses
This commit is contained in:
@@ -1,26 +1,14 @@
|
|||||||
/******************************************************************************
|
/*
|
||||||
|
* This file Copyright (C) 2007-2009 Charles Kerr <charles@transmissionbt.com>
|
||||||
|
*
|
||||||
|
* This file is licensed by the GPL version 2. Works owned by the
|
||||||
|
* Transmission project are granted a special exemption to clause 2(b)
|
||||||
|
* so that the bulk of its code can remain under the MIT license.
|
||||||
|
* This exemption does not extend to derived works not owned by
|
||||||
|
* the Transmission project.
|
||||||
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*/
|
||||||
* Copyright (c) 2006-2008 Transmission authors and contributors
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
|
||||||
* to deal in the Software without restriction, including without limitation
|
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef TR_ICON_H
|
#ifndef TR_ICON_H
|
||||||
#define TR_ICON_H
|
#define TR_ICON_H
|
||||||
|
|||||||
@@ -31,10 +31,6 @@
|
|||||||
|
|
||||||
#include "transmission.h"
|
#include "transmission.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct tr_benc;
|
struct tr_benc;
|
||||||
|
|
||||||
int tr_metainfoParse( const tr_session * session,
|
int tr_metainfoParse( const tr_session * session,
|
||||||
@@ -47,8 +43,4 @@ void tr_metainfoRemoveSaved( const tr_session * session,
|
|||||||
void tr_metainfoMigrate( tr_session * session,
|
void tr_metainfoMigrate( tr_session * session,
|
||||||
tr_info * inf );
|
tr_info * inf );
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,26 +1,14 @@
|
|||||||
/******************************************************************************
|
/*
|
||||||
|
* This file Copyright (C) 2008-2009 Charles Kerr <charles@transmissionbt.com>
|
||||||
|
*
|
||||||
|
* This file is licensed by the GPL version 2. Works owned by the
|
||||||
|
* Transmission project are granted a special exemption to clause 2(b)
|
||||||
|
* so that the bulk of its code can remain under the MIT license.
|
||||||
|
* This exemption does not extend to derived works not owned by
|
||||||
|
* the Transmission project.
|
||||||
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*/
|
||||||
* Copyright (c) 2005-2008 Transmission authors and contributors
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
|
||||||
* to deal in the Software without restriction, including without limitation
|
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef __TRANSMISSION__
|
#ifndef __TRANSMISSION__
|
||||||
#error only libtransmission should #include this header.
|
#error only libtransmission should #include this header.
|
||||||
|
|||||||
@@ -1,29 +1,17 @@
|
|||||||
/******************************************************************************
|
/*
|
||||||
|
* This file Copyright (C) 2008-2009 Charles Kerr <charles@transmissionbt.com>
|
||||||
|
*
|
||||||
|
* This file is licensed by the GPL version 2. Works owned by the
|
||||||
|
* Transmission project are granted a special exemption to clause 2(b)
|
||||||
|
* so that the bulk of its code can remain under the MIT license.
|
||||||
|
* This exemption does not extend to derived works not owned by
|
||||||
|
* the Transmission project.
|
||||||
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*/
|
||||||
* This file Copyright (C) 2007-2009 Charles Kerr <charles@transmissionbt.com>
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
|
||||||
* to deal in the Software without restriction, including without limitation
|
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef __TRANSMISSION__
|
#ifndef __TRANSMISSION__
|
||||||
#error only libtransmission should #include this header.
|
#error only libtransmission should #include this header.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _TR_PTR_ARRAY_H_
|
#ifndef _TR_PTR_ARRAY_H_
|
||||||
|
|||||||
@@ -1,29 +1,17 @@
|
|||||||
/******************************************************************************
|
/*
|
||||||
|
* This file Copyright (C) 2008-2009 Charles Kerr <charles@transmissionbt.com>
|
||||||
|
*
|
||||||
|
* This file is licensed by the GPL version 2. Works owned by the
|
||||||
|
* Transmission project are granted a special exemption to clause 2(b)
|
||||||
|
* so that the bulk of its code can remain under the MIT license.
|
||||||
|
* This exemption does not extend to derived works not owned by
|
||||||
|
* the Transmission project.
|
||||||
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*/
|
||||||
* Copyright (c) 2005-2008 Transmission authors and contributors
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
|
||||||
* to deal in the Software without restriction, including without limitation
|
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef __TRANSMISSION__
|
#ifndef __TRANSMISSION__
|
||||||
#error only libtransmission should #include this header.
|
#error only libtransmission should #include this header.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TR_INTERNAL_H
|
#ifndef TR_INTERNAL_H
|
||||||
|
|||||||
@@ -1,25 +1,13 @@
|
|||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2008-2009 Charles Kerr <charles@transmissionbt.com>
|
* This file Copyright (C) 2008-2009 Charles Kerr <charles@transmissionbt.com>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* This file is licensed by the GPL version 2. Works owned by the
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* Transmission project are granted a special exemption to clause 2(b)
|
||||||
* to deal in the Software without restriction, including without limitation
|
* so that the bulk of its code can remain under the MIT license.
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* This exemption does not extend to derived works not owned by
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* the Transmission project.
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in
|
* $Id$
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*
|
|
||||||
* $Id:$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TR_GETOPT_H
|
#ifndef TR_GETOPT_H
|
||||||
|
|||||||
Reference in New Issue
Block a user