--- lbbs/include/lml.h 2025/09/30 03:02:06 1.2 +++ lbbs/include/lml.h 2025/11/04 14:58:55 1.8 @@ -1,24 +1,19 @@ -/*************************************************************************** - lml.h - description - ------------------- - Copyright : (C) 2004-2025 by Leaflet - Email : leaflet@leafok.com - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* + * lml + * - LML render + * + * Copyright (C) 2004-2025 Leaflet + */ #ifndef _LML_H_ #define _LML_H_ #include +#include + +extern clock_t lml_total_exec_duration; // For testing purpose -extern int lml_plain(const char *str_in, char *str_out, int buf_len, int lml_tag); +extern int lml_render(const char *str_in, char *str_out, int buf_len, int width, int quote_mode); #endif //_LML_H_