22 #define LOG_BUFFER_SIZE 256
attr_type
Definition: attr.h:34
tuple iter
Definition: eval.py:8
Definition: gpx2navit_txt.h:51
void log_write(struct log *this_, char *data, int len, enum log_flags flags)
Writes to a log.
Definition: log.c:493
void log_set_header(struct log *this_, char *data, int len)
Sets the header for a log file.
Definition: log.c:445
void * log_get_buffer(struct log *this_, int *len)
Returns the data buffer of a log object and its length.
Definition: log.c:522
struct log * log_new(struct attr *parent, struct attr **attrs)
Creates and initializes a new log object.
Definition: log.c:382
log_flags
Definition: log.h:29
void log_destroy(struct log *this_)
Destroys a log object and frees up its memory.
Definition: log.c:562
int log_get_attr(struct log *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Gets an attribute.
Definition: log.c:368
char data
Definition: garmin_img.c:354
void log_printf(struct log *this_, char *fmt,...)
Writes a formatted string to a log.
Definition: log.c:541
char type[3]
Definition: garmin_img.c:130
void log_set_trailer(struct log *this_, char *data, int len)
Sets the trailer for a log file.
Definition: log.c:463
flags
Definition: gui_internal.h:26