home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / bcpp1611.zip / BCPP / CMDLINE.H < prev    next >
C/C++ Source or Header  |  1996-12-18  |  835b  |  29 lines

  1. #ifndef _CMDLINE_HEADER
  2. #define _CMDLINE_HEADER
  3.  
  4. #include "config.h"           // Config structure
  5.  
  6. // ******* Define Prototypes ********
  7.  
  8. // Function converts a lower case string into upper case, any special
  9. // characters remain the same (i.e "$", "%" ...)
  10. void StrUpr (char* pUpCase);
  11.  
  12. // This function displays brief command line help to the user.
  13. // Parameters:
  14. // char* argv[]     : Pointer to command line parameter pointer array
  15. //
  16. void PrintProgramHelp (char* argv[]);
  17.  
  18. // integer assignment
  19. int intAssign (int& cmdCount, int argc, char* argv[] );
  20.  
  21. // string assignment
  22. char* strAssign (int& cmdCount, int argc, char* argv[]);
  23.  
  24. // Function processes command line parameters
  25. int ProcessCommandLine (int argc, char* argv[],
  26. Config& settings, char*& pInFile, char*& pOutFile, char* & pConfig);
  27. #endif
  28.  
  29.