aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/network/host.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-03-23 15:25:43 +0000
committerMartin Willi <martin@strongswan.org>2006-03-23 15:25:43 +0000
commitdec598220b9a293c4ec75e593ab642a8945fa4fc (patch)
treea97247afbdb29e2b071933f8c9667a7ffa03cca3 /Source/charon/network/host.h
parent3264ce50b912f2aba09d2d8e7ee7ed9d364d9e46 (diff)
downloadstrongswan-dec598220b9a293c4ec75e593ab642a8945fa4fc.tar.bz2
strongswan-dec598220b9a293c4ec75e593ab642a8945fa4fc.tar.xz
- rewrite of logger_manager, uses now one instance per context
- cleanups for logger here and there - removed critical flag check in payload verification (conformance to IKEv2) - so thats and theres everywere... ;-)
Diffstat (limited to 'Source/charon/network/host.h')
-rw-r--r--Source/charon/network/host.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/charon/network/host.h b/Source/charon/network/host.h
index c5293bcdf..d81efffa6 100644
--- a/Source/charon/network/host.h
+++ b/Source/charon/network/host.h
@@ -155,7 +155,16 @@ struct host_t {
* @param other the other to compare
* @return TRUE if addresses are equal.
*/
- bool (*ip_is_equal) (host_t *this, host_t *other);
+ bool (*ip_equals) (host_t *this, host_t *other);
+
+ /**
+ * @brief Compare two hosts, with port.
+ *
+ * @param this object to compare
+ * @param other the other to compare
+ * @return TRUE if addresses and ports are equal.
+ */
+ bool (*equals) (host_t *this, host_t *other);
/**
* @brief Destroy this host object