projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integer type name change.
[silc.git]
/
lib
/
silcutil
/
silcnet.c
diff --git
a/lib/silcutil/silcnet.c
b/lib/silcutil/silcnet.c
index 630f93292d485b5ebc39ef35b21c161f20f7ffd3..da0635952b313189308f881916f83a7aa3165e6b 100644
(file)
--- a/
lib/silcutil/silcnet.c
+++ b/
lib/silcutil/silcnet.c
@@
-145,7
+145,7
@@
static void *silc_net_gethostbyaddr_thread(void *context)
/* Resolves IP address for hostname. */
bool silc_net_gethostbyname(const char *name, bool prefer_ipv6, char *address,
/* Resolves IP address for hostname. */
bool silc_net_gethostbyname(const char *name, bool prefer_ipv6, char *address,
-
ui
nt32 address_len)
+
SilcUI
nt32 address_len)
{
#ifdef HAVE_IPV6
struct addrinfo hints, *ai, *tmp, *ip4 = NULL, *ip6 = NULL;
{
#ifdef HAVE_IPV6
struct addrinfo hints, *ai, *tmp, *ip4 = NULL, *ip6 = NULL;
@@
-226,7
+226,7
@@
void silc_net_gethostbyname_async(const char *name,
/* Resolves hostname by IP address. */
/* Resolves hostname by IP address. */
-bool silc_net_gethostbyaddr(const char *addr, char *name,
ui
nt32 name_len)
+bool silc_net_gethostbyaddr(const char *addr, char *name,
SilcUI
nt32 name_len)
{
#ifdef HAVE_IPV6
struct addrinfo req, *ai;
{
#ifdef HAVE_IPV6
struct addrinfo req, *ai;
@@
-406,7
+406,7
@@
bool silc_net_check_local_by_sock(int sock, char **hostname, char **ip)
/* Return remote port by socket. */
/* Return remote port by socket. */
-
ui
nt16 silc_net_get_remote_port(int sock)
+
SilcUI
nt16 silc_net_get_remote_port(int sock)
{
#ifdef HAVE_IPV6
struct sockaddr_storage remote;
{
#ifdef HAVE_IPV6
struct sockaddr_storage remote;
@@
-438,7
+438,7
@@
uint16 silc_net_get_remote_port(int sock)
/* Return local port by socket. */
/* Return local port by socket. */
-
ui
nt16 silc_net_get_local_port(int sock)
+
SilcUI
nt16 silc_net_get_local_port(int sock)
{
#ifdef HAVE_IPV6
struct sockaddr_storage local;
{
#ifdef HAVE_IPV6
struct sockaddr_storage local;