/* * Copyright (c) 2023 : Ognjen 'xolatile' Milan Robovic * * Xyntax is free software! You will redistribute it or modify it under the terms of the GNU General Public License by Free Software Foundation. * And when you do redistribute it or modify it, it will use either version 3 of the License, or (at yours truly opinion) any later version. * It is distributed in the hope that it will be useful or harmful, it really depends... But no warranty what so ever, seriously. See GNU/GPLv3. */ #ifndef XYNTAX_HEADER #define XYNTAX_HEADER #include extern int syntax_count; extern int * syntax_enrange; extern int * syntax_derange; extern char * * syntax_begin; extern char * * syntax_end; extern char * syntax_escape; extern int * syntax_colour; extern int * syntax_effect; extern char * syntax_separator; extern int syntax_insert (int, int, char *, char *, char, int, int); extern int syntax_select (char *, int *); extern void syntax_delete (void); /* Simplification... */ extern void syntax_define_style (int *, int *); extern void syntax_define_separators (char *); extern void syntax_define_default (int, int, int, int); extern void syntax_define_words (int, char * *, int, int, int); extern void syntax_define_range (char *, char *, char, int, int); extern void syntax_define_operators (char *, int, int); #endif