X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libatalk%2Fpap%2Fpap_tickle.c;fp=libatalk%2Fpap%2Fpap_tickle.c;h=0000000000000000000000000000000000000000;hb=58dc122bf1eb03a4f20a82230f818381aa1c77d6;hp=f3a89ffee620931e0e66dda0edde08f73c15b31a;hpb=047e5d82e471f35bd09202e0cf4a142982855058;p=netatalk.git diff --git a/libatalk/pap/pap_tickle.c b/libatalk/pap/pap_tickle.c deleted file mode 100644 index f3a89ffe..00000000 --- a/libatalk/pap/pap_tickle.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * $Id: pap_tickle.c,v 1.4 2002-01-04 04:45:48 sibaz Exp $ - * - * send a tickle - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif /* HAVE_CONFIG_H */ - -void pap_tickle(PAP pap, const u_int8_t connid, struct sockaddr_at *sat) -{ - struct atp_block atpb; - u_int8_t buf[PAP_HDRSIZ]; - - buf[ 0 ] = connid; - buf[ 1 ] = PAP_TICKLE; - buf[ 2 ] = buf[ 3 ] = 0; - - atpb.atp_saddr = sat; - atpb.atp_sreqdata = buf; - atpb.atp_sreqdlen = sizeof(buf); /* bytes in Tickle request */ - atpb.atp_sreqto = 0; /* retry timer */ - atpb.atp_sreqtries = 1; /* retry count */ - if ( atp_sreq( pap->pap_atp, &atpb, 0, 0 ) < 0 ) { - LOG(log_error, logtype_default, "atp_sreq: %m"); - } -}