BSD 4_4_Lite1 development
[unix-history] / .ref-c66bde989c72461b5ca17917a47f91441a3f3347 / usr / src / usr.bin / make / nonints.h
CommitLineData
822a00a4 1/*-
8db0b741
KB
2 * Copyright (c) 1988, 1989, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
822a00a4
KB
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%
8c8a5b54 11 *
27a78130 12 * @(#)nonints.h 8.3 (Berkeley) %G%
822a00a4
KB
13 */
14
27a78130
CZ
15/* arch.c */
16ReturnStatus Arch_ParseArchive __P((char **, Lst, GNode *));
17void Arch_Touch __P((GNode *));
18void Arch_TouchLib __P((GNode *));
19int Arch_MTime __P((GNode *));
20int Arch_MemMTime __P((GNode *));
21void Arch_FindLib __P((GNode *, Lst));
22Boolean Arch_LibOODate __P((GNode *));
23void Arch_Init __P((void));
24
25/* compat.c */
26void Compat_Run __P((Lst));
fa942a09 27
27a78130
CZ
28/* cond.c */
29int Cond_Eval __P((char *));
30void Cond_End __P((void));
31
32/* for.c */
33int For_Eval __P((char *));
34void For_Run __P((void));
35
36/* main.c */
37void Main_ParseArgLine __P((char *));
38int main __P((int, char **));
39void Error __P((const char *, ...));
40void Fatal __P((const char *, ...));
41void Punt __P((const char *, ...));
42void DieHorribly __P((void));
43void Finish __P((int));
44char *emalloc __P((u_int));
45void enomem __P((void));
46
47/* parse.c */
48void Parse_Error __P((int, const char *, ...));
49Boolean Parse_AnyExport __P((void));
50Boolean Parse_IsVar __P((char *));
51void Parse_DoVar __P((char *, GNode *));
52void Parse_AddIncludeDir __P((char *));
53void Parse_File __P((char *, FILE *));
54void Parse_Init __P((void));
55void Parse_FromString __P((char *));
56Lst Parse_MainName __P((void));
57
58/* str.c */
59char *str_concat __P((char *, char *, int));
60char **brk_string __P((char *, int *));
61char *Str_FindSubstring __P((char *, char *));
62int Str_Match __P((char *, char *));
63char *Str_SYSVMatch __P((char *, char *, int *len));
64void Str_SYSVSubst __P((Buffer, char *, char *, int));
65
66/* suff.c */
67void Suff_ClearSuffixes __P((void));
68Boolean Suff_IsTransform __P((char *));
69GNode *Suff_AddTransform __P((char *));
70int Suff_EndTransform __P((GNode *));
71void Suff_AddSuffix __P((char *));
72Lst Suff_GetPath __P((char *));
73void Suff_DoPaths __P((void));
74void Suff_AddInclude __P((char *));
75void Suff_AddLib __P((char *));
76void Suff_FindDeps __P((GNode *));
77void Suff_SetNull __P((char *));
78void Suff_Init __P((void));
79void Suff_PrintAll __P((void));
80
81/* targ.c */
82void Targ_Init __P((void));
83GNode *Targ_NewGN __P((char *));
84GNode *Targ_FindNode __P((char *, int));
85Lst Targ_FindList __P((Lst, int));
86Boolean Targ_Ignore __P((GNode *));
87Boolean Targ_Silent __P((GNode *));
88Boolean Targ_Precious __P((GNode *));
89void Targ_SetMain __P((GNode *));
90int Targ_PrintCmd __P((char *));
91char *Targ_FmtTime __P((time_t));
92void Targ_PrintType __P((int));
93void Targ_PrintGraph __P((int));
94
95/* var.c */
96void Var_Delete __P((char *, GNode *));
97void Var_Set __P((char *, char *, GNode *));
98void Var_Append __P((char *, char *, GNode *));
99Boolean Var_Exists __P((char *, GNode *));
100char *Var_Value __P((char *, GNode *));
101char *Var_Parse __P((char *, GNode *, Boolean, int *, Boolean *));
102char *Var_Subst __P((char *, char *, GNode *, Boolean));
103char *Var_GetTail __P((char *));
104char *Var_GetHead __P((char *));
105void Var_Init __P((void));
106void Var_Dump __P((GNode *));