Lines Matching +defs:file +defs:type
6 * This file contains Original Code and/or Modifications of Original Code
8 * Version 2.0 (the 'License'). You may not use this file except in
11 * file.
67 * invoke the caller's callback with the appropriate data type.
1137 gethostbyaddr(const void *addr, socklen_t len, int type)
1143 fprintf(stderr, "-> %s %s\n", __func__, (type == AF_INET) ? inet_ntoa(*(struct in_addr *)addr) : "-IPv6-");
1148 item = si_host_byaddr(si_search(), addr, (uint32_t)type, NULL, &status);
1159 gethostbyaddr_async_call(const void *addr, socklen_t len, int type, si_host_async_callback callback, void *context)
1165 fprintf(stderr, ">> %s %s\n", __func__, (type == AF_INET) ? inet_ntoa(*(struct in_addr *)addr) : "-IPv6-");
1178 return si_async_call(si_search(), SI_CALL_HOST_BYADDR, addr, NULL, NULL, (uint32_t)type, 0, addrlen, 0, (void *)si_libinfo_general_callback, sictx);
1637 getnetbyaddr(uint32_t net, int type)
1645 if (type != AF_INET) return NULL;
1655 getnetbyaddr_async_call(uint32_t net, int type, si_group_async_callback callback, void *context)
1663 if (type != AF_INET) return MACH_PORT_NULL;
2206 getfsfile(const char *file)
2211 fprintf(stderr, "-> %s %s\n", __func__, file);
2214 item = si_fs_byfile(si_search(), file);
2222 getfsfile_async_call(const char *file, si_fs_async_callback callback, void *context)
2227 fprintf(stderr, ">> %s %s\n", __func__, file);
2238 return si_async_call(si_search(), SI_CALL_FS_BYFILE, file, NULL, NULL, 0, 0, 0, 0, (void *)si_libinfo_general_callback, sictx);