aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/socket.h
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-07-20 00:03:16 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-09-02 18:42:21 +0200
commite4181ea8a202dd2c690c51c244fcff18b43be7dd (patch)
treecfda7e3bd86722aa9b6e6393c3ac84c38fbbaf10 /include/osmocom/core/socket.h
parent43957e69cae9fa8e2fadeb72a754c44356482cdb (diff)
socket: add osmo_sockaddr_cmp()
Compare two osmo_sockaddr. Change-Id: I2d12ebae2710ffd17cf071e6ada0804e73f87dd6
Diffstat (limited to 'include/osmocom/core/socket.h')
-rw-r--r--include/osmocom/core/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/core/socket.h b/include/osmocom/core/socket.h
index 44414498..e417f429 100644
--- a/include/osmocom/core/socket.h
+++ b/include/osmocom/core/socket.h
@@ -113,5 +113,7 @@ int osmo_sock_mcast_subscribe(int fd, const char *grp_addr);
int osmo_sock_local_ip(char *local_ip, const char *remote_ip);
+int osmo_sockaddr_cmp(struct osmo_sockaddr *a, struct osmo_sockaddr *b);
+
#endif /* (!EMBEDDED) */
/*! @} */