Last change
on this file since 114 was 114, checked in by umoeller, 24 years ago |
Misc updates.
|
-
Property svn:eol-style
set to
CRLF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.7 KB
|
Line | |
---|
1 |
|
---|
2 | /*
|
---|
3 | *@@sourcefile lan.h:
|
---|
4 | * header file for lan.c. See notes there.
|
---|
5 | *
|
---|
6 | * Note: Version numbering in this file relates to XWorkplace version
|
---|
7 | * numbering.
|
---|
8 | *
|
---|
9 | *@@include #include <os2.h>
|
---|
10 | *@@include #include <netcons.h>
|
---|
11 | *@@include #include "helpers\lan.h"
|
---|
12 | */
|
---|
13 |
|
---|
14 | /*
|
---|
15 | * Copyright (C) 2001 Ulrich Mller.
|
---|
16 | * This file is part of the "XWorkplace helpers" source package.
|
---|
17 | * This is free software; you can redistribute it and/or modify
|
---|
18 | * it under the terms of the GNU General Public License as published
|
---|
19 | * by the Free Software Foundation, in version 2 as it comes in the
|
---|
20 | * "COPYING" file of the XWorkplace main distribution.
|
---|
21 | * This program is distributed in the hope that it will be useful,
|
---|
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
24 | * GNU General Public License for more details.
|
---|
25 | */
|
---|
26 |
|
---|
27 | #if __cplusplus
|
---|
28 | extern "C" {
|
---|
29 | #endif
|
---|
30 |
|
---|
31 | #ifndef LANH_HEADER_INCLUDED
|
---|
32 | #define LANH_HEADER_INCLUDED
|
---|
33 |
|
---|
34 | APIRET lanInit(VOID);
|
---|
35 |
|
---|
36 | #pragma pack(1)
|
---|
37 | typedef struct _SERVER
|
---|
38 | {
|
---|
39 | UCHAR achServerName[CNLEN + 1];
|
---|
40 | // server name (without leading \\)
|
---|
41 | UCHAR cVersionMajor; // major version # of net
|
---|
42 | UCHAR cVersionMinor; // minor version # of net
|
---|
43 | ULONG ulServerType; // server type
|
---|
44 | PSZ pszComment; // server comment
|
---|
45 | } SERVER, *PSERVER;
|
---|
46 | #pragma pack()
|
---|
47 |
|
---|
48 | APIRET lanQueryServers(PSERVER *paServers,
|
---|
49 | ULONG *pcServers);
|
---|
50 |
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #if __cplusplus
|
---|
54 | }
|
---|
55 | #endif
|
---|
56 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.