75 lines
2.1 KiB
C
75 lines
2.1 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 ( NWNDSCON_H )
|
|
#define NWNDSCON_H
|
|
|
|
#if ! defined ( NTYPES_H )
|
|
#include "ntypes.h"
|
|
#endif
|
|
|
|
#if ! defined ( NWCALDEF_H )
|
|
#include "nwcaldef.h"
|
|
#endif
|
|
|
|
#define NWNDS_CONNECTION 0x0001
|
|
#define NWNDS_LICENSED 0x0002
|
|
#define NWNDS_AUTHENTICATED 0x0004
|
|
#define NWNDS_PACKET_BURST_AVAIL 0x0001
|
|
#define NWNDS_NEEDED_MAX_IO 0x0040
|
|
#define SYSTEM_LOCK 0x0
|
|
#define TASK_LOCK 0x4
|
|
#define SYSTEM_DISCONNECT 0x0
|
|
#define TASK_DISCONNECT 0x1
|
|
|
|
#define ALLREADY_ATTACHED 0x1
|
|
#define ATTACHED_NOT_AUTH 0X2
|
|
#define ATTACHED_AND_AUTH 0X4
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
N_EXTERN_LIBRARY (NWCCODE)
|
|
NWSetPreferredDSTree
|
|
(
|
|
nuint16 length,
|
|
pnuint8 treeName
|
|
);
|
|
|
|
|
|
#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_ndscon.h"
|
|
#endif
|
|
#endif /* !defined(__NOVELL_LIBC__) */
|
|
|
|
#endif /* NWNDSCON_H */
|