1/*
2 * Copyright 2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Author(s):
6 *		Ma Jie, china.majie at gmail
7 */
8#ifndef POOR_MAN_LOG_H
9#define POOR_MAN_LOG_H
10
11#include <netinet/in.h>
12
13#include "constants.h" //for rgb_color BLACK
14
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
22	);
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
29	);
30#endif
31
32
33#endif	// POOR_MAN_LOG_H
34