1 /* RCS $Id: public.h,v 1.9 2007-10-15 15:56:54 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 Exec_commands
ANSI((CELLPTR
));
58 void Print_cmnd
ANSI((char *, int, int));
59 void Pop_dir
ANSI((int));
60 void Append_line
ANSI((char *, int, FILE *, char *, int, int));
61 void Stat_target
ANSI((CELLPTR
, int, int));
62 char *Expand
ANSI((char *));
63 char *Apply_edit
ANSI((char *, char *, char *, int, int));
64 void Map_esc
ANSI((char *));
65 char* Apply_modifiers
ANSI((int, char *));
66 char* Tokenize
ANSI((char *, char *, char, int));
67 char* ScanToken
ANSI((char *, char **, int));
68 char *DmStrJoin
ANSI((char *, char *, int, int));
69 char *DmStrAdd
ANSI((char *, char *, int));
70 char *DmStrApp
ANSI((char *, char *));
71 char *DmStrDup
ANSI((char *));
72 char *DmStrDup2
ANSI((char *));
73 char *DmStrPbrk
ANSI((char *, char *));
74 char *DmStrSpn
ANSI((char *, char *));
75 char *DmStrStr
ANSI((char *, char *));
76 char *DmSubStr
ANSI((char *, char *));
77 uint16 Hash
ANSI((char *, uint32
*));
78 HASHPTR Get_name
ANSI((char *, HASHPTR
*, int));
79 HASHPTR Search_table
ANSI((HASHPTR
*, char *, uint16
*, uint32
*));
80 HASHPTR Push_macro
ANSI((HASHPTR
));
81 HASHPTR Pop_macro
ANSI((HASHPTR
));
82 HASHPTR Def_macro
ANSI((char *, char *, int));
83 CELLPTR Def_cell
ANSI((char *));
84 LINKPTR Add_prerequisite
ANSI((CELLPTR
, CELLPTR
, int, int));
85 void Clear_prerequisites
ANSI((CELLPTR
));
86 int Test_circle
ANSI((CELLPTR
, int));
87 STRINGPTR Def_recipe
ANSI((char *, STRINGPTR
, int, int));
88 t_attr Rcp_attribute
ANSI((char *));
89 int main
ANSI((int, char **));
90 FILE *Openfile
ANSI((char *, int, int));
91 FILE *Closefile
ANSI(());
92 FILE *Search_file
ANSI((char *, char **));
93 char *Filename
ANSI(());
94 int Nestlevel
ANSI(());
95 FILE *TryFiles
ANSI((LINKPTR
));
96 void Fatal
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
97 int Error
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
98 int Warning
ANSI((ARG (char *,fmt
),ARG (va_alist_type
, va_alist
)));
100 void Usage
ANSI((int));
101 void Version
ANSI(());
102 char *Get_suffix
ANSI((char *));
103 char *Basename
ANSI((char *));
104 char *Filedir
ANSI((char *));
105 char *Build_path
ANSI((char *, char *));
106 void Make_rules
ANSI(());
107 void Create_macro_vars
ANSI(());
108 time_t Do_stat
ANSI((char *, char *, char **, int));
109 int Do_touch
ANSI((char *, char *, char **));
110 void Void_lib_cache
ANSI((char *, char *));
111 time_t Do_time
ANSI(());
112 void Do_profile_output
ANSI((char *, uint16
, CELLPTR
));
113 int Do_cmnd
ANSI((char **, int, int, CELLPTR
, t_attr
, int));
114 char ** Pack_argv
ANSI((int, int, char **));
115 char *Read_env_string
ANSI((char *));
116 int Write_env_string
ANSI((char *, char *));
117 void ReadEnvironment
ANSI(());
118 void Catch_signals
ANSI((void (*)(int)));
119 void Clear_signals
ANSI(());
120 void Prolog
ANSI((int, char* []));
121 void Epilog
ANSI((int));
122 char *Get_current_dir
ANSI(());
123 int Set_dir
ANSI((char*));
124 char Get_switch_char
ANSI(());
125 FILE* Get_temp
ANSI((char **, char *));
126 FILE *Start_temp
ANSI((char *, CELLPTR
, char **));
127 void Open_temp_error
ANSI((char *, char *));
128 void Link_temp
ANSI((CELLPTR
, FILE *, char *));
129 void Close_temp
ANSI((CELLPTR
, FILE *));
130 void Unlink_temp_files
ANSI((CELLPTR
));
131 void Handle_result
ANSI((int, int, int, CELLPTR
));
132 void Update_time_stamp
ANSI((CELLPTR
));
133 int Remove_file
ANSI((char *));
134 void Parse
ANSI((FILE *));
135 int Get_line
ANSI((char *, FILE *));
136 char *Do_comment
ANSI((char *, char **, int));
137 char *Get_token
ANSI((TKSTRPTR
, char *, int));
138 void Quit
ANSI((int));
139 void Read_state
ANSI(());
140 void Write_state
ANSI(());
141 int Check_state
ANSI((CELLPTR
, STRINGPTR
*, int));
143 void Dump_recipe
ANSI((STRINGPTR
));
144 int Parse_macro
ANSI((char *, int));
145 int Macro_op
ANSI((char *));
146 int Parse_rule_def
ANSI((int *));
147 int Rule_op
ANSI((char *));
148 void Add_recipe_to_list
ANSI((char *, int, int));
149 void Bind_rules_to_targets
ANSI((int));
150 int Set_group_attributes
ANSI((char *));
151 DFALINKPTR Match_dfa
ANSI((char *));
152 void Check_circle_dfa
ANSI(());
153 void Add_nfa
ANSI((char *));
154 char *Exec_function
ANSI((char *));
155 time_t seek_arch
ANSI((char *, char *));
156 int touch_arch
ANSI(( char *, char *));
157 void void_lcache
ANSI(( char *, char *));
158 int If_root_path
ANSI((char *));
159 void Remove_prq
ANSI((CELLPTR
));
160 int runargv
ANSI((CELLPTR
, int, int, t_attr
, char **));
161 int Wait_for_child
ANSI((int, int));
162 void Clean_up_processes
ANSI(());
163 time_t CacheStat
ANSI((char *, int));