Changeset 7175


Ignore:
Timestamp:
Nov 29, 2008, 4:32:10 PM (12 years ago)
Author:
charles
Message:

(1.4x libT) begin backporting the bandwidth fixes back to the 1.4x branch. pass #1: r7151's header changes

Location:
branches/1.4x/libtransmission
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4x/libtransmission/completion.h

    r6935 r7175  
    2525#ifndef TR_COMPLETION_H
    2626#define TR_COMPLETION_H
     27
     28#ifndef __TRANSMISSION__
     29#error only libtransmission should #include this header.
     30#endif
    2731
    2832#include "transmission.h"
  • branches/1.4x/libtransmission/crypto.h

    r6947 r7175  
    1313#ifndef TR_ENCRYPTION_H
    1414#define TR_ENCRYPTION_H
     15
     16#ifndef __TRANSMISSION__
     17#error only libtransmission should #include this header.
     18#endif
    1519
    1620#include <inttypes.h>
  • branches/1.4x/libtransmission/fastresume.h

    r6795 r7175  
    2323 *****************************************************************************/
    2424
     25#ifndef __TRANSMISSION__
     26#error only libtransmission should #include this header.
     27#endif
     28
    2529#ifndef TR_FAST_RESUME_H
    2630#define TR_FAST_RESUME_H
  • branches/1.4x/libtransmission/fdlimit.h

    r7051 r7175  
    2222 * DEALINGS IN THE SOFTWARE.
    2323 *****************************************************************************/
     24
     25#ifndef __TRANSMISSION__
     26#error only libtransmission should #include this header.
     27#endif
    2428
    2529#include "net.h"
  • branches/1.4x/libtransmission/handshake.h

    r6949 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_HANDSHAKE_H
  • branches/1.4x/libtransmission/inout.h

    r6842 r7175  
    2222 * DEALINGS IN THE SOFTWARE.
    2323 *****************************************************************************/
     24
     25#ifndef __TRANSMISSION__
     26#error only libtransmission should #include this header.
     27#endif
    2428
    2529#ifndef TR_IO_H
  • branches/1.4x/libtransmission/list.h

    r6795 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_LIST_H
  • branches/1.4x/libtransmission/natpmp.h

    r6795 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_NATPMP_H
  • branches/1.4x/libtransmission/peer-msgs.h

    r6882 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_PEER_MSGS_H
  • branches/1.4x/libtransmission/port-forwarding.h

    r6795 r7175  
    2222 * DEALINGS IN THE SOFTWARE.
    2323 *****************************************************************************/
     24
     25#ifndef __TRANSMISSION__
     26#error only libtransmission should #include this header.
     27#endif
    2428
    2529#ifndef SHARED_H
  • branches/1.4x/libtransmission/ptrarray.h

    r6953 r7175  
    2323 *****************************************************************************/
    2424
     25#ifndef __TRANSMISSION__
     26#error only libtransmission should #include this header.
     27#endif
     28
    2529#ifndef _TR_PTR_ARRAY_H_
    2630#define _TR_PTR_ARRAY_H_
     
    3741tr_ptrArray * tr_ptrArrayDup( tr_ptrArray* );
    3842
    39 void          tr_ptrArrayForeach(
    40                         tr_ptrArray*,
    41     PtrArrayForeachFunc func );
     43void          tr_ptrArrayForeach( tr_ptrArray         * array,
     44                                  PtrArrayForeachFunc   func );
    4245
    4346void          tr_ptrArrayFree( tr_ptrArray         * array,
  • branches/1.4x/libtransmission/publish.h

    r6795 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef _TR_PUBLISHER_H_
  • branches/1.4x/libtransmission/ratecontrol.h

    r7069 r7175  
    2323 *****************************************************************************/
    2424
     25#ifndef __TRANSMISSION__
     26#error only libtransmission should #include this header.
     27#endif
     28
    2529#ifndef _TR_RATECONTROL_H_
    2630#define _TR_RATECONTROL_H_
  • branches/1.4x/libtransmission/resume.h

    r6795 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_RESUME_H
  • branches/1.4x/libtransmission/rpc-server.h

    r6825 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_RPC_SERVER_H
  • branches/1.4x/libtransmission/stats.h

    r7039 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_STATS_H
  • branches/1.4x/libtransmission/tracker.h

    r6795 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef _TR_TRACKER_H_
  • branches/1.4x/libtransmission/trevent.h

    r6811 r7175  
    1111 */
    1212
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
     16
    1317#ifndef TR_EVENT_H
     18#define TR_EVENT_H
    1419
    1520#include <stddef.h> /* size_t */
  • branches/1.4x/libtransmission/upnp.h

    r6795 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_UPNP_H
  • branches/1.4x/libtransmission/verify.h

    r6975 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_VERIFY_H
  • branches/1.4x/libtransmission/webseed.h

    r6882 r7175  
    1010 * $Id$
    1111 */
     12
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
    1216
    1317#ifndef TR_WEBSEED_H
Note: See TracChangeset for help on using the changeset viewer.