void (*chk_snd)(struct stconn *); /* chk_snd function, may not be null */
void (*abort)(struct stconn *); /* abort function, may not be null */
void (*shutdown)(struct stconn *); /* shutdown function, may not be null */
- int (*wake)(struct stconn *); /* data-layer callback to report activity */
char name[8]; /* data layer name, zero-terminated */
};
.chk_snd = sc_app_chk_snd_conn,
.abort = sc_app_abort_conn,
.shutdown= sc_app_shut_conn,
- .wake = sc_conn_process,
.name = "STRM",
};
.chk_snd = sc_app_chk_snd,
.abort = sc_app_abort,
.shutdown= sc_app_shut,
- .wake = NULL, /* may never be used */
.name = "NONE", /* may never be used */
};
.chk_snd = sc_app_chk_snd_applet,
.abort = sc_app_abort_applet,
.shutdown= sc_app_shut_applet,
- .wake = sc_applet_process,
.name = "STRM",
};
.chk_snd = NULL,
.abort = NULL,
.shutdown= NULL,
- .wake = wake_srv_chk,
.name = "CHCK",
};
.chk_snd = NULL,
.abort = NULL,
.shutdown= NULL,
- .wake = hstream_wake,
.name = "HTERM",
};