X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Fstatd.h;h=e89e666d9cae977e5cad8f07c0144ecb3f6b4d98;hb=eb8229338f060f3974fd5557c8bc86fdb9005a81;hp=c2d5956ec3329147d0d9ec8274da6ba9b650ad82;hpb=d6ea66438d89c7708a10e464013491655f5361b0;p=nfs-utils.git diff --git a/utils/statd/statd.h b/utils/statd/statd.h index c2d5956..e89e666 100644 --- a/utils/statd/statd.h +++ b/utils/statd/statd.h @@ -25,6 +25,8 @@ extern _Bool statd_matchhostname(const char *hostname1, const char *hostname2); extern _Bool statd_present_address(const struct sockaddr *sap, char *buf, const size_t buflen); +__attribute_malloc__ +extern char * statd_canonical_name(const char *hostname); extern void my_svc_run(void); extern void notify_hosts(void);