mirror of
https://review.haiku-os.org/haiku
synced 2025-01-30 18:24:53 +01:00
000fe088a7
Jef Poskanzer is providing the backend, but had to be adopted in some ways. Other issues in Poorman have been resolved. When testing the license integration, I stumbled over some AboutSystem bugs, basically clicking licenses would not open them. I fixed those in this patch, sorry for mixing that up. Note to Ma Jie: I changed the encoding of the libhttpd files to UTF-8! (This affects only the (C) glyph.) Thanks a lot for your awesome work on Poorman, it's really appreciated! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29906 a95241bf-73f2-0310-859d-f6bbb57e9c96
34 lines
606 B
C
34 lines
606 B
C
/*
|
|
* Copyright 2009 Haiku Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Author(s):
|
|
* Ma Jie, china.majie at gmail
|
|
*/
|
|
#ifndef POOR_MAN_LOG_H
|
|
#define POOR_MAN_LOG_H
|
|
|
|
#include <netinet/in.h>
|
|
|
|
#include "constants.h" //for rgb_color BLACK
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
void poorman_log(
|
|
const char* msg,
|
|
bool needTimeHeader = true,
|
|
in_addr_t addr = INADDR_NONE,
|
|
rgb_color color = BLACK
|
|
);
|
|
#else //c version is for libhttpd
|
|
void poorman_log(
|
|
const char* msg,
|
|
bool needTimeHeader,
|
|
in_addr_t addr,
|
|
rgb_color color
|
|
);
|
|
#endif
|
|
|
|
|
|
#endif // POOR_MAN_LOG_H
|