diff -r b5a5df4f4421 -r d3e253d7281a src/transport_fd.h --- a/src/transport_fd.h Tue Apr 28 23:09:28 2009 +0300 +++ b/src/transport_fd.h Tue Apr 28 23:10:30 2009 +0300 @@ -17,6 +17,11 @@ struct transport_fd; /** + * Our transport_type + */ +extern const struct transport_type transport_fd_type; + +/** * Low-level callback */ typedef void (*transport_fd_callback_func) (struct transport_fd *fd, short what, void *arg); @@ -78,11 +83,6 @@ err_t transport_fd_methods_events (transport_t *transport, short mask, error_t *err); /** - * The transport_methods struct - */ -extern const struct transport_methods transport_fd_methods; - -/** * A transport_fd_callback_func that simply invokes the transport_callback user functions. * * Register with a NULL cb_arg.