|
Last change
on this file since 1069 was 1004, checked in by Gregg Young, 18 years ago |
|
Change default command line length to 1024; remove additional hard coded command line lengths
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | /***********************************************************************
|
|---|
| 3 |
|
|---|
| 4 | $Id: $
|
|---|
| 5 |
|
|---|
| 6 | Path handling utility functions
|
|---|
| 7 |
|
|---|
| 8 | Copyright (c) 1993-98 M. Kimes
|
|---|
| 9 | Copyright (c) 2001, 2008 Steven H. Levine
|
|---|
| 10 |
|
|---|
| 11 | 05 Jan 08 SHL Move from fm3dll.h to here
|
|---|
| 12 | 29 Feb 08 GKY Changes to enable user settable command line length
|
|---|
| 13 |
|
|---|
| 14 | ***********************************************************************/
|
|---|
| 15 |
|
|---|
| 16 | #if !defined(PATHUTIL_H)
|
|---|
| 17 |
|
|---|
| 18 | #define PATHUTIL_H
|
|---|
| 19 |
|
|---|
| 20 | #if !defined(OS2_INCLUDED)
|
|---|
| 21 | #include <os2.h>
|
|---|
| 22 | #else
|
|---|
| 23 | #endif
|
|---|
| 24 |
|
|---|
| 25 | PSZ BldFullPathName(PSZ pszFullPathName, PSZ pszPathName, PSZ pszFileName);
|
|---|
| 26 | PSZ BldQuotedFullPathName(PSZ pszFullPathName, PSZ pszPathName, PSZ pszFileName);
|
|---|
| 27 | PSZ BldQuotedFileName(PSZ pszQuotedFileName, PSZ pszFileName);
|
|---|
| 28 | PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
|
|---|
| 29 |
|
|---|
| 30 | #define MAXCOMLINESTRGDEFAULT (1024) /* used to build command line strings */
|
|---|
| 31 | #define CMDLNLNGTH_MIN (299)
|
|---|
| 32 | #define CMDLNLNGTH_MAX (32768)
|
|---|
| 33 |
|
|---|
| 34 | #ifdef DEFINE_GLOBALS
|
|---|
| 35 | #define DATADEF
|
|---|
| 36 | #else
|
|---|
| 37 | #define DATADEF extern
|
|---|
| 38 | #endif
|
|---|
| 39 |
|
|---|
| 40 | DATADEF ULONG MaxComLineStrg;
|
|---|
| 41 |
|
|---|
| 42 | #endif // PATHUTIL_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.