source: trunk/dll/pathutil.h@ 985

Last change on this file since 985 was 985, checked in by Gregg Young, 17 years ago

Update sizes dialog (ticket 44); Make max command line length user settable (ticket 199); use xfree for free in most cases (ticket 212); initial code to check for valid ini file (ticket 102); Some additional refactoring and structure rework; Some documentation updates;

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
25PSZ BldFullPathName(PSZ pszFullPathName, PSZ pszPathName, PSZ pszFileName);
26PSZ BldQuotedFullPathName(PSZ pszFullPathName, PSZ pszPathName, PSZ pszFileName);
27PSZ BldQuotedFileName(PSZ pszQuotedFileName, PSZ pszFileName);
28PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
29
30#define MAXCOMLINESTRGDEFAULT (2048) /* 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
40DATADEF ULONG MaxComLineStrg;
41
42#endif // PATHUTIL_H
Note: See TracBrowser for help on using the repository browser.