30 static struct error_state
state;
31 static struct error_state *
st = &
state;
33 static void init(
void)
74 if ((fp = tmpfile())) {
75 count = vfprintf(fp, fmt, ap);
78 if (fread(work, 1,
count, fp) != (
size_t)
count) {
81 st->driver_name, strerror(errno));
void db_d_append_error(const char *fmt,...)
Append error message for DB driver.
void db_d_report_error(void)
Report error message for DB driver.
void db_d_init_error(const char *name)
Init error message for DB driver.
int db_set_string(dbString *, const char *)
Inserts string to dbString (enlarge string)
void db_init_string(dbString *)
Initialize dbString.
void db_error(const char *)
Report error message.
int db_append_string(dbString *, const char *)
Append string to dbString.
char * db_get_string(const dbString *)
Get string.
void G_free(void *)
Free allocated memory.
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf