libkeymap 2.4.0
Library to manage the Linux keymaps
|
Functions for charset manipulation. More...
#include <keymap/context.h>
Go to the source code of this file.
Functions | |
void | lk_list_charsets (FILE *fp) |
const char * | lk_get_charset (struct lk_ctx *ctx) |
int | lk_set_charset (struct lk_ctx *ctx, const char *name) |
Functions for charset manipulation.
void lk_list_charsets | ( | FILE * | fp | ) |
Prints into the FILE a list of supported charsets.
fp | is a stream. |
const char * lk_get_charset | ( | struct lk_ctx * | ctx | ) |
Returns the current name of the charset used by the library.
ctx | is a keymap library context. |
int lk_set_charset | ( | struct lk_ctx * | ctx, |
const char * | name | ||
) |
Sets the charset which will be used by the library.
ctx | is a keymap library context. |
name | is a name of charset. |