1 /* RCS $Id: public.h,v 1.7 2007-10-15 15:56:04 ihi Exp $
2 -- WARNING -- This file is AUTOMATICALLY GENERATED DO NOT EDIT IT
6 -- Local functions exported to be visible by others.
9 -- This file is generated by 'genpub'. Function declarations
10 -- that appear in this file are extracted by 'genpub' from
11 -- source files. Any function in the source file whose definition
15 -- function( arg_list );
19 -- has its definition extracted and a line of the form:
21 -- return_type function ANSI((type_expr1,type_expr2,...));
23 -- entered into the output file.
26 -- Dennis Vadura, dvadura@dmake.wticorp.com
29 -- http://dmake.wticorp.com/
32 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
34 -- This program is NOT free software; you can redistribute it and/or
35 -- modify it under the terms of the Software License Agreement Provided
36 -- in the file <distribution-root>/readme/license.txt.
39 -- Use cvs log to obtain detailed change logs.
42 #ifndef _DMAKE_PUBLIC_h
43 #define _DMAKE_PUBLIC_h
48 #if defined(DEFINE_DMAKE_VARIABLES)
54 /***** genpub: Begin list of generated function headers */
55 void Infer_recipe
ANSI((CELLPTR
, CELLPTR
));
56 int Make_targets
ANSI(());
57 int Make
ANSI((CELLPTR
, CELLPTR
));
58 int Exec_commands
ANSI((CELLPTR
));
59 void Print_cmnd
ANSI((char *, int, int));
60 int Push_dir
ANSI((char *, char *, int));
61 void Pop_dir
ANSI((int));
62 void Append_line
ANSI((char *, int, FILE *, char *, int, int));
63 void Stat_target
ANSI((CELLPTR
, int, int));
64 char *Expand
ANSI((char *));
65 char *Apply_edit
ANSI((char *, char *, char *, int, int));
66 void Map_esc
ANSI((char *));
67 char* Apply_modifiers
ANSI((int, char *));
68 char* Tokenize
ANSI((char *, char *, char, int));
69 char* ScanToken
ANSI((char *, char **, int));
70 char *DmStrJoin
ANSI((char *, char *, int, int));
71 char *DmStrAdd
ANSI((char *, char *, int));
72 char *DmStrApp
ANSI((char *, char *));
73 char *DmStrDup
ANSI((char *));
74 char *DmStrDup2
ANSI((char *));
75 char *DmStrPbrk
ANSI((char *, char *));
76 char *DmStrSpn
ANSI((char *, char *));
77 char *DmStrStr
ANSI((char *, char *));
78 char *DmSubStr
ANSI((char *, char *));
79 uint16 Hash
ANSI((char *, uint32
*));
80 HASHPTR Get_name
ANSI((char *, HASHPTR
*, int));
81 HASHPTR Search_table
ANSI((HASHPTR
*, char *, uint16
*, uint32
*));
82 HASHPTR Push_macro
ANSI((HASHPTR
));
83 HASHPTR Pop_macro
ANSI((HASHPTR
));
84 HASHPTR Def_macro
ANSI((char *, char *, int));
85 CELLPTR Def_cell
ANSI((char *));
86 LINKPTR Add_prerequisite
ANSI((CELLPTR
, CELLPTR
, int, int));
87 void Clear_prerequisites
ANSI((CELLPTR
));
88 int Test_circle
ANSI((CELLPTR
, int));
89 STRINGPTR Def_recipe
ANSI((char *, STRINGPTR
, int, int));
90 t_attr Rcp_attribute
ANSI((char *));
91 FILE *Openfile
ANSI((char *, int, int));
92 FILE *Closefile
ANSI(());
93 FILE *Search_file
ANSI((char *, char **));
94 char *Filename
ANSI(());
95 int Nestlevel
ANSI(());
96 FILE *TryFiles
ANSI((LINKPTR
));
97 void Fatal
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
98 void Error
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
99 void Warning
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
100 void No_ram
ANSI(());
101 void Usage
ANSI((int));
102 void Version
ANSI(());
103 char *Get_suffix
ANSI((char *));
104 char *Basename
ANSI((char *));
105 char *Filedir
ANSI((char *));
106 char *Build_path
ANSI((char *, char *));
107 void Make_rules
ANSI(());
108 void Create_macro_vars
ANSI(());
109 time_t Do_stat
ANSI((char *, char *, char **, int));
110 int Do_touch
ANSI((char *, char *, char **));
111 void Void_lib_cache
ANSI((char *, char *));
112 time_t Do_time
ANSI(());
113 void Do_profile_output
ANSI((char *, uint16
, CELLPTR
));
114 int Do_cmnd
ANSI((char **, int, int, CELLPTR
, t_attr
, int));
115 char ** Pack_argv
ANSI((int, int, char **));
116 char *Read_env_string
ANSI((char *));
117 int Write_env_string
ANSI((char *, char *));
118 void ReadEnvironment
ANSI(());
119 void Catch_signals
ANSI((void (*)(int)));
120 void Clear_signals
ANSI(());
121 void Prolog
ANSI((int, char* []));
122 void Epilog
ANSI((int));
123 char *Get_current_dir
ANSI(());
124 int Set_dir
ANSI((char*));
125 char Get_switch_char
ANSI(());
126 FILE* Get_temp
ANSI((char **, char *));
127 FILE *Start_temp
ANSI((char *, CELLPTR
, char **));
128 void Open_temp_error
ANSI((char *, char *));
129 void Link_temp
ANSI((CELLPTR
, FILE *, char *));
130 void Close_temp
ANSI((CELLPTR
, FILE *));
131 void Unlink_temp_files
ANSI((CELLPTR
));
132 void Handle_result
ANSI((int, int, int, CELLPTR
));
133 void Update_time_stamp
ANSI((CELLPTR
));
134 int Remove_file
ANSI((char *));
135 void Parse
ANSI((FILE *));
136 int Get_line
ANSI((char *, FILE *));
137 char *Do_comment
ANSI((char *, char **, int));
138 char *Get_token
ANSI((TKSTRPTR
, char *, int));
139 void Quit
ANSI((int));
140 void Read_state
ANSI(());
141 void Write_state
ANSI(());
142 int Check_state
ANSI((CELLPTR
, STRINGPTR
*, int));
144 void Dump_recipe
ANSI((STRINGPTR
));
145 int Parse_macro
ANSI((char *, int));
146 int Macro_op
ANSI((char *));
147 int Parse_rule_def
ANSI((int *));
148 int Rule_op
ANSI((char *));
149 void Add_recipe_to_list
ANSI((char *, int, int));
150 void Bind_rules_to_targets
ANSI((int));
151 int Set_group_attributes
ANSI((char *));
152 DFALINKPTR Match_dfa
ANSI((char *));
153 void Check_circle_dfa
ANSI(());
154 void Add_nfa
ANSI((char *));
155 char *Exec_function
ANSI((char *));
156 time_t seek_arch
ANSI((char *, char *));
157 int touch_arch
ANSI(( char *, char *));
158 void void_lcache
ANSI(( char *, char *));
159 int If_root_path
ANSI((char *));
160 void Remove_prq
ANSI((CELLPTR
));
161 int runargv
ANSI((CELLPTR
, int, int, t_attr
, char **));
162 int Wait_for_child
ANSI((int, int));
163 void Clean_up_processes
ANSI(());
164 time_t CacheStat
ANSI((char *, int));