ekg2  GIT master
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje Grupay Strony
Funkcje
Dokumentacja pliku backlog.c
#include "ekg2.h"
#include "ecurses.h"
#include <stdlib.h>
#include <string.h>
#include "nc-stuff.h"

Funkcje

static int xmbswidth (const char *s, size_t n)
 
int ncurses_backlog_split (window_t *w, int full, int removed)
 
int ncurses_backlog_add_real (window_t *w, fstring_t *str)
 
int ncurses_backlog_add (window_t *w, const fstring_t *str)
 
void changed_backlog_size (const char *var)
 

Dokumentacja funkcji

void changed_backlog_size ( const char *  var)
int ncurses_backlog_add ( window_t w,
const fstring_t str 
)

ncurses_backlog_add()

Add an utf8-encoded line to window backlog, recoding it whenever necessary. The line should not contain
. It will be duplicated, so caller needs to free it.

Parametry
w- target window
str- an utf8-encoded fstring_t to add
Zwraca
The return value is going to be changed, thou shalt not rely upon it.
int ncurses_backlog_add_real ( window_t w,
fstring_t str 
)
int ncurses_backlog_split ( window_t w,
int  full,
int  removed 
)
static int xmbswidth ( const char *  s,
size_t  n 
)
inlinestatic