rofi 1.7.5
helper.h File Reference
#include "rofi-types.h"
#include <cairo.h>
Include dependency graph for helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RofiHelperExecuteContext
 

Functions

int helper_parse_setup (char *string, char ***output, int *length,...)
 
rofi_int_matcher ** helper_tokenize (const char *input, int case_sensitive)
 
void helper_tokenize_free (rofi_int_matcher **tokens)
 
int find_arg_char (const char *const key, char *val)
 
int find_arg_uint (const char *const key, unsigned int *val)
 
int find_arg_int (const char *const key, int *val)
 
int find_arg_str (const char *const key, char **val)
 
const char ** find_arg_strv (const char *const key)
 
int find_arg (const char *const key)
 
int helper_token_match (rofi_int_matcher *const *tokens, const char *input)
 
int execute_generator (const char *cmd) __attribute__((nonnull))
 
int create_pid_file (const char *pidfile, gboolean kill_running)
 
void remove_pid_file (int fd)
 
int config_sanity_check (void)
 
char helper_parse_char (const char *arg)
 
void cmd_set_arguments (int argc, char **argv)
 
char * rofi_expand_path (const char *input)
 
unsigned int levenshtein (const char *needle, const glong needlelen, const char *haystack, const glong haystacklen)
 
char * rofi_force_utf8 (const gchar *data, ssize_t length)
 
char * rofi_latin_to_utf8_strdup (const char *input, gssize length)
 
int rofi_scorer_fuzzy_evaluate (const char *pattern, glong plen, const char *str, glong slen)
 
int utf8_strncmp (const char *a, const char *b, size_t n) __attribute__((nonnull(1
 
gboolean helper_execute (const char *wd, char **args, const char *error_precmd, const char *error_cmd, RofiHelperExecuteContext *context)
 
gboolean helper_execute_command (const char *wd, const char *cmd, gboolean run_in_term, RofiHelperExecuteContext *context)
 
cairo_surface_t * cairo_image_surface_create_from_svg (const gchar *file, int height)
 
void parse_ranges (char *input, rofi_range_pair **list, unsigned int *length)
 
void rofi_output_formatted_line (const char *format, const char *string, int selected_line, const char *filter)
 
char * helper_string_replace_if_exists (char *string,...)
 
char * helper_get_theme_path (const char *file, const char *ext)