libkeymap
2.0.2
Library to manage the Linux keymaps
Main Page
Data Structures
Files
File List
Globals
src
libkeymap
keymap
common.h
Go to the documentation of this file.
1
6
#ifndef LK_COMMON_H
7
#define LK_COMMON_H
8
9
#include <stdarg.h>
10
11
#include <
keymap/context.h
>
12
17
struct
lk_ctx *
lk_init
(
void
);
18
24
int
lk_free
(
struct
lk_ctx *ctx);
25
31
lk_flags
lk_get_parser_flags
(
struct
lk_ctx *ctx);
32
39
int
lk_set_parser_flags
(
struct
lk_ctx *ctx,
lk_flags
flags);
40
46
int
lk_get_log_priority
(
struct
lk_ctx *ctx);
47
54
int
lk_set_log_priority
(
struct
lk_ctx *ctx,
int
priority);
55
65
int
lk_set_log_fn
(
struct
lk_ctx *ctx,
66
void
(*log_fn)(
void
*data,
int
priority,
67
const
char
*file,
int
line,
const
char
*fn,
68
const
char
*format, va_list args),
69
const
void
*data);
70
71
#endif
/* LK_COMMON_H */
Generated on Fri Jul 11 2014 11:19:48 for libkeymap by
1.8.3.1