/*
- * $Id: atp_sreq.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: atp_sreq.c,v 1.5 2002-01-17 06:08:55 srittau Exp $
*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
* All Rights Reserved.
#include "atp_internals.h"
+/*
+ * ah: open atp handle
+ * atpb: parameter block
+ * respcount: buffers available for response
+ * flags: ATP_XO, ATP_TREL
+ */
int
-atp_sreq( ah, atpb, respcount, flags )
- ATP ah; /* open atp handle */
- struct atp_block *atpb; /* parameter block */
- int respcount; /* buffers available for response */
- u_int8_t flags; /* ATP_XO, ATP_TREL?? */
+atp_sreq( ATP ah, struct atp_block *atpb, int respcount, u_int8_t flags )
{
struct atpbuf *req_buf;
int i;
/* send the initial request
*/
#ifdef EBUG
- printf( "\n<%d> atp_sreq: sending a %d byte packet ", getpid(),
+ printf( "\n<%d> atp_sreq: sending a %ld byte packet ", getpid(),
req_buf->atpbuf_dlen );
atp_print_addr( " to", atpb->atp_saddr );
putchar( '\n' );