girara
|
#include "types.h"
Go to the source code of this file.
Functions | |
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) |
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.