libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / apps / poorman / PoorManLogger.h
blob961d5e6e610f7510c65e4978a1450d876273062c
1 /*
2 * Copyright 2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Author(s):
6 * Ma Jie, china.majie at gmail
7 */
8 #ifndef POOR_MAN_LOG_H
9 #define POOR_MAN_LOG_H
11 #include <netinet/in.h>
13 #include "constants.h" //for rgb_color BLACK
15 #ifdef __cplusplus
16 extern "C"
17 void poorman_log(
18 const char* msg,
19 bool needTimeHeader = true,
20 in_addr_t addr = INADDR_NONE,
21 rgb_color color = BLACK
23 #else //c version is for libhttpd
24 void poorman_log(
25 const char* msg,
26 bool needTimeHeader,
27 in_addr_t addr,
28 rgb_color color
30 #endif
33 #endif // POOR_MAN_LOG_H