+#include <stdio.h>
+
+
+
/*****************************************************************************/
/* data */
/*****************************************************************************/
extern char CurC;
extern char NextC;
+/* Struct that describes an input file */
+typedef struct IFile IFile;
+struct IFile {
+ unsigned Index; /* File index */
+ unsigned Usage; /* Usage counter */
+ unsigned long Size; /* File size */
+ unsigned long MTime; /* Time of last modification */
+ char Name[1]; /* Name of file (dynamically allocated) */
+};
+
/*****************************************************************************/
void ClearLine (void);
/* Clear the current input line */
-
+
void InitLine (const char* Buf);
/* Initialize lptr from Buf and read CurC and NextC from the new input line */
unsigned GetCurrentLine (void);
/* Return the line number in the current input file */
+void WriteDependencies (FILE* F, const char* OutputFile);
+/* Write a makefile dependency list to the given file */
+
/* End of input.h */