Codebase list unrtf / 149a7423-c1d8-45f6-8685-0e83fb054606/main src / path.h
149a7423-c1d8-45f6-8685-0e83fb054606/main

Tree @149a7423-c1d8-45f6-8685-0e83fb054606/main (Download .tar.gz)

path.h @149a7423-c1d8-45f6-8685-0e83fb054606/mainraw · history · blame

#ifndef _PATH_H_INCLUDED_
#define _PATH_H_INCLUDED_

#ifndef DEFAULT_UNRTF_SEARCH_PATH
#define DEFAULT_UNRTF_SEARCH_PATH       CONFIG_DIR
#endif

extern char *search_path;
extern int   path_checked;

struct path_dir
{
	char *dir_name;
	struct path_dir *next;
};

extern int   check_dirs();
extern void  show_dirs();
extern char *search_in_path(const char *name, char *suffix);

#endif /* _PATH_H_INCLUDED_ */