1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-23 15:00:12 +00:00

CNC: use laikaC_iterPeersNext for sweepPeersTask

This commit is contained in:
2022-08-03 15:20:00 -05:00
parent 68f8e80c75
commit 770e34463e
2 changed files with 20 additions and 18 deletions

View File

@@ -54,6 +54,7 @@ struct sLaika_peer *laikaC_getPeerByPub(struct sLaika_cnc *cnc, uint8_t *pub);
void laikaC_sweepPeersTask(struct sLaika_taskService *service, struct sLaika_task *task,
clock_t currTick, void *uData);
bool laikaC_iterPeersNext(struct sLaika_cnc *cnc, size_t *i, struct sLaika_peer **peer);
void laikaC_iterPeers(struct sLaika_cnc *cnc, tLaika_peerIter iter, void *uData);
#endif
#endif