Last change
on this file since 144 was 5, checked in by Yuri Dario, 18 years ago |
OS/2 client code, initial import.
|
-
Property svn:eol-style
set to
native
|
File size:
979 bytes
|
Line | |
---|
1 | #ifndef _SMBCD_H
|
---|
2 | #define _SMBCD_H
|
---|
3 |
|
---|
4 | #define PIPENAME "\\PIPE\\NICKK\\SMBCD"
|
---|
5 | #define EXECNAME "smbcd.exe"
|
---|
6 |
|
---|
7 | #define SMBREQ_INIT 1
|
---|
8 | #define SMBREQ_INITCOMPLETE 2
|
---|
9 | #define SMBREQ_CONNECT 3
|
---|
10 | #define SMBREQ_DISCONNECT 4
|
---|
11 | #define SMBREQ_OPEN 5
|
---|
12 | #define SMBREQ_CLOSE 6
|
---|
13 | #define SMBREQ_READ 7
|
---|
14 | #define SMBREQ_WRITE 8
|
---|
15 | #define SMBREQ_LSEEK 9
|
---|
16 | #define SMBREQ_SETINFO 10
|
---|
17 | #define SMBREQ_GETINFO 11
|
---|
18 | #define SMBREQ_FGETINFO 12
|
---|
19 | #define SMBREQ_FILELIST 13
|
---|
20 | #define SMBREQ_RENAME 14
|
---|
21 | #define SMBREQ_UNLINK 15
|
---|
22 | #define SMBREQ_MKDIR 16
|
---|
23 | #define SMBREQ_RMDIR 17
|
---|
24 | #define SMBREQ_CHDIR 18
|
---|
25 | #define SMBREQ_NEWSIZE 19
|
---|
26 | #define SMBREQ_SETEA 20
|
---|
27 | #define SMBREQ_FSETEA 21
|
---|
28 | #define SMBREQ_LISTEA 22
|
---|
29 | #define SMBREQ_FLISTEA 23
|
---|
30 | #define SMBREQ_DSKATTR 24
|
---|
31 |
|
---|
32 | #pragma pack(1)
|
---|
33 |
|
---|
34 | typedef struct smb_request
|
---|
35 | {
|
---|
36 | int request;
|
---|
37 | char * param;
|
---|
38 | int paramlen;
|
---|
39 | int length;
|
---|
40 | } smb_request;
|
---|
41 |
|
---|
42 | typedef struct smb_response
|
---|
43 | {
|
---|
44 | int rc;
|
---|
45 | unsigned long long value;
|
---|
46 | int length;
|
---|
47 | } smb_response;
|
---|
48 |
|
---|
49 | #pragma pack()
|
---|
50 |
|
---|
51 | #endif /* _SMBCD_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.