X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fstatd.h;h=e89e666d9cae977e5cad8f07c0144ecb3f6b4d98;hp=c2d5956ec3329147d0d9ec8274da6ba9b650ad82;hb=ffee293b10bbb80599ff4345a3155ff36ec05112;hpb=7f98c14d38badedd30d2d4a6b1d15e913967bf87 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);