ARB
Functions
adfile.cxx File Reference
#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"
Include dependency graph for adfile.cxx:

Go to the source code of this file.

Functions

GB_CSTR GB_getcwd ()
 
GB_ERROR gb_scan_directory (char *basename, gb_scandir *sd)
 
charGB_find_all_files (const char *dir, const char *mask, bool filename_only)
 
charGB_find_latest_file (const char *dir, const char *mask)
 
static const charGB_existing_file (const char *file, bool warn_when_not_found)
 
charGB_lib_file (bool warn_when_not_found, const char *libprefix, const char *filename)
 
charGB_property_file (bool warn_when_not_found, const char *filename)
 
void GBS_read_dir (StrArray &names, const char *dir, const char *mask)
 
const charGB_get_arb_revision_tag ()
 

Function Documentation

GB_CSTR GB_getcwd ( void  )
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 
)
static

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

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 
)

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

void GBS_read_dir ( StrArray &  names,
const char dir,
const char mask 
)
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().