-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mdns: distinguish fake ships in the mdns namespace (#584)
Also print a better error message for linux users if avahi is not installed. I'm targeting this wonky branch to get this into 3.0.
- Loading branch information
Showing
3 changed files
with
44 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#include "noun.h" | ||
#include <stdbool.h> | ||
|
||
typedef void mdns_cb(c3_c* ship, c3_w s_addr, c3_s port, void* context); | ||
typedef void mdns_cb(c3_c* ship, bool fake, c3_w s_addr, c3_s port, void* context); | ||
|
||
void mdns_init(uint16_t port, char* our, mdns_cb* cb, void* context); | ||
void mdns_init(uint16_t port, bool fake, char* our, mdns_cb* cb, void* context); |