php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_highlight.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Zend Engine |
4 +----------------------------------------------------------------------+
5 | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 2.00 of the Zend license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.zend.com/license/2_00.txt. |
11 | If you did not receive a copy of the Zend license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@zend.com so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
15 | Authors: Andi Gutmans <andi@php.net> |
16 | Zeev Suraski <zeev@php.net> |
17 +----------------------------------------------------------------------+
18*/
19
20#ifndef ZEND_HIGHLIGHT_H
21#define ZEND_HIGHLIGHT_H
22
23#include "zend_types.h"
24
25#define HL_COMMENT_COLOR "#FF8000" /* orange */
26#define HL_DEFAULT_COLOR "#0000BB" /* blue */
27#define HL_HTML_COLOR "#000000" /* black */
28#define HL_STRING_COLOR "#DD0000" /* red */
29#define HL_KEYWORD_COLOR "#007700" /* green */
30
31
39
40
43ZEND_API void zend_strip(void);
46ZEND_API void zend_html_putc(char c);
47ZEND_API void zend_html_puts(const char *s, size_t len);
49
51
52#endif
size_t len
Definition apprentice.c:174
char s[4]
Definition cdf.c:77
#define ZEND_API
ZEND_API void zend_html_puts(const char *s, size_t len)
ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini)
ZEND_API void zend_html_putc(char c)
ZEND_API void zend_strip(void)
ZEND_API zend_result highlight_file(const char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini)
zend_syntax_highlighter_ini syntax_highlighter_ini
struct _zend_syntax_highlighter_ini zend_syntax_highlighter_ini
ZEND_API void highlight_string(zend_string *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, const char *str_name)
struct _zend_string zend_string
#define END_EXTERN_C()
#define BEGIN_EXTERN_C()
ZEND_RESULT_CODE zend_result
Definition zend_types.h:64