home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ioctlapi.zip
/
appsrc.zip
/
parse.h
< prev
next >
Wrap
Text File
|
1999-11-16
|
828b
|
22 lines
//-----------------------------------------------------------------------------
// Freeware. This file may be used freely to promote the ioctl90 mixer API.
//-----------------------------------------------------------------------------
// parse.h
//
// Structures to support command line parsing
// and device setting auto-detection
#define MAXTOKENSIZE 64
typedef struct {
BOOL fLeadingDashFound;
BOOL fSeparatorFound;
BOOL fNumericFound;
ULONG ulValue; // Number on right side of colon
char szKeyword [MAXTOKENSIZE]; // String on left side of colon
char szValue [MAXTOKENSIZE]; // String on right side of colon
} PARSEDTOKEN;
typedef PARSEDTOKEN *PPARSEDTOKEN;
int ParseCommandLine (int argc, char *argv[]);