| 1 |
/* |
| 2 |
* Copyright © 2013 Ran Benita <[email protected]> |
| 3 |
* SPDX-License-Identifier: MIT |
| 4 |
*/ |
| 5 |
#pragma once |
| 6 |
|
| 7 |
#include "config.h" |
| 8 |
|
| 9 |
#include <stdbool.h> |
| 10 |
#include <stddef.h> |
| 11 |
#include <stdio.h> |
| 12 |
|
| 13 |
#include "xkbcommon/xkbcommon.h" |
| 14 |
#include "xkbcommon/xkbcommon-compose.h" |
| 15 |
|
| 16 |
#include "src/utils.h" |
| 17 |
|
| 18 |
XKB_EXPORT_PRIVATE char * |
| 19 |
parse_string_literal(struct xkb_context *ctx, const char *string); |
| 20 |
|
| 21 |
bool |
| 22 |
parse_string(struct xkb_compose_table *table, |
| 23 |
const char *string, size_t len, |
| 24 |
const char *file_name); |
| 25 |
|
| 26 |
bool |
| 27 |
parse_file(struct xkb_compose_table *table, |
| 28 |
FILE *file, const char *file_name); |