driver-proxy.h 321 B

12345678910111213141516171819
  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. UT_hash_handle hh;
  11. };
  12. extern struct proxy_client *proxy_find_or_create_client(const char *user);
  13. #endif