Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
33522bc5
Commit
33522bc5
authored
Sep 26, 2004
by
zorglub
Browse files
Add logout function to RC interface
parent
82aad75f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/control/rc.c
View file @
33522bc5
...
...
@@ -479,6 +479,15 @@ static void Run( intf_thread_t *p_intf )
psz_cmd
,
i_ret
,
vlc_error
(
i_ret
)
);
}
}
else
if
(
!
strcmp
(
psz_cmd
,
"logout"
)
)
{
/* Close connection */
if
(
p_intf
->
p_sys
->
i_socket
!=
-
1
)
{
net_Close
(
p_intf
->
p_sys
->
i_socket
);
}
p_intf
->
p_sys
->
i_socket
=
-
1
;
}
else
if
(
!
strcmp
(
psz_cmd
,
"info"
)
)
{
if
(
p_input
)
...
...
@@ -614,6 +623,7 @@ static void Run( intf_thread_t *p_intf )
printf
(
_
(
"| achan [X]. . . . . . . . set/get audio channels
\n
"
));
printf
(
"|
\n
"
);
printf
(
_
(
"| help . . . . . . . . . . . . . this help message
\n
"
));
printf
(
_
(
"| logout . . . . . .exit (if in socket connection)
\n
"
));
printf
(
_
(
"| quit . . . . . . . . . . . . . . . . . quit vlc
\n
"
));
printf
(
"|
\n
"
);
printf
(
_
(
"+----[ end of help ]
\n
"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment