paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
i9e_client_info Struct Reference

The i9e configuration settings of the client. More...

#include <interactive.h>

Data Fields

int loglevel
 Threshold for i9e_log(). More...
 
int(* line_handler )(char *line)
 Complete input lines are passed to this callback function. More...
 
int(* key_handler )(int key)
 In single key mode, this callback is executed instead. More...
 
char ** bound_keyseqs
 The array of valid key sequences for libreadline. More...
 
int fds [3]
 File descriptors to use for input/output/log. More...
 
char * prompt
 Text of the current prompt. More...
 
char * history_file
 Where to store the readline history. More...
 
struct i9e_completercompleters
 The array of completers, one per command. More...
 
struct btr_node * producer
 If non-NULL, this node is attached immediately to the stdout btr node of the i9e subsystem. More...
 

Detailed Description

The i9e configuration settings of the client.

A structure of this type must be allocated and filled in by the client before it is passed to the i9e subsystem via i9e_open().

Field Documentation

◆ loglevel

int loglevel

Threshold for i9e_log().

◆ line_handler

int(* line_handler) (char *line)

Complete input lines are passed to this callback function.

◆ key_handler

int(* key_handler) (int key)

In single key mode, this callback is executed instead.

◆ bound_keyseqs

char** bound_keyseqs

The array of valid key sequences for libreadline.

◆ fds

int fds[3]

File descriptors to use for input/output/log.

◆ prompt

char* prompt

Text of the current prompt.

◆ history_file

char* history_file

Where to store the readline history.

◆ completers

struct i9e_completer* completers

The array of completers, one per command.

This is used for completing the first word (the command) and for calling the right completer if the cursor is not on the first word.

◆ producer

struct btr_node* producer

If non-NULL, this node is attached immediately to the stdout btr node of the i9e subsystem.


The documentation for this struct was generated from the following file: