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
Wrap
Text File
|
1998-08-19
|
2KB
|
64 lines
/*
* Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved.
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE
* SANTA CRUZ OPERATION INC.
*
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*/
/* $Novell-NWU: $Header: /proj6/ncps/nwu_top/nwnet/include/sys/sap_dos.h,v 1.2 1996/04/05 21:56:17 vtag Exp $ */
/*
/*
* Copyright 1991, 1992 Novell, Inc.
* All Rights Reserved.
*
* This work is subject to U.S. and International copyright laws and
* treaties. No part of this work may be used, practiced, performed,
* copied, distributed, revised, modified, translated, abridged,
* condensed, expanded, collected, compiled, linked, recast,
* transformed or adapted without the prior written consent
* of Novell. Any use or exploitation of this work without
* authorization could subject the perpetrator to criminal and
* civil liability.
*
*/
#ifndef _NET_NW_SAP_DOS__
#define _NET_NW_SAP_DOS__
#ident "@(#)sap_dos.h 1.2"
#ifdef _KERNEL_HEADERS
#include <util/types.h>
#include <nwu/nwnet/include/sap.h>
#else
#include <sys/types.h>
#include <sys/sap.h>
#endif
/*
** The following are SAP API functions are used by processes accessing
** the Sap Server on the local machine.
*/
#if defined( __STDC__) || defined(__cplusplus)
#ifdef __cplusplus
extern "C" {
#endif
extern int AdvertiseService( uint16, char *, uint8 * );
extern int ShutdownSAP( void );
extern int QueryServices( uint16, uint16, uint16, SAP_ID_PACKET * );
#ifdef __cplusplus
}
#endif
#else
extern int AdvertiseService();
extern int ShutdownSAP();
extern int QueryServices();
#endif
#endif /* _NET_NW_SAP_DOS__ */