home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
os2hdr.exe
/
NETBIOS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-21
|
1KB
|
51 lines
/* Copyright (C) 1988 by Novell, Inc. All Rights Reserved. Mod: 8/04/88 */
#ifndef API_FUNCTION
#define API_FUNCTION NWAPI
#endif
extern API_FUNCTION
NetBiosEnum( char NWPTR, short, char NWPTR, unsigned short,
unsigned short NWPTR, unsigned short NWPTR);
extern API_FUNCTION
NetBiosGetInfo( char NWPTR, char NWPTR, short, char NWPTR,
unsigned short, unsigned short NWPTR );
extern API_FUNCTION
NetBiosOpen( char NWPTR, char NWPTR, unsigned short, unsigned short NWPTR );
extern API_FUNCTION
NetBiosClose( unsigned short, unsigned short );
extern API_FUNCTION
NetBiosSubmit( unsigned short, unsigned short, struct ncb NWPTR);
struct netbios_info_0 {
char nb0_net_name[NETBIOS_NAME_LEN+1];
};
struct netbios_info_1 {
char nb1_net_name[NETBIOS_NAME_LEN+1];
char nb1_driver_name[DEVLEN+1];
unsigned char nb1_lana_num;
char nb1_pad_1;
unsigned short nb1_driver_type;
unsigned short nb1_net_status;
unsigned long nb1_net_bandwidth;
unsigned short nb1_max_sess;
unsigned short nb1_max_ncbs;
unsigned short nb1_max_names;
};
#define NB_TYPE_NCB 1
#define NB_TYPE_MCB 2
#define NB_LAN_MANAGED 0x0001
#define NB_LAN_LOOPBACK 0x0002
#define NB_REGULAR 1
#define NB_PRIVILEGED 2
#define NB_EXCLUSIVE 3