diff options
author | Sascha Schumann <sas@php.net> | 1999-12-04 19:19:57 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-12-04 19:19:57 +0000 |
commit | 5b983c944f66b55192c901ce3fa38fcce6ca21e3 (patch) | |
tree | 89c7d57484170f274eba416495d88e02be541e6f /ext/cpdf/php_cpdf.h | |
parent | 83ce7c13d1a7f21b4bd7dd0b5ce4f4d6764d7e52 (diff) | |
download | php-git-5b983c944f66b55192c901ce3fa38fcce6ca21e3.tar.gz |
Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
Diffstat (limited to 'ext/cpdf/php_cpdf.h')
-rw-r--r-- | ext/cpdf/php_cpdf.h | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/ext/cpdf/php_cpdf.h b/ext/cpdf/php_cpdf.h new file mode 100644 index 0000000000..48823a9216 --- /dev/null +++ b/ext/cpdf/php_cpdf.h @@ -0,0 +1,122 @@ +/* + +----------------------------------------------------------------------+ + | PHP HTML Embedded Scripting Language Version 3.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997-1999 PHP Development Team (See Credits file) | + +----------------------------------------------------------------------+ + | This program is free software; you can redistribute it and/or modify | + | it under the terms of one of the following licenses: | + | | + | A) the GNU General Public License as published by the Free Software | + | Foundation; either version 2 of the License, or (at your option) | + | any later version. | + | | + | B) the PHP License as published by the PHP Development Team and | + | included in the distribution in the file: LICENSE | + | | + | This program is distributed in the hope that it will be useful, | + | but WITHOUT ANY WARRANTY; without even the implied warranty of | + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | + | GNU General Public License for more details. | + | | + | You should have received a copy of both licenses referred to here. | + | If you did not, or have any questions about PHP licensing, please | + | contact core@php.net. | + +----------------------------------------------------------------------+ + | Authors: Uwe Steinmann | + +----------------------------------------------------------------------+ + */ +/* $Id$ */ + +#ifndef _PHP_CPDF_H +#define _PHP_CPDF_H + +#if HAVE_CPDFLIB + +#include <cpdflib.h> + +extern php3_module_entry cpdf_module_entry; +#define cpdf_module_ptr &cpdf_module_entry + +extern PHP_MINFO_FUNCTION(cpdf); +extern PHP_MINIT_FUNCTION(cpdf); +extern PHP_RINIT_FUNCTION(cpdf); +extern PHP_MSHUTDOWN_FUNCTION(cpdf); +PHP_FUNCTION(cpdf_set_creator); +PHP_FUNCTION(cpdf_set_title); +PHP_FUNCTION(cpdf_set_subject); +PHP_FUNCTION(cpdf_set_keywords); +PHP_FUNCTION(cpdf_set_viewer_preferences); +PHP_FUNCTION(cpdf_open); +PHP_FUNCTION(cpdf_close); +PHP_FUNCTION(cpdf_page_init); +PHP_FUNCTION(cpdf_finalize_page); +PHP_FUNCTION(cpdf_set_current_page); +PHP_FUNCTION(cpdf_begin_text); +PHP_FUNCTION(cpdf_end_text); +PHP_FUNCTION(cpdf_show); +PHP_FUNCTION(cpdf_show_xy); +PHP_FUNCTION(cpdf_continue_text); +PHP_FUNCTION(cpdf_text); +PHP_FUNCTION(cpdf_set_font); +PHP_FUNCTION(cpdf_set_leading); +PHP_FUNCTION(cpdf_set_text_rendering); +PHP_FUNCTION(cpdf_set_horiz_scaling); +PHP_FUNCTION(cpdf_set_text_rise); +PHP_FUNCTION(cpdf_set_text_matrix); +PHP_FUNCTION(cpdf_set_text_pos); +PHP_FUNCTION(cpdf_rotate_text); +PHP_FUNCTION(cpdf_set_char_spacing); +PHP_FUNCTION(cpdf_set_word_spacing); +PHP_FUNCTION(cpdf_continue_text); +PHP_FUNCTION(cpdf_stringwidth); +PHP_FUNCTION(cpdf_save); +PHP_FUNCTION(cpdf_restore); +PHP_FUNCTION(cpdf_translate); +PHP_FUNCTION(cpdf_scale); +PHP_FUNCTION(cpdf_rotate); +PHP_FUNCTION(cpdf_setflat); +PHP_FUNCTION(cpdf_setlinejoin); +PHP_FUNCTION(cpdf_setlinecap); +PHP_FUNCTION(cpdf_setmiterlimit); +PHP_FUNCTION(cpdf_setlinewidth); +PHP_FUNCTION(cpdf_setdash); +PHP_FUNCTION(cpdf_moveto); +PHP_FUNCTION(cpdf_rmoveto); +PHP_FUNCTION(cpdf_curveto); +PHP_FUNCTION(cpdf_lineto); +PHP_FUNCTION(cpdf_rlineto); +PHP_FUNCTION(cpdf_circle); +PHP_FUNCTION(cpdf_arc); +PHP_FUNCTION(cpdf_rect); +PHP_FUNCTION(cpdf_newpath); +PHP_FUNCTION(cpdf_closepath); +PHP_FUNCTION(cpdf_closepath_stroke); +PHP_FUNCTION(cpdf_stroke); +PHP_FUNCTION(cpdf_fill); +PHP_FUNCTION(cpdf_fill_stroke); +PHP_FUNCTION(cpdf_closepath_fill_stroke); +PHP_FUNCTION(cpdf_endpath); +PHP_FUNCTION(cpdf_clip); +PHP_FUNCTION(cpdf_setgray_fill); +PHP_FUNCTION(cpdf_setgray_stroke); +PHP_FUNCTION(cpdf_setgray); +PHP_FUNCTION(cpdf_setrgbcolor_fill); +PHP_FUNCTION(cpdf_setrgbcolor_stroke); +PHP_FUNCTION(cpdf_setrgbcolor); +PHP_FUNCTION(cpdf_add_outline); +PHP_FUNCTION(cpdf_set_page_animation); +PHP_FUNCTION(cpdf_finalize); +PHP_FUNCTION(cpdf_output_buffer); +PHP_FUNCTION(cpdf_save_to_file); +PHP_FUNCTION(cpdf_add_annotation); +PHP_FUNCTION(cpdf_import_jpeg); +#if HAVE_LIBGD13 +PHP_FUNCTION(cpdf_place_inline_image); +#endif +PHP_FUNCTION(cpdf_set_action_url); +#else +#define cpdf_module_ptr NULL +#endif +#define phpext_cpdf_ptr cpdf_module_ptr +#endif /* _PHP3_PDF_H */ |