Solaris/autoconf patch from Jonathan Abbey <jonabbey@ganymeta.org>

This commit is contained in:
pdw
2003-06-06 22:42:35 +00:00
parent c7429ed887
commit 4089483e6a
15 changed files with 2089 additions and 126 deletions

37
dlcommon.h Normal file
View File

@@ -0,0 +1,37 @@
#ifndef DLCOMMON_H
#define DLCOMMON_H
/*
* Common DLPI Test Suite header file
*
*/
/*
* Maximum control/data buffer size (in long's !!) for getmsg().
*/
#define MAXDLBUF 8192
/*
* Maximum number of seconds we'll wait for any
* particular DLPI acknowledgment from the provider
* after issuing a request.
*/
#define MAXWAIT 15
/*
* Maximum address buffer length.
*/
#define MAXDLADDR 1024
/*
* Handy macro.
*/
#define OFFADDR(s, n) (u_char*)((char*)(s) + (int)(n))
/*
* externs go here
*/
extern void sigalrm();
#endif /* !DLCOMMON_H */