Released version 3-2015061300
[notion.git] / utils / ion-statusd / extlrx.c
blob5ea52624ffce91e692d7adc1f26b4e55b43189d4
1 /*
2 * ion/utils/ion-statusd/extlrx.c
4 * Copyright (c) Tuomo Valkonen 2004-2009.
6 * See the included file LICENSE for details.
7 */
9 #include <libextl/extl.h>
10 #include <libtu/output.h>
11 #include <libtu/locale.h>
14 /*{{{ libtu */
17 /*EXTL_DOC
18 * Issue a warning. How the message is displayed depends on the current
19 * warning handler.
21 EXTL_EXPORT
22 void statusd_warn(const char *str)
24 warn("%s", str);
28 EXTL_EXPORT
29 const char *statusd_gettext(const char *s)
31 if(s==NULL)
32 return NULL;
33 else
34 return TR(s);
38 /*}}}*/