|
@@ -1183,6 +1183,7 @@ struct modminer_fpga_state {
|
|
|
extern void get_datestamp(char *, struct timeval *);
|
|
extern void get_datestamp(char *, struct timeval *);
|
|
|
extern void submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce);
|
|
extern void submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce);
|
|
|
extern struct work *get_queued(struct cgpu_info *cgpu);
|
|
extern struct work *get_queued(struct cgpu_info *cgpu);
|
|
|
|
|
+extern struct work *find_work(struct cgpu_info *cgpu, char *midstate, size_t midstatelen, char *data, int offset, size_t datalen);
|
|
|
extern void work_completed(struct cgpu_info *cgpu, struct work *work);
|
|
extern void work_completed(struct cgpu_info *cgpu, struct work *work);
|
|
|
extern void hash_queued_work(struct thr_info *mythr);
|
|
extern void hash_queued_work(struct thr_info *mythr);
|
|
|
extern void tailsprintf(char *f, const char *fmt, ...);
|
|
extern void tailsprintf(char *f, const char *fmt, ...);
|