Ignore:
Timestamp:
Feb 18, 2011, 12:36:16 AM (11 years ago)
Author:
jch
Message:

Export uTP send_to callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-utp.c

    r11926 r11932  
    7676}
    7777
    78 static void
    79 send_to(void *closure, const unsigned char *buf, size_t buflen,
    80         const struct sockaddr *to, socklen_t tolen)
     78void
     79tr_utpSendTo(void *closure, const unsigned char *buf, size_t buflen,
     80             const struct sockaddr *to, socklen_t tolen)
    8181{
    8282    tr_session *ss = (tr_session*)closure;
     
    116116    }
    117117
    118     return UTP_IsIncomingUTP(incoming, send_to, ss,
     118    return UTP_IsIncomingUTP(incoming, tr_utpSendTo, ss,
    119119                             buf, buflen, from, fromlen);
    120120}
Note: See TracChangeset for help on using the changeset viewer.