source: libcaca/trunk/caca-php/php_caca.h @ 3089

Last change on this file since 3089 was 3089, checked in by nico, 11 years ago
  • Initial release of caca-php
File size: 4.6 KB
Line 
1/*
2 *  php-caca      Php binding for Libcaca
3 *  Copyright (c) 2008 Vion Nicolas <nico@picapo.net>
4 *
5 *
6 *  This library is free software. It comes without any warranty, to
7 *  the extent permitted by applicable law. You can redistribute it
8 *  and/or modify it under the terms of the Do What The Fuck You Want
9 *  To Public License, Version 2, as published by Sam Hocevar. See
10 *  http://sam.zoy.org/wtfpl/COPYING for more details.
11 */
12
13#ifndef PHP_CACA_H
14#define PHP_CACA_H
15
16#include <caca.h>
17
18
19#define PHP_CACA_VERSION "0.0"
20#define PHP_CACA_EXTNAME "caca"
21
22PHP_MINIT_FUNCTION(caca);
23PHP_MINFO_FUNCTION(caca);
24
25PHP_FUNCTION(caca_manage_canvas);
26PHP_FUNCTION(caca_unmanage_canvas);
27PHP_FUNCTION(caca_set_canvas_size);
28PHP_FUNCTION(caca_get_canvas_width);
29PHP_FUNCTION(caca_get_canvas_height);
30PHP_FUNCTION(caca_free_canvas);
31PHP_FUNCTION(caca_rand);
32PHP_FUNCTION(caca_get_version);
33PHP_FUNCTION(caca_gotoxy);
34PHP_FUNCTION(caca_get_cursor_x);
35PHP_FUNCTION(caca_get_cursor_y);
36PHP_FUNCTION(caca_put_char);
37PHP_FUNCTION(caca_put_str);
38PHP_FUNCTION(caca_printf);
39PHP_FUNCTION(caca_clear_canvas);
40PHP_FUNCTION(caca_set_canvas_handle);
41PHP_FUNCTION(caca_get_canvas_handle_x);
42PHP_FUNCTION(caca_get_canvas_handle_y);
43PHP_FUNCTION(caca_blit);
44PHP_FUNCTION(caca_set_canvas_boundaries);
45PHP_FUNCTION(caca_invert);
46PHP_FUNCTION(caca_flip);
47PHP_FUNCTION(caca_flop);
48PHP_FUNCTION(caca_rotate_180);
49PHP_FUNCTION(caca_rotate_left);
50PHP_FUNCTION(caca_rotate_right);
51PHP_FUNCTION(caca_stretch_left);
52PHP_FUNCTION(caca_stretch_right);
53PHP_FUNCTION(caca_set_attr);
54PHP_FUNCTION(caca_put_attr);
55PHP_FUNCTION(caca_set_color_ansi);
56PHP_FUNCTION(caca_set_color_argb);
57PHP_FUNCTION(caca_attr_to_argb64);
58PHP_FUNCTION(caca_utf32_to_ascii);
59PHP_FUNCTION(caca_utf32_is_fullwidth);
60PHP_FUNCTION(caca_draw_line);
61PHP_FUNCTION(caca_draw_polyline);
62PHP_FUNCTION(caca_draw_thin_line);
63PHP_FUNCTION(caca_draw_thin_polyline);
64PHP_FUNCTION(caca_draw_circle);
65PHP_FUNCTION(caca_draw_ellipse);
66PHP_FUNCTION(caca_draw_thin_ellipse);
67PHP_FUNCTION(caca_fill_ellipse);
68PHP_FUNCTION(caca_draw_box);
69PHP_FUNCTION(caca_draw_thin_box);
70PHP_FUNCTION(caca_draw_cp437_box);
71PHP_FUNCTION(caca_fill_box);
72PHP_FUNCTION(caca_draw_triangle);
73PHP_FUNCTION(caca_draw_thin_triangle);
74PHP_FUNCTION(caca_fill_triangle);
75PHP_FUNCTION(caca_get_frame_count);
76PHP_FUNCTION(caca_set_frame);
77PHP_FUNCTION(caca_get_frame_name);
78PHP_FUNCTION(caca_set_frame_name);
79PHP_FUNCTION(caca_create_frame);
80PHP_FUNCTION(caca_free_frame);
81PHP_FUNCTION(caca_set_dither_palette);
82PHP_FUNCTION(caca_set_dither_brightness);
83PHP_FUNCTION(caca_get_dither_brightness);
84PHP_FUNCTION(caca_set_dither_gamma);
85PHP_FUNCTION(caca_get_dither_gamma);
86PHP_FUNCTION(caca_set_dither_contrast);
87PHP_FUNCTION(caca_get_dither_contrast);
88PHP_FUNCTION(caca_set_dither_antialias);
89PHP_FUNCTION(caca_get_dither_antialias_list);
90PHP_FUNCTION(caca_get_dither_antialias);
91PHP_FUNCTION(caca_set_dither_color);
92PHP_FUNCTION(caca_get_dither_color_list);
93PHP_FUNCTION(caca_get_dither_color);
94PHP_FUNCTION(caca_set_dither_charset);
95PHP_FUNCTION(caca_get_dither_charset_list);
96PHP_FUNCTION(caca_get_dither_charset);
97PHP_FUNCTION(caca_set_dither_algorithm);
98PHP_FUNCTION(caca_get_dither_algorithm_list);
99PHP_FUNCTION(caca_get_dither_algorithm);
100PHP_FUNCTION(caca_dither_bitmap);
101PHP_FUNCTION(caca_free_dither);
102PHP_FUNCTION(caca_get_font_list);
103PHP_FUNCTION(caca_get_font_width);
104PHP_FUNCTION(caca_get_font_height);
105PHP_FUNCTION(caca_render_canvas);
106PHP_FUNCTION(caca_free_font);
107PHP_FUNCTION(caca_canvas_set_figfont);
108PHP_FUNCTION(caca_put_figchar);
109PHP_FUNCTION(caca_flush_figlet);
110PHP_FUNCTION(caca_file_close);
111PHP_FUNCTION(caca_file_gets);
112PHP_FUNCTION(caca_file_eof);
113PHP_FUNCTION(caca_get_import_list);
114PHP_FUNCTION(caca_export_memory);
115PHP_FUNCTION(caca_get_export_list);
116PHP_FUNCTION(caca_get_display_driver_list);
117PHP_FUNCTION(caca_get_display_driver);
118PHP_FUNCTION(caca_set_display_driver);
119PHP_FUNCTION(caca_free_display);
120PHP_FUNCTION(caca_refresh_display);
121PHP_FUNCTION(caca_set_display_time);
122PHP_FUNCTION(caca_get_display_time);
123PHP_FUNCTION(caca_get_display_width);
124PHP_FUNCTION(caca_get_display_height);
125PHP_FUNCTION(caca_set_display_title);
126PHP_FUNCTION(caca_set_mouse);
127PHP_FUNCTION(caca_set_cursor);
128PHP_FUNCTION(caca_get_event);
129PHP_FUNCTION(caca_get_mouse_x);
130PHP_FUNCTION(caca_get_mouse_y);
131PHP_FUNCTION(caca_get_event_type);
132PHP_FUNCTION(caca_get_event_key_ch);
133PHP_FUNCTION(caca_get_event_key_utf8);
134PHP_FUNCTION(caca_get_event_mouse_button);
135PHP_FUNCTION(caca_get_event_mouse_x);
136PHP_FUNCTION(caca_get_event_mouse_y);
137PHP_FUNCTION(caca_get_event_resize_width);
138PHP_FUNCTION(caca_get_event_resize_height);
139
140extern zend_module_entry caca_module_entry;
141#define phpext_caca_ptr &caca_module_entry
142
143#endif
Note: See TracBrowser for help on using the repository browser.