auth: Move auth_session_info into IDL
[sfrench/samba-autobuild/.git] / librpc / ndr / ndr_misc.c
index 2e5ecbac6de8be7b3bd8e7fdf896446e2055386a..c4a1adb3eade226f5b305b57babcd34320d343da 100644 (file)
 #include "system/network.h"
 #include "librpc/ndr/libndr.h"
 
-_PUBLIC_ void ndr_print_in_addr(struct ndr_print *ndr, const char *name, const struct in_addr *_ip)
-{
-       struct in_addr ip;
-
-       ip.s_addr = htonl(_ip->s_addr);
-
-       ndr->print(ndr, "%-25s: %s", name, inet_ntoa(ip));
-}
-
 _PUBLIC_ void ndr_print_GUID(struct ndr_print *ndr, const char *name, const struct GUID *guid)
 {
        ndr->print(ndr, "%-25s: %s", name, GUID_string(ndr, guid));