File: cmdline.h

package info (click to toggle)
bcpp 0.0.20210108-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 952 kB
  • sloc: cpp: 4,955; sh: 3,262; makefile: 237
file content (29 lines) | stat: -rw-r--r-- 883 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef _CMDLINE_HEADER
#define _CMDLINE_HEADER

// $Id: cmdline.h,v 1.2 2003/04/24 00:24:11 tom Exp $

#include "config.h"                 // Config structure

// ******* Define Prototypes ********

// Function converts a lower case string into upper case, any special 
// characters remain the same (i.e "$", "%" ...)
void StrUpr (char* pUpCase);

// This function displays brief command line help to the user.
// Parameters:
// char* argv[]     : Pointer to command line parameter pointer array
//
void PrintProgramHelp (void);

// integer assignment
int intAssign (int& cmdCount, int argc, char* argv[] );

// string assignment
char* strAssign (int& cmdCount, int argc, char* argv[]);

// Function processes command line parameters
int ProcessCommandLine (int argc, char* argv[],
                        Config& settings, char*& pInFile, char*& pOutFile, char*& pConfig);
#endif