XMMS2
Data Structures | Macros | Functions | Variables
cli.h File Reference
#include <s4.h>
#include <glib.h>

Data Structures

struct  range_t
 
struct  list_data_t
 
struct  list_t
 

Macros

#define MAX_LINE_COUNT   128
 

Functions

void init_lexer (char *lines[], int line_count)
 
int yylex (void)
 
const char * value_to_string (const s4_val_t *val)
 
int find_column (const char *key, const s4_resultset_t *set)
 
void print_list (list_t *list)
 
void print_result (const s4_resultset_t *res)
 
void print_cond (s4_condition_t *cond)
 
void print_fetch (s4_fetchspec_t *fetch)
 
void print_vars (void)
 
void print_help (void)
 
void config_init (void)
 
void config_cleanup (void)
 
void set_var (const char *key, char *val)
 
const char * get_var (const char *key)
 
void print_set_var (const char *key)
 

Variables

GHashTable * cond_table
 
GHashTable * res_table
 
GHashTable * list_table
 
GHashTable * fetch_table
 
GHashTable * pref_table
 
char ** lines
 
s4_ts4
 

Macro Definition Documentation

◆ MAX_LINE_COUNT

#define MAX_LINE_COUNT   128

Function Documentation

◆ config_cleanup()

void config_cleanup ( void )

◆ config_init()

void config_init ( void )

◆ find_column()

int find_column ( const char * key,
const s4_resultset_t * set )

◆ get_var()

const char * get_var ( const char * key)

◆ init_lexer()

void init_lexer ( char * lines[],
int line_count )

◆ print_cond()

void print_cond ( s4_condition_t * cond)

Referenced by print_cond(), and print_vars().

◆ print_fetch()

void print_fetch ( s4_fetchspec_t * fetch)

Referenced by print_vars().

◆ print_help()

void print_help ( void )

◆ print_list()

void print_list ( list_t * list)

Referenced by print_vars().

◆ print_result()

void print_result ( const s4_resultset_t * res)

Referenced by print_vars().

◆ print_set_var()

void print_set_var ( const char * key)

◆ print_vars()

void print_vars ( void )

◆ set_var()

void set_var ( const char * key,
char * val )

Referenced by config_init().

◆ value_to_string()

const char * value_to_string ( const s4_val_t * val)

◆ yylex()

int yylex ( void )

Variable Documentation

◆ cond_table

GHashTable* cond_table
extern

Referenced by print_vars().

◆ fetch_table

GHashTable * fetch_table

Referenced by print_vars().

◆ lines

char** lines
extern

Referenced by init_lexer().

◆ list_table

GHashTable * list_table

Referenced by print_vars().

◆ pref_table

GHashTable * pref_table

◆ res_table

GHashTable * res_table

Referenced by print_vars().

◆ s4

s4_t* s4
extern