-struct hook
-fail_open_hook_create(const struct settings *s, struct switch_status *ss,
- struct rconn *local_rconn, struct rconn *remote_rconn)
+static struct hook_class fail_open_hook_class = {
+ fail_open_local_packet_cb, /* local_packet_cb */
+ NULL, /* remote_packet_cb */
+ fail_open_periodic_cb, /* periodic_cb */
+ fail_open_wait_cb, /* wait_cb */
+ NULL, /* closing_cb */
+};
+
+void
+fail_open_start(struct secchan *secchan, const struct settings *s,
+ struct switch_status *ss,
+ struct rconn *local_rconn, struct rconn *remote_rconn)