#include <string.h>#include <stdlib.h>#include <glib/gi18n-lib.h>#include "commands.h"#include "datastructures.h"#include "session.h"#include "internal.h"#include "utils.h"#include "settings.h"#include "shortcuts.h"Go to the source code of this file.
Functions | |
| bool | girara_cmd_map_unmap (girara_session_t *session, girara_list_t *argument_list, bool unmap) |
| bool | girara_cmd_map (girara_session_t *session, girara_list_t *argument_list) |
| bool | girara_cmd_unmap (girara_session_t *session, girara_list_t *argument_list) |
| bool | girara_cmd_quit (girara_session_t *session, girara_list_t *UNUSED(argument_list)) |
| bool | girara_cmd_set (girara_session_t *session, girara_list_t *argument_list) |
| bool | girara_inputbar_command_add (girara_session_t *session, const char *command, const char *abbreviation, girara_command_function_t function, girara_completion_function_t completion, const char *description) |
| bool | girara_special_command_add (girara_session_t *session, char identifier, girara_inputbar_special_function_t function, bool always, int argument_n, void *argument_data) |
| void | girara_special_command_free (girara_special_command_t *special_command) |
| void | girara_command_free (girara_command_t *command) |
| bool | girara_cmd_exec (girara_session_t *session, girara_list_t *argument_list) |
| bool girara_cmd_exec | ( | girara_session_t * | session, |
| girara_list_t * | argument_list | ||
| ) |
Execute an external command
| session | The used girara session |
| argument_list | List of passed arguments |
Definition at line 626 of file commands.c.
| bool girara_cmd_map | ( | girara_session_t * | session, |
| girara_list_t * | argument_list | ||
| ) |
Default command to map sortcuts
| session | The used girara session |
| argument_list | List of passed arguments |
Definition at line 398 of file commands.c.
| bool girara_cmd_map_unmap | ( | girara_session_t * | session, |
| girara_list_t * | argument_list, | ||
| bool | unmap | ||
| ) |
Definition at line 21 of file commands.c.
| bool girara_cmd_quit | ( | girara_session_t * | session, |
| girara_list_t * | UNUSEDargument_list | ||
| ) |
Definition at line 411 of file commands.c.
| bool girara_cmd_set | ( | girara_session_t * | session, |
| girara_list_t * | argument_list | ||
| ) |
Default command to set the value of settings
| session | The used girara session |
| argument_list | List of passed arguments |
Definition at line 422 of file commands.c.
| bool girara_cmd_unmap | ( | girara_session_t * | session, |
| girara_list_t * | argument_list | ||
| ) |
Default command to unmap sortcuts
| session | The used girara session |
| argument_list | List of passed arguments |
Definition at line 404 of file commands.c.
| void girara_command_free | ( | girara_command_t * | command | ) |
Definition at line 613 of file commands.c.
| bool girara_inputbar_command_add | ( | girara_session_t * | session, |
| const char * | command, | ||
| const char * | abbreviation, | ||
| girara_command_function_t | function, | ||
| girara_completion_function_t | completion, | ||
| const char * | description | ||
| ) |
Adds an inputbar command
| session | The used girara session |
| command | The name of the command |
| abbreviation | The abbreviation of the command |
| function | Executed function |
| completion | Completion function |
| description | Description of the command |
Definition at line 534 of file commands.c.
| bool girara_special_command_add | ( | girara_session_t * | session, |
| char | identifier, | ||
| girara_inputbar_special_function_t | function, | ||
| bool | always, | ||
| int | argument_n, | ||
| void * | argument_data | ||
| ) |
Adds a special command
| session | The used girara session |
| identifier | Char identifier |
| function | Executed function |
| always | If the function should executed on every change of the input (e.g.: incremental search) |
| argument_n | Argument identifier |
| argument_data | Argument data |
Definition at line 572 of file commands.c.
| void girara_special_command_free | ( | girara_special_command_t * | special_command | ) |
Definition at line 604 of file commands.c.
1.8.1