|
Last change
on this file since 1491 was 1438, checked in by Gregg Young, 16 years ago |
|
Improved drivebar changes; Added AddBackslashToPath() to remove repeatative code. replaced " " with PCSZ variable; ANY_OBJ added the DosAlloc... (experimental)
|
-
Property svn:eolstyle
set to
native
-
Property svn:keywords
set to
Id
|
|
File size:
1.2 KB
|
| Rev | Line | |
|---|
| [907] | 1 |
|
|---|
| 2 | /***********************************************************************
|
|---|
| 3 |
|
|---|
| [1199] | 4 | $Id: pathutil.h 1438 2009-06-28 20:47:00Z gyoung $
|
|---|
| [907] | 5 |
|
|---|
| 6 | Path handling utility functions
|
|---|
| 7 |
|
|---|
| 8 | Copyright (c) 1993-98 M. Kimes
|
|---|
| [1394] | 9 | Copyright (c) 2001, 2009 Steven H. Levine
|
|---|
| [907] | 10 |
|
|---|
| 11 | 05 Jan 08 SHL Move from fm3dll.h to here
|
|---|
| [985] | 12 | 29 Feb 08 GKY Changes to enable user settable command line length
|
|---|
| [1438] | 13 | 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
|
|---|
| [907] | 14 |
|
|---|
| 15 | ***********************************************************************/
|
|---|
| 16 |
|
|---|
| 17 | #if !defined(PATHUTIL_H)
|
|---|
| 18 |
|
|---|
| 19 | #define PATHUTIL_H
|
|---|
| 20 |
|
|---|
| 21 | #if !defined(OS2_INCLUDED)
|
|---|
| 22 | #include <os2.h>
|
|---|
| 23 | #endif
|
|---|
| 24 |
|
|---|
| [1438] | 25 | PSZ AddBackslashToPath(PSZ pszPathName);
|
|---|
| [1398] | 26 | PSZ BldFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
|
|---|
| 27 | PSZ BldQuotedFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
|
|---|
| [1394] | 28 | PSZ BldQuotedFileName(PSZ pszQuotedFileName, PCSZ pszFileName);
|
|---|
| [920] | 29 | PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
|
|---|
| [907] | 30 |
|
|---|
| [1394] | 31 | #define MAXCOMLINESTRGDEFAULT (1024) /* used to build command line strings */
|
|---|
| [985] | 32 | #define CMDLNLNGTH_MIN (299)
|
|---|
| 33 | #define CMDLNLNGTH_MAX (32768)
|
|---|
| 34 |
|
|---|
| 35 | #ifdef DEFINE_GLOBALS
|
|---|
| 36 | #define DATADEF
|
|---|
| 37 | #else
|
|---|
| 38 | #define DATADEF extern
|
|---|
| 39 | #endif
|
|---|
| 40 |
|
|---|
| 41 | DATADEF ULONG MaxComLineStrg;
|
|---|
| 42 |
|
|---|
| [907] | 43 | #endif // PATHUTIL_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.