xref: /original-bsd/usr.bin/make/nonints.h (revision 01e8f48f)
1 /*-
2  * Copyright (c) 1988, 1989, 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  * Copyright (c) 1989 by Berkeley Softworks
5  * All rights reserved.
6  *
7  * This code is derived from software contributed to Berkeley by
8  * Adam de Boor.
9  *
10  * %sccs.include.redist.c%
11  *
12  *	@(#)nonints.h	8.4 (Berkeley) 04/28/95
13  */
14 
15 /* arch.c */
16 ReturnStatus Arch_ParseArchive __P((char **, Lst, GNode *));
17 void Arch_Touch __P((GNode *));
18 void Arch_TouchLib __P((GNode *));
19 int Arch_MTime __P((GNode *));
20 int Arch_MemMTime __P((GNode *));
21 void Arch_FindLib __P((GNode *, Lst));
22 Boolean Arch_LibOODate __P((GNode *));
23 void Arch_Init __P((void));
24 void Arch_End __P((void));
25 
26 /* compat.c */
27 void Compat_Run __P((Lst));
28 
29 /* cond.c */
30 int Cond_Eval __P((char *));
31 void Cond_End __P((void));
32 
33 /* for.c */
34 int For_Eval __P((char *));
35 void For_Run  __P((void));
36 
37 /* main.c */
38 void Main_ParseArgLine __P((char *));
39 int main __P((int, char **));
40 void Error __P((char *, ...));
41 void Fatal __P((char *, ...));
42 void Punt __P((char *, ...));
43 void DieHorribly __P((void));
44 int PrintAddr __P((ClientData, ClientData));
45 void Finish __P((int));
46 char *emalloc __P((size_t));
47 void enomem __P((void));
48 
49 /* parse.c */
50 void Parse_Error __P((int, char *, ...));
51 Boolean Parse_AnyExport __P((void));
52 Boolean Parse_IsVar __P((char *));
53 void Parse_DoVar __P((char *, GNode *));
54 void Parse_AddIncludeDir __P((char *));
55 void Parse_File __P((char *, FILE *));
56 void Parse_Init __P((void));
57 void Parse_End __P((void));
58 void Parse_FromString __P((char *));
59 Lst Parse_MainName __P((void));
60 
61 /* str.c */
62 void str_init __P((void));
63 void str_end __P((void));
64 char *str_concat __P((char *, char *, int));
65 char **brk_string __P((char *, int *, Boolean));
66 char *Str_FindSubstring __P((char *, char *));
67 int Str_Match __P((char *, char *));
68 char *Str_SYSVMatch __P((char *, char *, int *len));
69 void Str_SYSVSubst __P((Buffer, char *, char *, int));
70 
71 /* suff.c */
72 void Suff_ClearSuffixes __P((void));
73 Boolean Suff_IsTransform __P((char *));
74 GNode *Suff_AddTransform __P((char *));
75 int Suff_EndTransform __P((ClientData, ClientData));
76 void Suff_AddSuffix __P((char *));
77 Lst Suff_GetPath __P((char *));
78 void Suff_DoPaths __P((void));
79 void Suff_AddInclude __P((char *));
80 void Suff_AddLib __P((char *));
81 void Suff_FindDeps __P((GNode *));
82 void Suff_SetNull __P((char *));
83 void Suff_Init __P((void));
84 void Suff_End __P((void));
85 void Suff_PrintAll __P((void));
86 
87 /* targ.c */
88 void Targ_Init __P((void));
89 void Targ_End __P((void));
90 GNode *Targ_NewGN __P((char *));
91 GNode *Targ_FindNode __P((char *, int));
92 Lst Targ_FindList __P((Lst, int));
93 Boolean Targ_Ignore __P((GNode *));
94 Boolean Targ_Silent __P((GNode *));
95 Boolean Targ_Precious __P((GNode *));
96 void Targ_SetMain __P((GNode *));
97 int Targ_PrintCmd __P((ClientData, ClientData));
98 char *Targ_FmtTime __P((time_t));
99 void Targ_PrintType __P((int));
100 void Targ_PrintGraph __P((int));
101 
102 /* var.c */
103 void Var_Delete __P((char *, GNode *));
104 void Var_Set __P((char *, char *, GNode *));
105 void Var_Append __P((char *, char *, GNode *));
106 Boolean Var_Exists __P((char *, GNode *));
107 char *Var_Value __P((char *, GNode *, char **));
108 char *Var_Parse __P((char *, GNode *, Boolean, int *, Boolean *));
109 char *Var_Subst __P((char *, char *, GNode *, Boolean));
110 char *Var_GetTail __P((char *));
111 char *Var_GetHead __P((char *));
112 void Var_Init __P((void));
113 void Var_End __P((void));
114 void Var_Dump __P((GNode *));
115