driver-proxy.h 349 B

1234567891011121314151617181920
  1. #ifndef BFG_DRIVER_PROXY_H
  2. #define BFG_DRIVER_PROXY_H
  3. #include <uthash.h>
  4. #include "miner.h"
  5. struct proxy_client {
  6. char *username;
  7. struct cgpu_info *cgpu;
  8. struct work *work;
  9. struct timeval tv_hashes_done;
  10. float desired_share_pdiff;
  11. UT_hash_handle hh;
  12. };
  13. extern struct proxy_client *proxy_find_or_create_client(const char *user);
  14. #endif