|
Revision 7, 0.7 kB
(checked in by jesus, 13 years ago)
|
All of George's <george@lethargy.org> vhost additions.
New time rewriting so that timestamps are rewritten to reflect the time on the local machine running spreadlogd -- me.
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
/* ====================================================================== |
|---|
| 2 |
* Copyright (c) 2000 Theo Schlossnagle |
|---|
| 3 |
* All rights reserved. |
|---|
| 4 |
* The following code was written by Theo Schlossnagle <jesus@omniti.com> |
|---|
| 5 |
* This code was written to facilitate clustered logging via Spread. |
|---|
| 6 |
* More information on Spread can be found at http://www.spread.org/ |
|---|
| 7 |
* Please refer to the LICENSE file before using this software. |
|---|
| 8 |
* ====================================================================== |
|---|
| 9 |
*/ |
|---|
| 10 |
|
|---|
| 11 |
#ifndef _TIMEFUNCS_H_ |
|---|
| 12 |
#define _TIMEFUNCS_H_ |
|---|
| 13 |
|
|---|
| 14 |
#define NO_REWRITE_TIMES 0 |
|---|
| 15 |
#define REWRITE_TIMES_IN_CLF 1 |
|---|
| 16 |
#define REWRITE_TIMES_FORMAT 2 |
|---|
| 17 |
|
|---|
| 18 |
void force_local_time(char *string, int *length, const int buffsize, |
|---|
| 19 |
int style, char *format); |
|---|
| 20 |
|
|---|
| 21 |
#endif |
|---|