| 1 |
/*************************************************************************** |
/* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 |
lml.h - description |
/* |
| 3 |
------------------- |
* lml |
| 4 |
Copyright : (C) 2004-2025 by Leaflet |
* - LML render |
| 5 |
Email : leaflet@leafok.com |
* |
| 6 |
***************************************************************************/ |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
|
*/ |
|
/*************************************************************************** |
|
|
* * |
|
|
* This program is free software; you can redistribute it and/or modify * |
|
|
* it under the terms of the GNU General Public License as published by * |
|
|
* the Free Software Foundation; either version 3 of the License, or * |
|
|
* (at your option) any later version. * |
|
|
* * |
|
|
***************************************************************************/ |
|
| 8 |
|
|
| 9 |
#ifndef _LML_H_ |
#ifndef _LML_H_ |
| 10 |
#define _LML_H_ |
#define _LML_H_ |
| 11 |
|
|
| 12 |
#include <stddef.h> |
#include <stddef.h> |
| 13 |
|
#include <time.h> |
| 14 |
|
|
| 15 |
extern int lml_plain(const char *str_in, char *str_out, int buf_len, int lml_tag); |
extern clock_t lml_total_exec_duration; // For testing purpose |
| 16 |
|
|
| 17 |
|
extern int lml_init(void); |
| 18 |
|
extern void lml_cleanup(void); |
| 19 |
|
|
| 20 |
|
extern int lml_render(const char *str_in, char *str_out, int buf_len, int width, int quote_mode); |
| 21 |
|
|
| 22 |
#endif //_LML_H_ |
#endif //_LML_H_ |