projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bool -> SilcBool.
[silc.git]
/
lib
/
silcutil
/
silcnet.h
diff --git
a/lib/silcutil/silcnet.h
b/lib/silcutil/silcnet.h
index f5525d077e2c05c8944f1dccf72eccf831d8116f..08168fa31f794e90b6ffcec3e4dafcf09d175798 100644
(file)
--- a/
lib/silcutil/silcnet.h
+++ b/
lib/silcutil/silcnet.h
@@
-109,7
+109,7
@@
typedef void (*SilcNetCallback)(SilcNetStatus status,
* SilcNetServer
* silc_net_create_server(const char **local_ip_addr,
* SilcUInt32 local_ip_count,
* SilcNetServer
* silc_net_create_server(const char **local_ip_addr,
* SilcUInt32 local_ip_count,
- * int port,
b
ool require_fqdn,
+ * int port,
SilcB
ool require_fqdn,
* SilcSchedule schedule,
* SilcNetCallback callback, void *context);
*
* SilcSchedule schedule,
* SilcNetCallback callback, void *context);
*
@@
-127,7
+127,7
@@
typedef void (*SilcNetCallback)(SilcNetStatus status,
***/
SilcNetServer
silc_net_create_server(const char **local_ip_addr, SilcUInt32 local_ip_count,
***/
SilcNetServer
silc_net_create_server(const char **local_ip_addr, SilcUInt32 local_ip_count,
- int port,
b
ool require_fqdn, SilcSchedule schedule,
+ int port,
SilcB
ool require_fqdn, SilcSchedule schedule,
SilcNetCallback callback, void *context);
/****f* silcutil/SilcNetAPI/silc_net_close_server
SilcNetCallback callback, void *context);
/****f* silcutil/SilcNetAPI/silc_net_close_server
@@
-259,33
+259,33
@@
int silc_net_get_socket_opt(int sock, int level, int option,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_net_is_ip4(const char *addr);
+ *
SilcB
ool silc_net_is_ip4(const char *addr);
*
* DESCRIPTION
*
* Checks whether IP address sent as argument is valid IPv4 address.
*
***/
*
* DESCRIPTION
*
* Checks whether IP address sent as argument is valid IPv4 address.
*
***/
-
b
ool silc_net_is_ip4(const char *addr);
+
SilcB
ool silc_net_is_ip4(const char *addr);
/****f* silcutil/SilcNetAPI/silc_net_is_ip6
*
* SYNOPSIS
*
/****f* silcutil/SilcNetAPI/silc_net_is_ip6
*
* SYNOPSIS
*
- *
b
ool silc_net_is_ip6(const char *addr);
+ *
SilcB
ool silc_net_is_ip6(const char *addr);
*
* DESCRIPTION
*
* Checks whether IP address sent as argument is valid IPv6 address.
*
***/
*
* DESCRIPTION
*
* Checks whether IP address sent as argument is valid IPv6 address.
*
***/
-
b
ool silc_net_is_ip6(const char *addr);
+
SilcB
ool silc_net_is_ip6(const char *addr);
/****f* silcutil/SilcNetAPI/silc_net_is_ip
*
* SYNOPSIS
*
/****f* silcutil/SilcNetAPI/silc_net_is_ip
*
* SYNOPSIS
*
- *
b
ool silc_net_is_ip(const char *addr);
+ *
SilcB
ool silc_net_is_ip(const char *addr);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-293,13
+293,13
@@
bool silc_net_is_ip6(const char *addr);
* This supports both IPv4 and IPv6 addresses.
*
***/
* This supports both IPv4 and IPv6 addresses.
*
***/
-
b
ool silc_net_is_ip(const char *addr);
+
SilcB
ool silc_net_is_ip(const char *addr);
/****f* silcutil/SilcNetAPI/silc_net_addr2bin
*
* SYNOPSIS
*
/****f* silcutil/SilcNetAPI/silc_net_addr2bin
*
* SYNOPSIS
*
- *
b
ool silc_net_addr2bin(const char *addr, void *bin, SilcUInt32 bin_len);
+ *
SilcB
ool silc_net_addr2bin(const char *addr, void *bin, SilcUInt32 bin_len);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-308,7
+308,7
@@
bool silc_net_is_ip(const char *addr);
* IPv4 or IPv6 address.
*
***/
* IPv4 or IPv6 address.
*
***/
-
b
ool silc_net_addr2bin(const char *addr, void *bin, SilcUInt32 bin_len);
+
SilcB
ool silc_net_addr2bin(const char *addr, void *bin, SilcUInt32 bin_len);
/****f* silcutil/SilcNetAPI/SilcNetResolveCallback
*
/****f* silcutil/SilcNetAPI/SilcNetResolveCallback
*
@@
-330,7
+330,7
@@
typedef void (*SilcNetResolveCallback)(const char *result, void *context);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
bool silc_net_gethostbyname(const char *name, b
ool prefer_ipv6,
+ *
SilcBool silc_net_gethostbyname(const char *name, SilcB
ool prefer_ipv6,
* char *address, SilcUInt32 address_len);
*
* DESCRIPTION
* char *address, SilcUInt32 address_len);
*
* DESCRIPTION
@@
-344,7
+344,7
@@
typedef void (*SilcNetResolveCallback)(const char *result, void *context);
* address also.
*
***/
* address also.
*
***/
-
bool silc_net_gethostbyname(const char *name, b
ool prefer_ipv6, char *address,
+
SilcBool silc_net_gethostbyname(const char *name, SilcB
ool prefer_ipv6, char *address,
SilcUInt32 address_len);
/****f* silcutil/SilcNetAPI/silc_net_gethostbyname_async
SilcUInt32 address_len);
/****f* silcutil/SilcNetAPI/silc_net_gethostbyname_async
@@
-352,7
+352,7
@@
bool silc_net_gethostbyname(const char *name, bool prefer_ipv6, char *address,
* SYNOPSIS
*
* void silc_net_gethostbyname_async(const char *name,
* SYNOPSIS
*
* void silc_net_gethostbyname_async(const char *name,
- *
b
ool prefer_ipv6,
+ *
SilcB
ool prefer_ipv6,
* SilcSchedule schedule,
* SilcNetResolveCallback completion,
* void *context)
* SilcSchedule schedule,
* SilcNetResolveCallback completion,
* void *context)
@@
-370,7
+370,7
@@
bool silc_net_gethostbyname(const char *name, bool prefer_ipv6, char *address,
*
***/
void silc_net_gethostbyname_async(const char *name,
*
***/
void silc_net_gethostbyname_async(const char *name,
-
b
ool prefer_ipv6,
+
SilcB
ool prefer_ipv6,
SilcSchedule schedule,
SilcNetResolveCallback completion,
void *context);
SilcSchedule schedule,
SilcNetResolveCallback completion,
void *context);
@@
-379,7
+379,7
@@
void silc_net_gethostbyname_async(const char *name,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_net_gethostbyaddr(const char *addr, char *name,
+ *
SilcB
ool silc_net_gethostbyaddr(const char *addr, char *name,
* SilcUInt32 name_len);
*
* DESCRIPTION
* SilcUInt32 name_len);
*
* DESCRIPTION
@@
-390,7
+390,7
@@
void silc_net_gethostbyname_async(const char *name,
* This is synchronous function and will block the calling process.
*
***/
* This is synchronous function and will block the calling process.
*
***/
-
b
ool silc_net_gethostbyaddr(const char *addr, char *name, SilcUInt32 name_len);
+
SilcB
ool silc_net_gethostbyaddr(const char *addr, char *name, SilcUInt32 name_len);
/****f* silcutil/SilcNetAPI/silc_net_gethostbyaddr_async
*
/****f* silcutil/SilcNetAPI/silc_net_gethostbyaddr_async
*
@@
-418,7
+418,7
@@
void silc_net_gethostbyaddr_async(const char *addr,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_net_check_host_by_sock(int sock, char **hostname, char **ip);
+ *
SilcB
ool silc_net_check_host_by_sock(int sock, char **hostname, char **ip);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-426,13
+426,13
@@
void silc_net_gethostbyaddr_async(const char *addr,
* lookup as well to verify that the IP has FQDN.
*
***/
* lookup as well to verify that the IP has FQDN.
*
***/
-
b
ool silc_net_check_host_by_sock(int sock, char **hostname, char **ip);
+
SilcB
ool silc_net_check_host_by_sock(int sock, char **hostname, char **ip);
/****f* silcutil/SilcNetAPI/silc_net_check_local_by_sock
*
* SYNOPSIS
*
/****f* silcutil/SilcNetAPI/silc_net_check_local_by_sock
*
* SYNOPSIS
*
- *
b
ool silc_net_check_local_by_sock(int sock, char **hostname, char **ip);
+ *
SilcB
ool silc_net_check_local_by_sock(int sock, char **hostname, char **ip);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-440,7
+440,7
@@
bool silc_net_check_host_by_sock(int sock, char **hostname, char **ip);
* lookup as well to verify that the IP has FQDN.
*
***/
* lookup as well to verify that the IP has FQDN.
*
***/
-
b
ool silc_net_check_local_by_sock(int sock, char **hostname, char **ip);
+
SilcB
ool silc_net_check_local_by_sock(int sock, char **hostname, char **ip);
/****f* silcutil/SilcNetAPI/silc_net_get_remote_port
*
/****f* silcutil/SilcNetAPI/silc_net_get_remote_port
*
@@
-501,7
+501,7
@@
char *silc_net_localip(void);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_net_win32_init(void);
+ *
SilcB
ool silc_net_win32_init(void);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-518,7
+518,7
@@
char *silc_net_localip(void);
* This routines is available only on Win32 platform.
*
***/
* This routines is available only on Win32 platform.
*
***/
-
b
ool silc_net_win32_init(void);
+
SilcB
ool silc_net_win32_init(void);
/****f* silcutil/SilcNetAPI/silc_net_win32_uninit
*
/****f* silcutil/SilcNetAPI/silc_net_win32_uninit
*