include.cpp File Reference

#include "def.h"
#include <string.h>

Include dependency graph for include.cpp:

Go to the source code of this file.

Functions

void remove_dotdot (char *path)
int isdot (register char *p)
int isdotdot (register char *p)
int issymbolic (register char *dir, register char *component)
void included_by (register inclist *ip, register inclist *newfile)
inclistinc_path (register char *file, register char *include, bool dot, bool &failure_okay)
inclistnewinclude (register char *newfile, register char *incstring)
void inc_clean ()

Variables

inclist inc_list [MAXFILES]
inclistinclistp
char * includedirs []
char * excludedirs []
char * notdotdot []
bool show_where_not
bool warn_multiple


Function Documentation

void inc_clean (  ) 

Definition at line 340 of file include.cpp.

References inclist::i_marked, inc_list, and inclistp.

Referenced by main().

inclist* inc_path ( register char *  file,
register char *  include,
bool  dot,
bool &  failure_okay 
)

Definition at line 58 of file include.cpp.

References inclist::i_file, inclist::i_included_sym, inclist::i_incstring, inc_list, and stat.

Referenced by add_include().

void included_by ( register inclist ip,
register inclist newfile 
)

int isdot ( register char *  p  ) 

Definition at line 238 of file include.cpp.

Referenced by remove_dotdot().

int isdotdot ( register char *  p  ) 

Definition at line 245 of file include.cpp.

Referenced by remove_dotdot().

int issymbolic ( register char *  dir,
register char *  component 
)

Definition at line 252 of file include.cpp.

References copy(), fatalerr(), MAXDIRS, notdotdot, S_IFMT, and stat.

Referenced by remove_dotdot().

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

Definition at line 276 of file include.cpp.

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

Referenced by main().

void remove_dotdot ( char *  path  ) 

Definition at line 171 of file include.cpp.

References isdot(), isdotdot(), issymbolic(), MAXFILES, and NULL.


Variable Documentation

char* excludedirs[]

Definition at line 104 of file makedep.cpp.

Referenced by main().

inclist inc_list[MAXFILES]

Definition at line 100 of file makedep.cpp.

Referenced by inc_clean(), inc_path(), and newinclude().

inclist * inclistp

Definition at line 100 of file makedep.cpp.

Referenced by inc_clean(), and newinclude().

char* includedirs[]

Definition at line 103 of file makedep.cpp.

Referenced by main().

char* notdotdot[]

Definition at line 105 of file makedep.cpp.

Referenced by issymbolic().

bool show_where_not

Definition at line 113 of file makedep.cpp.

Referenced by add_include().

bool warn_multiple

Definition at line 114 of file makedep.cpp.

Referenced by included_by(), and main().


Generated on Thu Nov 20 04:29:16 2008 for HOOPLE Libraries by  doxygen 1.5.1