102 lines
2.3 KiB
C
102 lines
2.3 KiB
C
/***********************************************************************
|
|
*
|
|
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; version 2.1
|
|
* of the License.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, Novell, Inc.
|
|
*
|
|
* To contact Novell about this file by physical or electronic mail,
|
|
* you may find current contact information at www.novell.com.
|
|
*
|
|
***********************************************************************/
|
|
|
|
|
|
#if ! defined ( NWMSG_H )
|
|
#define NWMSG_H
|
|
|
|
#if ! defined ( NWCALDEF_H )
|
|
# include "nwcaldef.h"
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
N_EXTERN_LIBRARY( NWCCODE )
|
|
NWDisableBroadcasts
|
|
(
|
|
NWCONN_HANDLE conn
|
|
);
|
|
|
|
N_EXTERN_LIBRARY( NWCCODE )
|
|
NWEnableBroadcasts
|
|
(
|
|
NWCONN_HANDLE conn
|
|
);
|
|
|
|
N_EXTERN_LIBRARY( NWCCODE )
|
|
NWSendBroadcastMessage
|
|
(
|
|
NWCONN_HANDLE conn,
|
|
const nstr8 N_FAR * message,
|
|
nuint16 connCount,
|
|
const nuint16 N_FAR * connList,
|
|
pnuint8 resultList
|
|
);
|
|
|
|
N_EXTERN_LIBRARY( NWCCODE )
|
|
NWGetBroadcastMessage
|
|
(
|
|
NWCONN_HANDLE conn,
|
|
pnstr8 message
|
|
);
|
|
|
|
N_EXTERN_LIBRARY( NWCCODE )
|
|
NWSetBroadcastMode
|
|
(
|
|
NWCONN_HANDLE conn,
|
|
nuint16 mode
|
|
);
|
|
|
|
N_EXTERN_LIBRARY( NWCCODE )
|
|
NWBroadcastToConsole
|
|
(
|
|
NWCONN_HANDLE conn,
|
|
const nstr8 N_FAR * message
|
|
);
|
|
|
|
N_EXTERN_LIBRARY( NWCCODE )
|
|
NWSendConsoleBroadcast
|
|
(
|
|
NWCONN_HANDLE conn,
|
|
const nstr8 N_FAR * message,
|
|
nuint16 connCount,
|
|
pnuint16 connList
|
|
);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/* The NLM LibC x-plat libraries do not support obsolete apis
|
|
*/
|
|
#include <stddef.h>
|
|
#if !defined(__NOVELL_LIBC__)
|
|
#ifdef INCLUDE_OBSOLETE
|
|
#include "obsolete/o_msg.h"
|
|
#endif
|
|
#endif /* !defined(__NOVELL_LIBC__) */
|
|
|
|
#endif
|