home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / nullprov / nullpdef.h < prev    next >
C/C++ Source or Header  |  1996-05-05  |  924b  |  46 lines

  1. /*++
  2.  
  3. Copyright (c) 1996 Intel Corp
  4.  
  5. Module Name:
  6.  
  7.     nullpdef.h
  8.  
  9. Abstract:
  10.  
  11.     This  file  provides  common  externally  visible  definitions for the null
  12.     provider.
  13.  
  14. Author:
  15.  
  16.     Paul Drews (Intel) 01-30-1996
  17.  
  18. Notes:
  19.  
  20.     $Revision:   1.1  $
  21.  
  22.     $Modtime:   05 Apr 1996 12:17:12  $
  23.     
  24. Revision History:
  25.  
  26.     most-recent-revision-date email-name
  27.         description
  28.  
  29.     01-30-1996 Paul Drews
  30.         Created
  31. --*/
  32.  
  33. #ifndef _NULLPDEF_
  34. #define _NULLPDEF_
  35.  
  36.  
  37. // Define  the  artificial  "address family" that identifies the null provider.
  38. // This  is  technically  illegal,  since one is supposed to get address family
  39. // identifiers allocated through a clearing house.  But for the purpose of this
  40. // simple  example  it  will  suffice to define one that is some small distance
  41. // past the currently known set.
  42.  
  43. #define AF_SPECIAL_NULL  (AF_MAX + 5)
  44.  
  45. #endif  // _NULLPDEF_
  46.