Move functionality into ndn_SocketTransport base class.
diff --git a/ndn-cpp/c/errors.h b/ndn-cpp/c/errors.h
index f574b6a..6a3daf4 100644
--- a/ndn-cpp/c/errors.h
+++ b/ndn-cpp/c/errors.h
@@ -34,16 +34,12 @@
NDN_ERROR_unrecognized_ndn_ExcludeType,
NDN_ERROR_unrecognized_ndn_KeyLocatorType,
NDN_ERROR_decodeBinaryXMLKeyLocator_unrecognized_key_locator_type,
- NDN_ERROR_TcpTransport_error_in_getaddrinfo,
- NDN_ERROR_TcpTransport_cannot_connect_to_socket,
- NDN_ERROR_TcpTransport_socket_is_not_open,
- NDN_ERROR_TcpTransport_error_in_send,
- NDN_ERROR_TcpTransport_error_in_recv,
- NDN_ERROR_UdpTransport_error_in_getaddrinfo,
- NDN_ERROR_UdpTransport_cannot_connect_to_socket,
- NDN_ERROR_UdpTransport_socket_is_not_open,
- NDN_ERROR_UdpTransport_error_in_send,
- NDN_ERROR_UdpTransport_error_in_recv
+ NDN_ERROR_unrecognized_ndn_SocketTransport,
+ NDN_ERROR_SocketTransport_error_in_getaddrinfo,
+ NDN_ERROR_SocketTransport_cannot_connect_to_socket,
+ NDN_ERROR_SocketTransport_socket_is_not_open,
+ NDN_ERROR_SocketTransport_error_in_send,
+ NDN_ERROR_SocketTransport_error_in_recv
} ndn_Error;
/**