mirror of https://github.com/GOSTSec/poolserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
442 B
23 lines
442 B
10 years ago
|
#ifndef SHARE_H_
|
||
|
#define SHARE_H_
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include "Common.h"
|
||
|
|
||
|
class Share
|
||
|
{
|
||
|
public:
|
||
|
Share(uint32 ahost, std::string ausername, bool aresult, std::string areason, uint64 atime, uint64 adiff):
|
||
|
host(ahost), username(ausername), result(aresult), reason(areason), time(atime), diff(adiff) {}
|
||
|
|
||
|
uint64 host;
|
||
|
std::string username;
|
||
|
bool result;
|
||
|
std::string reason;
|
||
|
uint64 time;
|
||
|
uint64 diff;
|
||
|
};
|
||
|
|
||
|
#endif
|