Change all my 2-clause BSD licenses to the same MIT/X11 license as libtransmission.

This commit is contained in:
Josh Elsasser 2006-08-13 00:26:52 +00:00
parent e128a854ea
commit bc85836809
17 changed files with 391 additions and 459 deletions

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2005-2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/types.h> #include <sys/types.h>
#include <ctype.h> #include <ctype.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2005-2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TG_CONF_H #ifndef TG_CONF_H
#define TG_CONF_H #define TG_CONF_H

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2005-2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2005-2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TG_PREFS_H #ifndef TG_PREFS_H
#define TG_PREFS_H #define TG_PREFS_H

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TG_IO_H #ifndef TG_IO_H
#define TG_IO_H #define TG_IO_H

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TG_IPC_H #ifndef TG_IPC_H
#define TG_IPC_H #define TG_IPC_H

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2005-2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/param.h> #include <sys/param.h>
#include <errno.h> #include <errno.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <string.h> #include <string.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TR_BACKEND_H #ifndef TR_BACKEND_H
#define TR_BACKEND_H #define TR_BACKEND_H

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TR_CELL_RENDERER_PROGRESS_H #ifndef TR_CELL_RENDERER_PROGRESS_H
#define TR_CELL_RENDERER_PROGRESS_H #define TR_CELL_RENDERER_PROGRESS_H

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TR_TORRENT_H #ifndef TR_TORRENT_H
#define TR_TORRENT_H #define TR_TORRENT_H

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2005-2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -1,30 +1,26 @@
/* /******************************************************************************
$Id$ * $Id$
*
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved. * Copyright (c) 2005-2006 Transmission authors and contributors
*
Redistribution and use in source and binary forms, with or without * Permission is hereby granted, free of charge, to any person obtaining a
modification, are permitted provided that the following conditions * copy of this software and associated documentation files (the "Software"),
are met: * to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
1. Redistributions of source code must retain the above copyright * and/or sell copies of the Software, and to permit persons to whom the
notice, this list of conditions and the following disclaimer. * Software is furnished to do so, subject to the following conditions:
2. Redistributions in binary form must reproduce the above copyright *
notice, this list of conditions and the following disclaimer in the * The above copyright notice and this permission notice shall be included in
documentation and/or other materials provided with the distribution. * all copies or substantial portions of the Software.
*
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS "AS IS" AND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * DEALINGS IN THE SOFTWARE.
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *****************************************************************************/
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TG_UTIL_H #ifndef TG_UTIL_H
#define TG_UTIL_H #define TG_UTIL_H