forked from wwivbbs/wwiv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate app options from fossil options, and use real second based t…
…imeout
- Loading branch information
Showing
5 changed files
with
59 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
#ifndef INCLUDED_FOSSIL_H | ||
#define INCLUDED_FOSSIL_H | ||
|
||
#include "dostypes.h" | ||
|
||
#define ENABLE_LOG | ||
#define FOSSIL_BUFFER_SIZE 4000 | ||
|
||
void enable_fossil(int nodenum, int comport); | ||
void disable_fossil(); | ||
class FossilOptions { | ||
public: | ||
FossilOptions(); | ||
~FossilOptions(); | ||
|
||
int comport; | ||
int node_number; | ||
int open_timeout_seconds; | ||
}; | ||
|
||
bool enable_fossil(const FossilOptions* options); | ||
bool disable_fossil(); | ||
|
||
#endif // INCLUDED_FOSSIL_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters