summaryrefslogtreecommitdiffstats
path: root/cpukit/mghttpd/mongoose.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-03 14:54:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-06 12:57:07 +0200
commit214156d98c3421a84fe8ad27ba8891651eea7291 (patch)
tree90c1e146f07c5719d4079d6ff1e4eba25bad5cd9 /cpukit/mghttpd/mongoose.h
parentrtems: Fix no protocol mutex release (diff)
downloadrtems-214156d98c3421a84fe8ad27ba8891651eea7291.tar.bz2
mghttpd: Add RTEMS printer support
Diffstat (limited to 'cpukit/mghttpd/mongoose.h')
-rw-r--r--cpukit/mghttpd/mongoose.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/mghttpd/mongoose.h b/cpukit/mghttpd/mongoose.h
index ad7c40f2dd..330ed6701b 100644
--- a/cpukit/mghttpd/mongoose.h
+++ b/cpukit/mghttpd/mongoose.h
@@ -256,6 +256,10 @@ enum {
// Works exactly like mg_write(), but allows to do message formatting.
int mg_printf(struct mg_connection *,
PRINTF_FORMAT_STRING(const char *fmt), ...) PRINTF_ARGS(2, 3);
+#ifdef __rtems__
+struct rtems_printer;
+void rtems_print_printer_mg_printf(struct rtems_printer *, struct mg_connection *);
+#endif /* __rtems__ */
// Send contents of the entire file together with HTTP headers.