home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / nwnet / root / usr / include / sys / sap_dos.h / sap_dos
Text File  |  1998-08-19  |  2KB  |  64 lines

  1. /*
  2.  * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  3.  *                                                                         
  4.  *        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  5.  *                   SANTA CRUZ OPERATION INC.                             
  6.  *                                                                         
  7.  *   The copyright notice above does not evidence any actual or intended   
  8.  *   publication of such source code.                                      
  9.  */
  10.  
  11. /* $Novell-NWU: $Header: /proj6/ncps/nwu_top/nwnet/include/sys/sap_dos.h,v 1.2 1996/04/05 21:56:17 vtag Exp $ */
  12.  
  13. /*
  14. /*
  15.  * Copyright 1991, 1992 Novell, Inc. 
  16.  * All Rights Reserved.
  17.  *
  18.  * This work is subject to U.S. and International copyright laws and
  19.  * treaties.  No part of this work may be used, practiced, performed,
  20.  * copied, distributed, revised, modified, translated, abridged,
  21.  * condensed, expanded, collected, compiled, linked, recast,
  22.  * transformed or adapted without the prior written consent
  23.  * of Novell.  Any use or exploitation of this work without
  24.  * authorization could subject the perpetrator to criminal and
  25.  * civil liability.
  26.  *
  27.  */
  28.  
  29. #ifndef _NET_NW_SAP_DOS__
  30. #define _NET_NW_SAP_DOS__
  31.  
  32. #ident "@(#)sap_dos.h    1.2"
  33.  
  34. #ifdef _KERNEL_HEADERS
  35. #include <util/types.h>
  36. #include <nwu/nwnet/include/sap.h>
  37. #else
  38. #include <sys/types.h>
  39. #include <sys/sap.h>
  40. #endif
  41.  
  42. /*
  43. **    The following are SAP API functions are used by processes accessing
  44. **    the Sap Server on the local machine.
  45. */
  46. #if defined( __STDC__) || defined(__cplusplus)
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50. extern int AdvertiseService( uint16, char *, uint8 * );
  51. extern int ShutdownSAP( void );
  52. extern int QueryServices( uint16, uint16, uint16, SAP_ID_PACKET * );
  53. #ifdef __cplusplus
  54. }
  55. #endif
  56.  
  57. #else
  58. extern int AdvertiseService();
  59. extern int ShutdownSAP();
  60. extern int QueryServices();
  61. #endif
  62.  
  63. #endif /* _NET_NW_SAP_DOS__ */
  64.