52 bool unique_names(vector<BaseType *> l,
const string &var,
const string &type,
67 void flush_stream(iostream ios, FILE *out);
77 bool dir_writable(
const string &dir);
148 int wildcmp(
const char *wild,
const char *
string);
150 int glob(
const char *c,
const char *s );
152 int wmatch(
const char *pat,
const char *s);
154 time_t
parse_time(
const char * str,
bool expand);
156 bool size_ok(
unsigned int sz,
unsigned int nelem);
157 bool pathname_ok(
const string &path,
bool strict =
true);
time_t parse_time(const char *str, bool expand)
string prune_spaces(const string &name)
int wmatch(const char *pat, const char *s)
bool dir_exists(const string &dir)
bool size_ok(unsigned int sz, unsigned int nelem)
sanitize the size of an array. Test for integer overflow when dynamically allocating an array...
const char * dods_progress()
int wildcmp(const char *wild, const char *string)
bool pathname_ok(const string &path, bool strict)
Does the string name a potentailly valid pathname? Test the given pathname to verfiy that it is a val...
string file_to_string(FILE *fp)
string path_to_filename(string path)
bool is_quoted(const string &s)
const char * libdap_root()
void append_long_to_string(long val, int base, string &str_val)
string long_to_string(long val, int base)
string double_to_string(const double &num)
string remove_quotes(const string &s)
bool unique_names(vector< BaseType * > l, const string &var_name, const string &type_name, string &msg)
FILE * text_to_temp(string text)
const char * libdap_version()
int glob(const char *c, const char *s)
void append_double_to_string(const double &num, string &str)
const char * libdap_name()