Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
OTCheckNetForNBPName.h
/* |
* OTCheckNetForNBPName.h |
* |
*/ |
#ifndef __OTCHECKNETFORNBPNAME__ |
#define __OTCHECKNETFORNBPNAME__ |
#endif // __OTCHECKNETFORNBPNAME__ |
#define zoneNameSize 33 |
#define numZonesIncrement 50 |
#define kNumZonesToCheckFor 20 |
#define kMaxActiveLookups 30 // maximum number of active lookups at a time. |
#define kMaxToMatch 1 |
#define kDefaultTimeout 5000 // lookup timeout value - 8 seconds |
typedef struct { |
UInt32 flagbits; |
UInt8 zoneName[zoneNameSize]; |
} ZoneBuffer; |
typedef ZoneBuffer *ZoneBufPtr; |
typedef struct { |
TLookupReply lkReply; |
UInt32 index; |
UInt32 lindex; |
} MyLookupReply; |
typedef MyLookupReply *MyLookupReplyPtr; |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14