ARB
|
#include <dirent.h>
#include <unistd.h>
#include <sys/stat.h>
#include <arb_sort.h>
#include <arb_str.h>
#include <arb_strarray.h>
#include <arb_file.h>
#include <arb_pathlen.h>
#include "gb_local.h"
#include "gb_load.h"
Go to the source code of this file.
Functions | |
GB_CSTR | GB_getcwd () |
GB_ERROR | gb_scan_directory (char *basename, gb_scandir *sd) |
char * | GB_find_all_files (const char *dir, const char *mask, bool filename_only) |
char * | GB_find_latest_file (const char *dir, const char *mask) |
static const char * | GB_existing_file (const char *file, bool warn_when_not_found) |
char * | GB_lib_file (bool warn_when_not_found, const char *libprefix, const char *filename) |
char * | GB_property_file (bool warn_when_not_found, const char *filename) |
void | GBS_read_dir (StrArray &names, const char *dir, const char *mask) |
const char * | GB_get_arb_revision_tag () |
GB_CSTR GB_getcwd | ( | void | ) |
Definition at line 24 of file adfile.cxx.
References ARB_PATH_MAX, NULp, and RETURN_ONETIME_ALLOC.
Referenced by AW_get_selected_fullname(), expand_symbolic_directories(), gb_full_path(), GB_getenvHOME(), and GB_unfold_path().
GB_ERROR gb_scan_directory | ( | char * | basename, |
gb_scandir * | sd | ||
) |
Definition at line 30 of file adfile.cxx.
References ARB_PATH_MAX, ARB_strdup(), buffer, gb_scandir::date_of_quick_file, error(), GB_SCAN_NEW_QUICK, GB_SCAN_NO_QUICK, GB_SCAN_OLD_QUICK, GBS_global_string(), gb_scandir::highest_quick_index, gb_scandir::newest_quick_index, NULp, and gb_scandir::type.
Referenced by GB_login().
Definition at line 109 of file adfile.cxx.
References ARB_PATH_MAX, ARB_strdup(), buffer, GB_IGNORE_CASE, GBS_compile_matcher(), GBS_free_matcher(), GBS_global_string_copy(), GBS_string_matches_regexp(), NULp, and result.
Referenced by get_overlay_files().
Definition at line 152 of file adfile.cxx.
References ARB_PATH_MAX, buffer, GB_IGNORE_CASE, GBS_compile_matcher(), GBS_free_matcher(), GBS_string_matches_regexp(), NULp, and result.
Referenced by startup_gui().
Definition at line 188 of file adfile.cxx.
References gb_assert, GB_is_readablefile(), GB_warningf(), and NULp.
Referenced by GB_lib_file(), and GB_property_file().
Definition at line 198 of file adfile.cxx.
References GB_concat_path_in_ARBLIB(), and GB_existing_file().
Referenced by find_data_file(), GB_arbtcpdat_path(), GB_get_arb_revision_tag(), GB_property_file(), and GetImageFile().
Definition at line 204 of file adfile.cxx.
References GB_existing_file(), GB_lib_file(), GB_path_in_arbprop(), and result.
Referenced by GB_login().
Definition at line 213 of file adfile.cxx.
References ARB_strdup(), gb_assert, GB_canonical_path(), GB_clear_error(), GB_concat_path(), GB_export_errorf(), GB_have_error(), GB_is_directory(), GB_is_readablefile(), GB_MIND_CASE, GB_string_comparator(), GBS_compile_matcher(), GBS_free_matcher(), GBS_global_string_copy(), GBS_string_matches_regexp(), and NULp.
Referenced by AWTC_create_submission_window(), ArbImporter::detect_format(), ArbImporter::import_data(), StorableSelectionList::load(), and LoadMenus().
const char* GB_get_arb_revision_tag | ( | void | ) |
retrieve arb revision tag (e.g. "14358@trunk") from ../lib/revision_info.txt File is generated by ../SOURCE_TOOLS/build_info.pl
Definition at line 304 of file adfile.cxx.
References GB_lib_file(), GB_read_file(), GBS_global_string_copy(), arb_test::nl(), and NULp.
Referenced by clientserver_error().