xyntax/xyntax.h

46 lines
1.4 KiB
C
Raw Normal View History

2023-08-22 05:43:24 -04:00
/*
* Copyright (c) 2023 : Ognjen 'xolatile' Milan Robovic
*
2023-08-28 09:03:06 -04:00
* Xyntax is free software! You will redistribute it or modify it under the terms of the GNU General Public License by Free Software Foundation.
2023-08-22 05:43:24 -04:00
* 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.
*/
2023-08-25 17:00:12 -04:00
#ifndef XYNTAX_HEADER
#define XYNTAX_HEADER
2023-08-23 21:12:55 -04:00
#include <xolatile/xtandard.h>
2023-08-25 17:00:12 -04:00
#include <xolatile/xtandard.c>
2023-08-23 21:12:55 -04:00
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);
2023-08-23 21:12:55 -04:00
2023-09-12 05:03:51 -04:00
extern int syntax_select (char *, int *);
2023-08-28 09:03:06 -04:00
2023-08-23 21:12:55 -04:00
extern void syntax_delete (void);
2023-08-22 05:43:24 -04:00
/* 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 (char * *, int, int, int);
extern void syntax_define_range (char *, char *, char, int, int);
extern void syntax_define_operators (char *, int, int);
2023-08-22 05:43:24 -04:00
#endif