source: trunk/pin/include/config.h@ 1

Last change on this file since 1 was 1, checked in by bart, 18 years ago

Initial checkin of PIN.EXE source code
this contains memory fixes for larger PPD files

File size: 2.4 KB
Line 
1/*DDK*************************************************************************/
2/* */
3/* COPYRIGHT Copyright (C) 1991, 2003 IBM Corporation */
4/* */
5/* The following IBM OS/2 source code is provided to you solely for */
6/* the purpose of assisting you in your development of OS/2 device */
7/* drivers. You may use this code in accordance with the IBM License */
8/* Agreement provided in the IBM Developer Connection Device Driver */
9/* Source Kit for OS/2. This Copyright statement may not be removed. */
10/* */
11/*****************************************************************************/
12/**************************************************************************
13 *
14 * SOURCE FILE NAME = CONFIG.H
15 *
16 * DESCRIPTIVE NAME = Configuration variables
17 *
18 *
19 * VERSION = V1.0
20 *
21 * DATE
22 *
23 * DESCRIPTION Configuration variable externs, config function prototypes
24 *
25 *
26 * FUNCTIONS
27 *
28 *
29 *
30 * NOTES
31 *
32 *
33 * STRUCTURES
34 *
35 * EXTERNAL REFERENCES
36 *
37 * EXTERNAL FUNCTIONS
38 *
39*/
40
41// config.h
42// our configuration!
43
44// current language (path to mrilang.txt) (optional)
45extern PSZ MRI_LANG;
46// list of input PPD files (optional)
47extern PSZ PPD_FILE_LIST;
48// list of input AFM files (optional)
49extern PSZ AFM_FILE_LIST;
50// path where to put PPB files produced
51extern PSZ OUTPUT_PPB;
52
53// path of driver that will be updated when PAK is produced
54extern PSZ OUTPUT_DRV;
55// path where to create PAK
56extern CHAR OUTPUT_PAK[];
57// PAK filename (will add to REQUIREDFILES ea)
58extern PSZ OUTPUT_PAK_FILENAME;
59
60// where to take the PPD files from
61extern CHAR PPD_SOURCE_PATH[];
62
63// where to take AFM files from
64extern CHAR AFM_SOURCE_PATH[];
65
66
67// action user requested us to take:
68
69#define ACTION_PRODUCE_PPB 1
70#define ACTION_PRODUCE_PAK 2
71#define ACTION_PRODUCE_AFM 3
72
73extern int iAction;
74
75// command line parse functions for IPIN
76int InternalPpbConfig(int argc,char *argv[]);
77int InternalAfmConfig(int argc,char *argv[]);
78int InternalPakConfig(int argc,char *argv[]);
79
80// command line parse functions for consumer version (PIN)
81int PakConfig(int argc,char *argv[]);
82int AfmConfig(int argc,char *argv[]);
83
Note: See TracBrowser for help on using the repository browser.