mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Add chiaki_discovery_wakeup()
This commit is contained in:
parent
ed19f8610d
commit
e3afc11a35
3 changed files with 63 additions and 47 deletions
|
@ -112,6 +112,12 @@ typedef struct chiaki_discovery_thread_t
|
|||
CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_thread_start(ChiakiDiscoveryThread *thread, ChiakiDiscovery *discovery, ChiakiDiscoveryCb cb, void *cb_user);
|
||||
CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_thread_stop(ChiakiDiscoveryThread *thread);
|
||||
|
||||
/**
|
||||
* Convenience function to send a wakeup packet
|
||||
* @param discovery Discovery to send the packet on. May be NULL, in which case a new temporary Discovery will be created
|
||||
*/
|
||||
CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_wakeup(ChiakiLog *log, ChiakiDiscovery *discovery, const char *host, uint64_t user_credential);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue