mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-13 18:42:01 +00:00
miracle-wfdctl: do not expose rtsp_message_id_to_string() to outside
world
This commit is contained in:
parent
abf940f350
commit
afec924d49
2 changed files with 4 additions and 4 deletions
|
@ -45,6 +45,7 @@ extern int wfd_out_session_pause(struct wfd_session *);
|
|||
extern int wfd_out_session_teardown(struct wfd_session *);
|
||||
extern void wfd_out_session_end(struct wfd_session *);
|
||||
extern void wfd_out_session_destroy(struct wfd_session *);
|
||||
static const char * rtsp_message_id_to_string(enum rtsp_message_id id);
|
||||
|
||||
const struct wfd_session_vtable session_vtbl[] = {
|
||||
[WFD_SESSION_DIR_OUT] = {
|
||||
|
@ -655,7 +656,7 @@ void wfd_session_free_p(struct wfd_session **s)
|
|||
wfd_session_free(*s);
|
||||
}
|
||||
|
||||
const char * rtsp_message_id_to_string(enum rtsp_message_id id)
|
||||
static const char * rtsp_message_id_to_string(enum rtsp_message_id id)
|
||||
{
|
||||
if(rtsp_message_id_is_valid(id)) {
|
||||
return rtsp_message_names[id];
|
||||
|
|
|
@ -120,9 +120,8 @@ int wfd_session_request(struct wfd_session *s,
|
|||
enum rtsp_message_id id,
|
||||
const struct wfd_arg_list *args);
|
||||
void wfd_session_end(struct wfd_session *s);
|
||||
|
||||
struct wfd_sink * wfd_out_session_get_sink(struct wfd_session *s);
|
||||
|
||||
const char * rtsp_message_id_to_string(enum rtsp_message_id id);
|
||||
void wfd_session_set_state(struct wfd_session *s,
|
||||
enum wfd_session_state state);
|
||||
|
||||
#endif /* CTL_WFD_SESSION_H */
|
||||
|
|
Loading…
Reference in a new issue