Commit 51a6ee88 authored by Max Kellermann's avatar Max Kellermann

command: no CamelCase

Eliminate CamelCase in all public and static functions.
parent 69c563b5
......@@ -335,9 +335,9 @@ static int client_process_line(struct client *client, char *line)
if (strcmp(line, CLIENT_LIST_MODE_END) == 0) {
DEBUG("client %i: process command "
"list\n", client->num);
ret = processListOfCommands(client,
client->cmd_list_OK,
client->cmd_list);
ret = command_process_list(client,
client->cmd_list_OK,
client->cmd_list);
DEBUG("client %i: process command "
"list returned %i\n", client->num, ret);
......@@ -379,7 +379,7 @@ static int client_process_line(struct client *client, char *line)
} else {
DEBUG("client %i: process command \"%s\"\n",
client->num, line);
ret = processCommand(client, line);
ret = command_process(client, line);
DEBUG("client %i: command returned %i\n",
client->num, ret);
......
......@@ -29,14 +29,16 @@
struct client;
int processListOfCommands(struct client *client,
int listOK, struct strnode *list);
void command_init(void);
int processCommand(struct client *client, char *commandString);
void command_finish(void);
void initCommands(void);
int
command_process_list(struct client *client,
int list_ok, struct strnode *list);
void finishCommands(void);
int
command_process(struct client *client, char *commandString);
void command_success(struct client *client);
......
......@@ -420,7 +420,7 @@ int main(int argc, char *argv[])
openDB(&options, argv[0]);
initCommands();
command_init();
initPlayerData();
pc_init(buffered_before_play);
ob_init(buffered_chunks, &pc.notify);
......@@ -484,7 +484,7 @@ int main(int argc, char *argv[])
finishPermissions();
dc_deinit();
pc_deinit();
finishCommands();
command_finish();
decoder_plugin_deinit_all();
ob_free();
cleanUpPidFile();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment