2 * Generic message printing helpers.
5 #include <gammu-misc.h>
12 int printf_err(const char *format
, ...)
17 /* l10n: Generic prefix for error messages */
18 printf("%s: ", _("Error"));
21 ret
= vprintf(format
, ap
);
28 int printf_warn(const char *format
, ...)
33 /* l10n: Generic prefix for warning messages */
34 printf("%s: ", _("Warning"));
37 ret
= vprintf(format
, ap
);
44 int printf_info(const char *format
, ...)
49 /* l10n: Generic prefix for informational messages */
50 printf("%s: ", _("Information"));
53 ret
= vprintf(format
, ap
);