Better message
[gammu.git] / helper / printing.h
blob6cbdd14065dd38c9219714299fcfe2798c329cb0
1 /**
2 * Generic message printing helpers.
3 */
5 #ifndef __helper_printing_h__
6 #define __helper_printing_h__
8 #include <gammu-misc.h>
10 /**
11 * Write error to user.
13 PRINTF_STYLE(1, 2)
14 int printf_err(const char *format, ...);
16 /**
17 * Write warning to user.
19 PRINTF_STYLE(1, 2)
20 int printf_warn(const char *format, ...);
22 /**
23 * Write information to user.
25 PRINTF_STYLE(1, 2)
26 int printf_info(const char *format, ...);
29 #endif