include.c File Reference

#include "def.h"

Go to the source code of this file.

Functions

boolean isdot (char *p)
boolean isdotdot (char *p)
boolean issymbolic (char *dir, char *component)
void remove_dotdot (char *path)
inclistnewinclude (char *newfile, char *incstring)
void included_by (struct inclist *ip, struct inclist *newfile)
void inc_clean ()
inclistinc_path (char *file, char *include, boolean dot)

Variables

inclist inclist [MAXFILES]
inclistinclistp
char * includedirs []
char * notdotdot []
boolean show_where_not
boolean warn_multiple


Function Documentation

void inc_clean (  ) 

Definition at line 235 of file include.c.

References inclist::i_flags, inclist, inclistp, MARKED, SEARCHED, and undefine_all().

Referenced by main_orig().

struct inclist* inc_path ( char *  file,
char *  include,
boolean  dot 
)

Definition at line 246 of file include.c.

References FALSE, inclist::i_file, inclist::i_flags, inclist::i_incstring, inclist, INCLUDED_SYM, p, stat, and TRUE.

Referenced by add_include().

void included_by ( struct inclist ip,
struct inclist newfile 
)

Definition at line 186 of file include.c.

References i, if(), inclist, INCLUDED_SYM, malloc(), NULL, warn_multiple, warning(), and warning1().

Referenced by add_include().

boolean isdot ( char *  p  ) 

Definition at line 45 of file include.c.

References FALSE, and TRUE.

Referenced by remove_dotdot().

boolean isdotdot ( char *  p  ) 

Definition at line 54 of file include.c.

References FALSE, and TRUE.

Referenced by remove_dotdot().

boolean issymbolic ( char *  dir,
char *  component 
)

Definition at line 63 of file include.c.

References buf, copy(), fatalerr(), lstat, MAXDIRS, notdotdot, sprintf(), stat, and TRUE.

Referenced by remove_dotdot().

struct inclist* newinclude ( char *  newfile,
char *  incstring 
)

Definition at line 164 of file include.c.

References copy(), fatalerr(), inclist::i_file, inclist::i_incstring, inclist, inclistp, MAXFILES, and NULL.

Referenced by main_orig().

void remove_dotdot ( char *  path  ) 

Definition at line 93 of file include.c.

References FALSE, fp, isdot(), isdotdot(), issymbolic(), MAXFILES, NULL, strcpy(), and TRUE.


Variable Documentation

struct inclist inclist[MAXFILES]

Definition at line 102 of file main.c.

Referenced by add_include(), inc_clean(), inc_path(), included_by(), main_orig(), and newinclude().

struct inclist * inclistp

Definition at line 103 of file main.c.

Referenced by inc_clean(), and newinclude().

char* includedirs[]

Definition at line 108 of file main.c.

Referenced by main_orig().

char* notdotdot[]

Definition at line 109 of file main.c.

Referenced by issymbolic().

boolean show_where_not

Definition at line 118 of file main.c.

Referenced by add_include().

boolean warn_multiple

Definition at line 119 of file main.c.

Referenced by included_by(), and main_orig().


Generated on Tue Jul 5 15:56:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1