Cody style: Replace init with initialize.
diff --git a/ndn-cpp/c/transport/socket-transport.h b/ndn-cpp/c/transport/socket-transport.h
index 148c3d3..9c99698 100644
--- a/ndn-cpp/c/transport/socket-transport.h
+++ b/ndn-cpp/c/transport/socket-transport.h
@@ -26,7 +26,7 @@
* Initialize the ndn_SocketTransport struct with default values for no connection yet.
* @param self A pointer to the ndn_SocketTransport struct.
*/
-static inline void ndn_SocketTransport_init(struct ndn_SocketTransport *self)
+static inline void ndn_SocketTransport_initialize(struct ndn_SocketTransport *self)
{
self->socketDescriptor = -1;
}
diff --git a/ndn-cpp/c/transport/tcp-transport.h b/ndn-cpp/c/transport/tcp-transport.h
index 73e4e7f..3f87a51 100644
--- a/ndn-cpp/c/transport/tcp-transport.h
+++ b/ndn-cpp/c/transport/tcp-transport.h
@@ -22,9 +22,9 @@
* Initialize the ndn_TcpTransport struct with default values for no connection yet.
* @param self A pointer to the ndn_TcpTransport struct.
*/
-static inline void ndn_TcpTransport_init(struct ndn_TcpTransport *self)
+static inline void ndn_TcpTransport_initialize(struct ndn_TcpTransport *self)
{
- ndn_SocketTransport_init(&self->base);
+ ndn_SocketTransport_initialize(&self->base);
}
/**
diff --git a/ndn-cpp/c/transport/udp-transport.h b/ndn-cpp/c/transport/udp-transport.h
index be60ab6..6a09574 100644
--- a/ndn-cpp/c/transport/udp-transport.h
+++ b/ndn-cpp/c/transport/udp-transport.h
@@ -22,9 +22,9 @@
* Initialize the ndn_UdpTransport struct with default values for no connection yet.
* @param self A pointer to the ndn_UdpTransport struct.
*/
-static inline void ndn_UdpTransport_init(struct ndn_UdpTransport *self)
+static inline void ndn_UdpTransport_initialize(struct ndn_UdpTransport *self)
{
- ndn_SocketTransport_init(&self->base);
+ ndn_SocketTransport_initialize(&self->base);
}
/**