mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-15 04:42:06 +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 int wfd_out_session_teardown(struct wfd_session *);
|
||||||
extern void wfd_out_session_end(struct wfd_session *);
|
extern void wfd_out_session_end(struct wfd_session *);
|
||||||
extern void wfd_out_session_destroy(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[] = {
|
const struct wfd_session_vtable session_vtbl[] = {
|
||||||
[WFD_SESSION_DIR_OUT] = {
|
[WFD_SESSION_DIR_OUT] = {
|
||||||
|
@ -655,7 +656,7 @@ void wfd_session_free_p(struct wfd_session **s)
|
||||||
wfd_session_free(*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)) {
|
if(rtsp_message_id_is_valid(id)) {
|
||||||
return rtsp_message_names[id];
|
return rtsp_message_names[id];
|
||||||
|
|
|
@ -120,9 +120,8 @@ int wfd_session_request(struct wfd_session *s,
|
||||||
enum rtsp_message_id id,
|
enum rtsp_message_id id,
|
||||||
const struct wfd_arg_list *args);
|
const struct wfd_arg_list *args);
|
||||||
void wfd_session_end(struct wfd_session *s);
|
void wfd_session_end(struct wfd_session *s);
|
||||||
|
|
||||||
struct wfd_sink * wfd_out_session_get_sink(struct wfd_session *s);
|
struct wfd_sink * wfd_out_session_get_sink(struct wfd_session *s);
|
||||||
|
void wfd_session_set_state(struct wfd_session *s,
|
||||||
const char * rtsp_message_id_to_string(enum rtsp_message_id id);
|
enum wfd_session_state state);
|
||||||
|
|
||||||
#endif /* CTL_WFD_SESSION_H */
|
#endif /* CTL_WFD_SESSION_H */
|
||||||
|
|
Loading…
Reference in a new issue