1 /* RCS $Id: public.h,v 1.9 2007-10-15 15:54:38 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 int main
ANSI((int, char **));
92 FILE *Openfile
ANSI((char *, int, int));
93 FILE *Closefile
ANSI(());
94 FILE *Search_file
ANSI((char *, char **));
95 char *Filename
ANSI(());
96 int Nestlevel
ANSI(());
97 FILE *TryFiles
ANSI((LINKPTR
));
98 void Fatal
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
99 void Error
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
100 void Warning
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
101 void No_ram
ANSI(());
102 void Usage
ANSI((int));
103 void Version
ANSI(());
104 char *Get_suffix
ANSI((char *));
105 char *Basename
ANSI((char *));
106 char *Filedir
ANSI((char *));
107 char *Build_path
ANSI((char *, char *));
108 void Make_rules
ANSI(());
109 void Create_macro_vars
ANSI(());
110 time_t Do_stat
ANSI((char *, char *, char **, int));
111 int Do_touch
ANSI((char *, char *, char **));
112 void Void_lib_cache
ANSI((char *, char *));
113 time_t Do_time
ANSI(());
114 void Do_profile_output
ANSI((char *, uint16
, CELLPTR
));
115 int Do_cmnd
ANSI((char **, int, int, CELLPTR
, t_attr
, int));
116 char ** Pack_argv
ANSI((int, int, char **));
117 char *Read_env_string
ANSI((char *));
118 int Write_env_string
ANSI((char *, char *));
119 void ReadEnvironment
ANSI(());
120 void Catch_signals
ANSI((void (*)(int)));
121 void Clear_signals
ANSI(());
122 void Prolog
ANSI((int, char* []));
123 void Epilog
ANSI((int));
124 char *Get_current_dir
ANSI(());
125 int Set_dir
ANSI((char*));
126 char Get_switch_char
ANSI(());
127 FILE* Get_temp
ANSI((char **, char *));
128 FILE *Start_temp
ANSI((char *, CELLPTR
, char **));
129 void Open_temp_error
ANSI((char *, char *));
130 void Link_temp
ANSI((CELLPTR
, FILE *, char *));
131 void Close_temp
ANSI((CELLPTR
, FILE *));
132 void Unlink_temp_files
ANSI((CELLPTR
));
133 void Handle_result
ANSI((int, int, int, CELLPTR
));
134 void Update_time_stamp
ANSI((CELLPTR
));
135 int Remove_file
ANSI((char *));
136 void Parse
ANSI((FILE *));
137 int Get_line
ANSI((char *, FILE *));
138 char *Do_comment
ANSI((char *, char **, int));
139 char *Get_token
ANSI((TKSTRPTR
, char *, int));
140 void Quit
ANSI((int));
141 void Read_state
ANSI(());
142 void Write_state
ANSI(());
143 int Check_state
ANSI((CELLPTR
, STRINGPTR
*, int));
145 void Dump_recipe
ANSI((STRINGPTR
));
146 int Parse_macro
ANSI((char *, int));
147 int Macro_op
ANSI((char *));
148 int Parse_rule_def
ANSI((int *));
149 int Rule_op
ANSI((char *));
150 void Add_recipe_to_list
ANSI((char *, int, int));
151 void Bind_rules_to_targets
ANSI((int));
152 int Set_group_attributes
ANSI((char *));
153 DFALINKPTR Match_dfa
ANSI((char *));
154 void Check_circle_dfa
ANSI(());
155 void Add_nfa
ANSI((char *));
156 char *Exec_function
ANSI((char *));
157 time_t seek_arch
ANSI((char *, char *));
158 int touch_arch
ANSI(( char *, char *));
159 void void_lcache
ANSI(( char *, char *));
160 int If_root_path
ANSI((char *));
161 void Remove_prq
ANSI((CELLPTR
));
162 int runargv
ANSI((CELLPTR
, int, int, t_attr
, char **));
163 int Wait_for_child
ANSI((int, int));
164 void Clean_up_processes
ANSI(());
165 time_t CacheStat
ANSI((char *, int));