|
Last change
on this file since 91 was 87, checked in by ogrimm, 17 years ago |
|
Corrections in SlowData class
|
|
File size:
604 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_COM_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*);
|
|---|
| 29 | bool AddToEntry(const char*, ...);
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.