Searched refs:demonCommands (Results 1 – 4 of 4) sorted by relevance
568 if(demonCommands.numberOfCommands<2) in remove_demon_command()584 demonCommands.commands[i] = demonCommands.commands[i+1]; in remove_demon_command()586 demonCommands.numberOfCommands--; in remove_demon_command()587 demonCommands.commands = g_realloc( in remove_demon_command()588 demonCommands.commands, in remove_demon_command()598 if(demonCommands.numberOfCommands<2) in remove_demon_command()629 demonCommands.numberOfCommands++; in modify_demon_command()630 demonCommands.commands = g_realloc( in modify_demon_command()631 demonCommands.commands, in modify_demon_command()633 demonCommands.commands[demonCommands.numberOfCommands-1] = g_strdup(NameCommandDeMon); in modify_demon_command()[all …]
194 CommandsList demonCommands; variable
196 for(i=0;i<demonCommands.numberOfCommands;i++) in set_default_entrys()197 glist = g_list_append(glist,demonCommands.commands[i]); in set_default_entrys()
205 free_commands_list(&demonCommands); in free_demon_commands()1125 for(i=0;i<demonCommands.numberOfCommands;i++) in create_commands_file()1127 str_delete_n(demonCommands.commands[i]); in create_commands_file()1128 delete_last_spaces(demonCommands.commands[i]); in create_commands_file()1129 delete_first_spaces(demonCommands.commands[i]); in create_commands_file()1130 fprintf(fd,"%s\n",demonCommands.commands[i]); in create_commands_file()2510 demonCommands.numberOfCommands = 2; in initialise_global_variables()2512 demonCommands.numberOfCommands = 3; in initialise_global_variables()2515 demonCommands.numberOfDefaultCommand = 0; in initialise_global_variables()2516 demonCommands.commands = g_malloc(demonCommands.numberOfCommands*sizeof(gchar*)); in initialise_global_variables()[all …]