feisty meow concerns codebase  2.140
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

◆ inc_clean()

void inc_clean ( )

Definition at line 340 of file include.cpp.

References inclist::i_marked, inc_list, and inclistp.

◆ inc_path()

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

◆ included_by()

void included_by ( register inclist ip,
register inclist newfile 
)

◆ isdot()

int isdot ( register char *  p)

Definition at line 238 of file include.cpp.

Referenced by remove_dotdot().

◆ isdotdot()

int isdotdot ( register char *  p)

Definition at line 245 of file include.cpp.

Referenced by remove_dotdot().

◆ issymbolic()

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().

◆ newinclude()

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

◆ remove_dotdot()

void remove_dotdot ( char *  path)

Definition at line 171 of file include.cpp.

References isdot(), isdotdot(), issymbolic(), MAXFILES, and eml_to_txt::path.

Referenced by inc_path().

Variable Documentation

◆ excludedirs

char* excludedirs[]
extern

Definition at line 104 of file makedep.cpp.

Referenced by inc_path(), and main().

◆ inc_list

inclist inc_list[MAXFILES]
extern

Definition at line 76 of file makedep.cpp.

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

◆ inclistp

inclist * inclistp

Definition at line 44 of file include.cpp.

Referenced by inc_clean(), and newinclude().

◆ includedirs

char* includedirs[]
extern

Definition at line 103 of file makedep.cpp.

Referenced by inc_path(), and main().

◆ notdotdot

char* notdotdot[]
extern

Definition at line 105 of file makedep.cpp.

Referenced by issymbolic().

◆ show_where_not

bool show_where_not
extern

Definition at line 113 of file makedep.cpp.

Referenced by inc_path().

◆ warn_multiple

bool warn_multiple
extern

Definition at line 114 of file makedep.cpp.

Referenced by included_by(), and main().