Changeset 2613

Show
Ignore:
Timestamp:
01/31/06 04:28:47 (3 years ago)
Author:
madcat
Message:

Copyright notice update for 2006.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hydranode/hnbase/bind_placeholders.h

    r1745 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/config.cpp

    r2451 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/config.h

    r2495 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/endian.h

    r1745 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/event.h

    r2533 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/eventbase.cpp

    r2532 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/eventbase.h

    r2483 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/fwd.h

    r2450 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    4747 
    4848        /** 
    49          * Traits class for choosing the underlying implementation based  
    50          * on socket type and protocol. The primary template of this class is  
    51          * not implemented. Instead, one of the specializations are expected to  
     49         * Traits class for choosing the underlying implementation based 
     50         * on socket type and protocol. The primary template of this class is 
     51         * not implemented. Instead, one of the specializations are expected to 
    5252         * be chosen, which define the actual underlying implementation type. If 
    53          * no possible specialization could be found, a compile-time error  
     53         * no possible specialization could be found, a compile-time error 
    5454         * occours. 
    5555         */ 
     
    7171 
    7272template< 
    73         typename Module,  
    74         typename Type,  
     73        typename Module, 
     74        typename Type, 
    7575        typename Protocol = Socket::TCP, 
    7676        typename Impl = typename Socket::Implement<Type, Protocol>::Impl 
  • hydranode/hnbase/hash.cpp

    r1745 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/hash.h

    r2389 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/hostinfo.cpp

    r2535 r2613  
    11/* 
    2  *  Copyright (C) 2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2005-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    3838} 
    3939 
    40 HostInfo::HostInfo(const std::string &name, HandlerType handler)  
     40HostInfo::HostInfo(const std::string &name, HandlerType handler) 
    4141: m_name(name), m_error(HI_NOERROR), m_handler(handler) {} 
    4242 
  • hydranode/hnbase/hostinfo.h

    r2535 r2613  
    11/* 
    2  *  Copyright (C) 2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2005-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    4545class HNBASE_EXPORT HostInfo : public ThreadWork { 
    4646public: 
    47         enum ErrorState {  
    48                 HI_NOERROR    = 0,  
    49                 HI_NOTFOUND   = HOST_NOT_FOUND,  
     47        enum ErrorState { 
     48                HI_NOERROR    = 0, 
     49                HI_NOTFOUND   = HOST_NOT_FOUND, 
    5050                HI_NODATA     = NO_ADDRESS, 
    51                 HI_NORECOVERY = NO_DATA,  
     51                HI_NORECOVERY = NO_DATA, 
    5252                HI_TRYAGAIN   = TRY_AGAIN 
    5353        }; 
     
    8787                ResolverThread(); 
    8888                static ResolverThread& instance(); 
    89                 std::string error(HostInfo::ErrorState err) {  
    90                         return m_errors[err];  
     89                std::string error(HostInfo::ErrorState err) { 
     90                        return m_errors[err]; 
    9191                } 
    9292        private: 
  • hydranode/hnbase/ipv4addr.cpp

    r1858 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/ipv4addr.h

    r1858 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/lambda_placeholders.h

    r1745 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/log.cpp

    r2604 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    138138                        } 
    139139                        WriteConsole( 
    140                                 GetStdHandle(STD_ERROR_HANDLE),  
     140                                GetStdHandle(STD_ERROR_HANDLE), 
    141141                                tmp.c_str(), tmp.size(), &cWritten, NULL 
    142142                        ); 
     
    156156        if (tmp.size()) { 
    157157                WriteConsole( 
    158                         GetStdHandle(STD_ERROR_HANDLE),  
     158                        GetStdHandle(STD_ERROR_HANDLE), 
    159159                        tmp.c_str(), tmp.size(), &cWritten, NULL 
    160160                        ); 
  • hydranode/hnbase/log.h

    r2604 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    383383                return m_traceMasks.find(mask) != m_traceMasks.end(); 
    384384        } 
    385          
     385 
    386386        /** 
    387387         * When other code uses std::cerr or std::cout, aquire this mutex 
  • hydranode/hnbase/object.cpp

    r2447 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/object.h

    r2447 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/osdep.h

    r2604 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/pch.h

    r1745 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/prefs.cpp

    r1745 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/prefs.h

    r1745 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/range.h

    r2056 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/rangelist.h

    r2405 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/schedbase.cpp

    r2604 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    157157        } 
    158158 
    159         // besides the fact that unlimited uploadrate causes really bad  
     159        // besides the fact that unlimited uploadrate causes really bad 
    160160        // performance on DSL links, there are also a LOT of problems in 
    161161        // handling unlimited uploadrate in upload-slot management code, so 
  • hydranode/hnbase/schedbase.h

    r2382 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/scheduler.h

    r2400 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/signals.cpp

    r2563 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/sockets.h

    r2606 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    242242         * @param t      Timeout, in milliseconds 
    243243         */ 
    244         void setTimeout(uint32_t t) {  
    245                 m_timeout = EventMain::instance().getTick() + t;  
     244        void setTimeout(uint32_t t) { 
     245                m_timeout = EventMain::instance().getTick() + t; 
    246246        } 
    247247 
     
    609609 
    610610MSVC_ONLY(extern "C" {) 
    611 extern HNBASE_EXPORT _Endl Endl;  
     611extern HNBASE_EXPORT _Endl Endl; 
    612612MSVC_ONLY(}) 
    613613 
  • hydranode/hnbase/speedmeter.cpp

    r1911 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/speedmeter.h

    r2483 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/ssocket.h

    r2561 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
     
    4242 */ 
    4343template< 
    44         typename Module,  
    45         typename Type,  
     44        typename Module, 
     45        typename Type, 
    4646        typename Protocol,/* Socket::TCP */ 
    4747        typename Impl     /* typename Socket::Implement<Type, Protocol>::Impl */ 
  • hydranode/hnbase/test/test-config.cpp

    r2481 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/test/test-event.cpp

    r2533 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/test/test-hash.cpp

    r1846 r2613  
    11/* 
    2  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net> 
     2 *  Copyright (C) 2004-2006 Alo Sarv <madcat_@users.sourceforge.net> 
    33 * 
    44 *  This program is free software; you can redistribute it and/or modify 
  • hydranode/hnbase/test/test-log.cpp

    r1846 <