Last change
on this file since 179 was 92, checked in by ogrimm, 15 years ago |
Added some configuration parameters. Log file written outside of repository.
|
File size:
626 bytes
|
Line | |
---|
1 | #ifndef SLOWDATA_H_SEEN
|
---|
2 | #define SLOWDATA_H_SEEN
|
---|
3 |
|
---|
4 | #include <stdlib.h>
|
---|
5 | #include <stdio.h>
|
---|
6 | #include <time.h>
|
---|
7 | #include <errno.h>
|
---|
8 | #include <stdarg.h>
|
---|
9 | #include <string.h>
|
---|
10 | #include <sys/time.h>
|
---|
11 | #include <ctype.h>
|
---|
12 |
|
---|
13 | #define MAX_PATH 256
|
---|
14 | #define MAX_ENTRY_SIZE 10000
|
---|
15 |
|
---|
16 | class SlowData {
|
---|
17 |
|
---|
18 | const char *Issuer;
|
---|
19 | FILE *SlowdataFile;
|
---|
20 | bool NewEntryCalled;
|
---|
21 | bool InternalCall;
|
---|
22 |
|
---|
23 | public:
|
---|
24 | SlowData(const char*, const char*);
|
---|
25 | ~SlowData();
|
---|
26 |
|
---|
27 | int ErrorCode; // Set to errno if an error occured, zero otherwise
|
---|
28 | bool NewEntry(const char*, const char* = NULL);
|
---|
29 | bool AddToEntry(const char*, ...);
|
---|
30 | };
|
---|
31 |
|
---|
32 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.