21 |
#define format_h 1 |
#define format_h 1 |
22 |
|
|
23 |
/* Display format types. */ |
/* Display format types. */ |
24 |
|
|
25 |
|
#include "bool.h" |
26 |
|
|
27 |
/* See the definitions of these functions and variables when modifying |
/* See the definitions of these functions and variables when modifying |
28 |
this list: |
this list: |
29 |
misc.c:convert_fmt_ItoO() |
misc.c:convert_fmt_ItoO() |
90 |
int parse_format_specifier_name (const char **cp, enum fmt_parse_flags); |
int parse_format_specifier_name (const char **cp, enum fmt_parse_flags); |
91 |
int check_input_specifier (const struct fmt_spec *spec, int emit_error); |
int check_input_specifier (const struct fmt_spec *spec, int emit_error); |
92 |
int check_output_specifier (const struct fmt_spec *spec, int emit_error); |
int check_output_specifier (const struct fmt_spec *spec, int emit_error); |
93 |
int check_string_specifier (const struct fmt_spec *spec, int min_len); |
bool check_specifier_type (const struct fmt_spec *, int type, bool emit_error); |
94 |
|
bool check_specifier_width (const struct fmt_spec *, |
95 |
|
int width, bool emit_error); |
96 |
void convert_fmt_ItoO (const struct fmt_spec *input, struct fmt_spec *output); |
void convert_fmt_ItoO (const struct fmt_spec *input, struct fmt_spec *output); |
97 |
int get_format_var_width (const struct fmt_spec *); |
int get_format_var_width (const struct fmt_spec *); |
98 |
int parse_string_as_format (const char *s, int len, const struct fmt_spec *fp, |
int parse_string_as_format (const char *s, int len, const struct fmt_spec *fp, |