|
Last change
on this file since 1071 was 5, checked in by Yuri Dario, 19 years ago |
|
OS/2 client code, initial import.
|
-
Property svn:eol-style
set to
native
|
|
File size:
573 bytes
|
| Line | |
|---|
| 1 | #ifndef _OS2MT_H_
|
|---|
| 2 | #define _OS2MT_H_
|
|---|
| 3 |
|
|---|
| 4 | #ifdef USE_OS2MT_STUFF
|
|---|
| 5 |
|
|---|
| 6 | #define MTFUNC(type,name)\
|
|---|
| 7 | type name##_array[SMBCD_MAX_THREADS] = {0}; \
|
|---|
| 8 | type *_##name() \
|
|---|
| 9 | {\
|
|---|
| 10 | return name##_array + cligettid(); \
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
| 13 | extern int *_smb_read_error();
|
|---|
| 14 | #define smb_read_error (*_smb_read_error())
|
|---|
| 15 |
|
|---|
| 16 | extern struct in_addr *_lastip();
|
|---|
| 17 | #define lastip (*_lastip())
|
|---|
| 18 |
|
|---|
| 19 | extern int *_lastport();
|
|---|
| 20 | #define lastport (*_lastport())
|
|---|
| 21 |
|
|---|
| 22 | extern int *_lastport();
|
|---|
| 23 | #define lastport (*_lastport())
|
|---|
| 24 |
|
|---|
| 25 | extern TALLOC_CTX **_list_head();
|
|---|
| 26 | #define list_head (*_list_head())
|
|---|
| 27 |
|
|---|
| 28 | #endif /* USE_OS2MT_STUFF */
|
|---|
| 29 |
|
|---|
| 30 | #endif /* _OS2MT_H_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.