]> arthur.barton.de Git - netatalk.git/blob - libatalk/pap/pap_sendstatus.c
Removed an unused file.
[netatalk.git] / libatalk / pap / pap_sendstatus.c
1 /*
2  * $Id: pap_sendstatus.c,v 1.3 2001-06-29 14:14:47 rufustfirefly Exp $
3  */
4
5 #ifdef HAVE_CONFIG_H
6 #include "config.h"
7 #endif /* HAVE_CONFIG_H */
8
9 int pap_sendstatus(PAP pap)
10 {
11   struct atp_block atpb; 
12   u_int8_t buf[PAP_HDRSIZ];
13   
14   buf[ 0 ] = 0;
15   buf[ 1 ] = PAP_SENDSTATUS;
16   buf[ 2 ] = buf[ 3 ] = 0;
17   atpb.atp_saddr =&pap->pap_sat;
18   atpb.atp_sreqdata = buf;
19   atpb.atp_sreqdlen = 4;        /* bytes in SendStatus request */
20   atpb.atp_sreqto = 2;          /* retry timer */
21   atpb.atp_sreqtries = 5;               /* retry count */
22   if ( atp_sreq( satp, &atpb, 1, 0 ) < 0 ) {
23     return -1;
24   }
25
26   return 0;
27 }