Added command line response files

git-svn-id: svn://svn.cc65.org/cc65/trunk@616 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-03-09 21:59:23 +00:00
parent 18b9977039
commit 697abf3ed7
12 changed files with 238 additions and 69 deletions

View File

@@ -51,6 +51,10 @@
/* Program name - is set after call to InitCmdLine */
extern const char* ProgName;
/* The program argument vector */
extern char** ArgVec;
extern unsigned ArgCount;
/* Structure defining a long option */
typedef struct LongOpt LongOpt;
struct LongOpt {
@@ -67,7 +71,7 @@ struct LongOpt {
void InitCmdLine (unsigned aArgCount, char* aArgVec[], const char* aProgName);
void InitCmdLine (unsigned* aArgCount, char** aArgVec[], const char* aProgName);
/* Initialize command line parsing. aArgVec is the argument array terminated by
* a NULL pointer (as usual), ArgCount is the number of valid arguments in the
* array. Both arguments are remembered in static storage.
@@ -95,6 +99,6 @@ void LongOption (int* ArgNum, const LongOpt* OptTab, unsigned OptCount);
/* End of cmdline.h */
#endif