return __objt_check(cs->app);
return NULL;
}
-static inline const char *cs_get_data_name(const struct stconn *cs)
+
+/* Returns the name of the application layer's name for the stconn,
+ * or "NONE" when none is attached.
+ */
+static inline const char *sc_get_data_name(const struct stconn *cs)
{
if (!cs->app_ops)
return "NONE";
conn_get_ctrl_name(conn),
conn_get_xprt_name(conn),
conn_get_mux_name(conn),
- cs_get_data_name(scf),
+ sc_get_data_name(scf),
obj_type_name(conn->target),
obj_base_ptr(conn->target));
conn_get_ctrl_name(conn),
conn_get_xprt_name(conn),
conn_get_mux_name(conn),
- cs_get_data_name(scb),
+ sc_get_data_name(scb),
obj_type_name(conn->target),
obj_base_ptr(conn->target));