home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / netinfo / lookup_types.h < prev    next >
Text File  |  1992-02-05  |  582b  |  25 lines

  1. /*
  2.  * Lookup protocol definitions - internal to NeXT
  3.  * Copyright (C) 1989 by NeXT, Inc.
  4.  */
  5.  
  6. /*
  7.  * the port to lookupd is obtained through the (internal)
  8.  * _lookupd_port() syscall instead of through the nameserver
  9.  * with LOOKUP_SERVER_NAME as "C Library Lookup"
  10.  */
  11.  
  12. #define UNIT_SIZE 4
  13.  
  14. typedef struct unit {
  15.     char data[UNIT_SIZE];
  16. } unit;
  17.  
  18. #define MAX_INLINE_UNITS 2047
  19. #define MAX_LOOKUP_NAMELEN 256
  20. #define MAX_INLINE_DATA (MAX_INLINE_UNITS * sizeof(unit))
  21.  
  22. typedef char lookup_name[MAX_LOOKUP_NAMELEN];
  23. typedef unit inline_data[MAX_INLINE_UNITS];
  24. typedef char *ooline_data;
  25.