195BU_EXPORT extern
int bu_vsscanf(const
char *src, const
char *fmt, va_list ap);
241#define BU_LEX_DOUBLE 2
246#define BU_LEX_SYMBOL 3
247#define BU_LEX_KEYWORD 4
252#define BU_LEX_IDENT 5
253#define BU_LEX_NUMBER 6
265#define BU_LEX_NEED_MORE 0
288BU_EXPORT
extern long int bu_mread(
int fd,
void *bufp,
long int n);
Header file for the BRL-CAD common definitions.
#define _BU_ATTR_PRINTF23
#define _BU_ATTR_PRINTF12
int bu_scan_fastf_t(int *c, const char *src, const char *delim, size_t n,...)
void bu_log_indent_vls(struct bu_vls *v)
void bu_setlinebuf(FILE *fp)
A portable way of doing setlinebuf().
void bu_log_hook_restore_all(struct bu_hook_list *restore_hlp)
int bu_sscanf(const char *src, const char *fmt,...) _BU_ATTR_SCANF23
void bu_log_hook_delete_all(void)
int bu_vsscanf(const char *src, const char *fmt, va_list ap)
libbu implementations of vsscanf/sscanf() with extra format specifiers.
int bu_flog(FILE *, const char *,...) _BU_ATTR_PRINTF23
void bu_log_add_hook(bu_hook_t func, void *clientdata)
void bu_log_hook_save_all(struct bu_hook_list *save_hlp)
int(* bu_hook_t)(void *, void *)
long int bu_mread(int fd, void *bufp, long int n)
multiple-read to fill a buffer
int bu_lex(union bu_lex_token *token, struct bu_vls *rtstr, struct bu_lex_key *keywords, struct bu_lex_key *symbols)
void bu_log_indent_delta(int delta)
parallel safe version of fprintf for logging
void bu_log_delete_hook(bu_hook_t func, void *clientdata)
char * bu_fgets(char *s, int size, FILE *stream)
fgets replacement function that also handles CR as an EOL marker
int bu_log(const char *,...) _BU_ATTR_PRINTF12
void float float int int int int float * size
Global registry of recognized magic numbers.
struct bu_lex_t_dbl t_dbl
struct bu_lex_t_key t_key
struct bu_lex_t_int t_int