X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fposix%2Fnetdb.m4;h=e384ef7b332ce6c7f53d2fedb2faf73c3346bae9;hb=8d1d1243a8a42b0046ac670808913b3bb06c994b;hp=7f421260159f83ec44d701ee77739128a02e4ba5;hpb=3ef8c66ab1300801bcdb15b43f9f28e77b6487b6;p=m6w6%2Fext-psi diff --git a/m4/posix/netdb.m4 b/m4/posix/netdb.m4 index 7f42126..e384ef7 100644 --- a/m4/posix/netdb.m4 +++ b/m4/posix/netdb.m4 @@ -92,4 +92,17 @@ PSI_CHECK_NETDB() { PSI_DECL(void setnetent, [(int stayopen)]) PSI_DECL(void setprotoent, [(int stayopen)]) PSI_DECL(void setservent, [(int stayopen)]) + + PSI_STRUCT(struct gaicb, [ + const char *ar_name, + const char *ar_service, + const struct addrinfo *ar_request, + struct addrinfo *ar_result] + ) + + PSI_DECL(int getaddrinfo_a, [(int mode, struct gaicb *list@<:@@:>@, int nitems, struct sigevent *sevp)], [], [-lanl]) + PSI_DECL(int gai_suspend, [(const struct gaicb *list@<:@@:>@, int nitems, const struct timespec *timeout)], [], [-lanl]) + PSI_DECL(int gai_error, [(struct gaicb *req)], [], [-lanl]) + PSI_DECL(int gai_cancel, [(struct gaicb *req)], [], [-lanl]) + }