Add alternative hostname and service name helpers - #9
Conversation
|
@alexpevzner Any chance for this to get merged? These helpers are quite important for implementing service name conflict resolution. |
Yes — sorry for not spotting this earlier. To get this merged, we'll need proper function comments that explain what each function does, not just what it calls. One of the core values of this project is providing clear, usable documentation for Avahi's API, since the native documentation is often opaque and incomplete. So simply stating that AlternativeHostname calls avahi_alternative_host_name won't be enough — we need to explain the semantics: what the function actually does, why you'd use it, and what the expected behavior is. Could you add that? Happy to review once it's in. |
7a062bb to
cb7cac3
Compare
|
Done ;) |
|
Hi! I have reviewed But this is very unlikely that it will fail due to insufficient memory, so Similarly, And also please add to the functions explanations a couple of words that these functions are helper functions to resolve possible name collisions. Everything else looks good for me. |
|
I have merged and updated by myself... |
No description provided.