Deleted Added
full compact
96a97,98
> #define XOF_RETAIN_ALL XOF_BIT(30) /** Force use of XOEF_RETAIN */
> #define XOF_RETAIN_NONE XOF_BIT(31) /** Prevent use of XOEF_RETAIN */
97a100,102
> typedef unsigned xo_emit_flags_t; /* Flags to xo_emit() and friends */
> #define XOEF_RETAIN (1<<0) /* Retain parsed formatting information */
>
164a170,175
> int
> xo_set_file_h (xo_handle_t *xop, FILE *fp);
>
> int
> xo_set_file (FILE *fp);
>
182a194,203
> int
> xo_emit_hvf (xo_handle_t *xop, xo_emit_flags_t flags,
> const char *fmt, va_list vap);
>
> int
> xo_emit_hf (xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, ...);
>
> int
> xo_emit_f (xo_emit_flags_t flags, const char *fmt, ...);
>
211a233,262
> PRINTFLIKE(3, 0)
> static inline int
> xo_emit_hvfp (xo_handle_t *xop, xo_emit_flags_t flags,
> const char *fmt, va_list vap)
> {
> return xo_emit_hvf(xop, flags, fmt, vap);
> }
>
> PRINTFLIKE(3, 4)
> static inline int
> xo_emit_hfp (xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, ...)
> {
> va_list vap;
> va_start(vap, fmt);
> int rc = xo_emit_hvf(xop, flags, fmt, vap);
> va_end(vap);
> return rc;
> }
>
> PRINTFLIKE(2, 3)
> static inline int
> xo_emit_fp (xo_emit_flags_t flags, const char *fmt, ...)
> {
> va_list vap;
> va_start(vap, fmt);
> int rc = xo_emit_hvf(NULL, flags, fmt, vap);
> va_end(vap);
> return rc;
> }
>
595a647,665
> int
> xo_emit_field_hv (xo_handle_t *xop, const char *rolmod, const char *contents,
> const char *fmt, const char *efmt,
> va_list vap);
>
> int
> xo_emit_field_h (xo_handle_t *xop, const char *rolmod, const char *contents,
> const char *fmt, const char *efmt, ...);
>
> int
> xo_emit_field (const char *rolmod, const char *contents,
> const char *fmt, const char *efmt, ...);
>
> void
> xo_retain_clear_all (void);
>
> void
> xo_retain_clear (const char *fmt);
>