]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Rename com_cdt to com_chs
authorAndre <maan@p133.(none)>
Fri, 10 Mar 2006 18:57:15 +0000 (19:57 +0100)
committerAndre <maan@p133.(none)>
Fri, 10 Mar 2006 18:57:15 +0000 (19:57 +0100)
chs: change (audio file) selector.

command.c

index 7a258f2e4c4e9792ff0275e868947b0c1bc0af34..6bee5dd55692307a56ccdc1d4df09a12d5ff9752 100644 (file)
--- a/command.c
+++ b/command.c
@@ -63,7 +63,7 @@ static int com_stop(int, int, char **);
 static int com_pause(int, int, char **);
 static int com_next(int, int, char **);
 static int com_nomore(int, int, char **);
 static int com_pause(int, int, char **);
 static int com_next(int, int, char **);
 static int com_nomore(int, int, char **);
-static int com_cdt(int, int, char **);
+static int com_chs(int, int, char **);
 static int com_ff(int, int, char **);
 static int com_jmp(int, int, char **);
 static int com_sender(int, int, char **);
 static int com_ff(int, int, char **);
 static int com_jmp(int, int, char **);
 static int com_sender(int, int, char **);
@@ -72,11 +72,11 @@ static int com_sender(int, int, char **);
 /* commands that are handled by the server itself */
 static struct server_command cmd_struct[] = {
 {
 /* commands that are handled by the server itself */
 static struct server_command cmd_struct[] = {
 {
-.name = "cdt",
-.handler = com_cdt,
+.name = "chs",
+.handler = com_chs,
 .perms = DB_READ | DB_WRITE,
 .description = "change the current audio file selector",
 .perms = DB_READ | DB_WRITE,
 .description = "change the current audio file selector",
-.synopsis = "cdt [new_selector]",
+.synopsis = "chs [new_selector]",
 .help =
 "Shutdown the current selector and activate new_selector. If no\n"
 "argument was given, print the name of the current selector.\n"
 .help =
 "Shutdown the current selector and activate new_selector. If no\n"
 "argument was given, print the name of the current selector.\n"
@@ -848,7 +848,7 @@ static int com_pause(__unused int socket_fd, int argc, __unused char **argv)
        return 1;
 }
 
        return 1;
 }
 
-static int com_cdt(int fd, int argc, char **argv)
+static int com_chs(int fd, int argc, char **argv)
 {
        int i, ret;
 
 {
        int i, ret;