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