summaryrefslogtreecommitdiff
path: root/ext/pdf/php3_pdf.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdf/php3_pdf.h')
-rw-r--r--ext/pdf/php3_pdf.h119
1 files changed, 61 insertions, 58 deletions
diff --git a/ext/pdf/php3_pdf.h b/ext/pdf/php3_pdf.h
index 00437519b0..d2c81b6ea7 100644
--- a/ext/pdf/php3_pdf.h
+++ b/ext/pdf/php3_pdf.h
@@ -40,67 +40,70 @@ extern int le_fp;
extern php3_module_entry pdf_module_entry;
#define pdf_module_ptr &pdf_module_entry
-extern void php3_info_pdf(ZEND_MODULE_INFO_FUNC_ARGS);
+void php3_info_pdf(ZEND_MODULE_INFO_FUNC_ARGS);
extern int php3_minit_pdf(INIT_FUNC_ARGS);
extern int php3_mend_pdf(void);
-extern void php3_pdf_get_info(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_info_creator(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_info_title(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_info_subject(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_info_author(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_info_keywords(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_open(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_close(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_begin_page(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_end_page(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_show(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_show_xy(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_font(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_leading(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_text_rendering(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_horiz_scaling(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_text_rise(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_text_matrix(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_text_pos(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_char_spacing(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_word_spacing(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_continue_text(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_stringwidth(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_save(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_restore(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_translate(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_scale(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_rotate(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setflat(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setlinejoin(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setlinecap(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setmiterlimit(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setlinewidth(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setdash(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_moveto(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_curveto(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_lineto(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_circle(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_arc(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_rect(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_closepath(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_closepath_stroke(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_stroke(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_fill(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_fill_stroke(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_closepath_fill_stroke(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_endpath(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_clip(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setgray_fill(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setgray_stroke(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setgray(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setrgbcolor_fill(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setrgbcolor_stroke(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_setrgbcolor(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_add_outline(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_transition(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_pdf_set_duration(INTERNAL_FUNCTION_PARAMETERS);
+PHP_FUNCTION(pdf_get_info);
+PHP_FUNCTION(pdf_set_info_creator);
+PHP_FUNCTION(pdf_set_info_title);
+PHP_FUNCTION(pdf_set_info_subject);
+PHP_FUNCTION(pdf_set_info_author);
+PHP_FUNCTION(pdf_set_info_keywords);
+PHP_FUNCTION(pdf_open);
+PHP_FUNCTION(pdf_close);
+PHP_FUNCTION(pdf_begin_page);
+PHP_FUNCTION(pdf_end_page);
+PHP_FUNCTION(pdf_show);
+PHP_FUNCTION(pdf_show_xy);
+PHP_FUNCTION(pdf_set_font);
+PHP_FUNCTION(pdf_set_leading);
+PHP_FUNCTION(pdf_set_text_rendering);
+PHP_FUNCTION(pdf_set_horiz_scaling);
+PHP_FUNCTION(pdf_set_text_rise);
+PHP_FUNCTION(pdf_set_text_matrix);
+PHP_FUNCTION(pdf_set_text_pos);
+PHP_FUNCTION(pdf_set_char_spacing);
+PHP_FUNCTION(pdf_set_word_spacing);
+PHP_FUNCTION(pdf_continue_text);
+PHP_FUNCTION(pdf_stringwidth);
+PHP_FUNCTION(pdf_save);
+PHP_FUNCTION(pdf_restore);
+PHP_FUNCTION(pdf_translate);
+PHP_FUNCTION(pdf_scale);
+PHP_FUNCTION(pdf_rotate);
+PHP_FUNCTION(pdf_setflat);
+PHP_FUNCTION(pdf_setlinejoin);
+PHP_FUNCTION(pdf_setlinecap);
+PHP_FUNCTION(pdf_setmiterlimit);
+PHP_FUNCTION(pdf_setlinewidth);
+PHP_FUNCTION(pdf_setdash);
+PHP_FUNCTION(pdf_moveto);
+PHP_FUNCTION(pdf_curveto);
+PHP_FUNCTION(pdf_lineto);
+PHP_FUNCTION(pdf_circle);
+PHP_FUNCTION(pdf_arc);
+PHP_FUNCTION(pdf_rect);
+PHP_FUNCTION(pdf_closepath);
+PHP_FUNCTION(pdf_closepath_stroke);
+PHP_FUNCTION(pdf_stroke);
+PHP_FUNCTION(pdf_fill);
+PHP_FUNCTION(pdf_fill_stroke);
+PHP_FUNCTION(pdf_closepath_fill_stroke);
+PHP_FUNCTION(pdf_endpath);
+PHP_FUNCTION(pdf_clip);
+PHP_FUNCTION(pdf_setgray_fill);
+PHP_FUNCTION(pdf_setgray_stroke);
+PHP_FUNCTION(pdf_setgray);
+PHP_FUNCTION(pdf_setrgbcolor_fill);
+PHP_FUNCTION(pdf_setrgbcolor_stroke);
+PHP_FUNCTION(pdf_setrgbcolor);
+PHP_FUNCTION(pdf_add_outline);
+PHP_FUNCTION(pdf_set_transition);
+PHP_FUNCTION(pdf_set_duration);
#else
#define pdf_module_ptr NULL
#endif
+
+#define phpext_pdf_ptr pdf_module_ptr
+
#endif /* _PHP3_PDF_H */