cvs: /php4 NEWS /php4/ext/cpdf cpdf.c php_cpdf.h
| From: | Uwe Steinmann | Date: | Mon, 10 Jan 2000 12:42:35 +0000 |
| Subject: | cvs: /php4 NEWS /php4/ext/cpdf cpdf.c php_cpdf.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9004@lists.php.net to get a copy of this message | ||
steinm Mon Jan 10 04:42:35 2000 EDT
Modified files:
/php4 NEWS
/php4/ext/cpdf cpdf.c php_cpdf.h
Log:
- changed cpdf_global_set_document_settings() to cpdf_global_set_document_limits()
Index: php4/NEWS
diff -u php4/NEWS:1.102 php4/NEWS:1.103
--- php4/NEWS:1.102 Thu Jan 6 18:09:36 2000
+++ php4/NEWS Mon Jan 10 04:42:05 2000
@@ -2,6 +2,7 @@
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ?? ????, Version 4.0 Beta 4
+- new function cpdf_set_document_limits()
- Applied safe-mode patch to popen(). (Patch by Kristian Köhntopp)
- str_repeat() now returns correct length. (Thies)
- Don't assume libz and libpng are installed for the GD checks (Rasmus)
Index: php4/ext/cpdf/cpdf.c
diff -u php4/ext/cpdf/cpdf.c:1.8 php4/ext/cpdf/cpdf.c:1.9
--- php4/ext/cpdf/cpdf.c:1.8 Mon Jan 10 03:01:56 2000
+++ php4/ext/cpdf/cpdf.c Mon Jan 10 04:42:05 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cpdf.c,v 1.8 2000/01/10 11:01:56 steinm Exp $ */
+/* $Id: cpdf.c,v 1.9 2000/01/10 12:42:05 steinm Exp $ */
/* cpdflib.h -- C language API definitions for ClibPDF library
* Copyright (C) 1998 FastIO Systems, All Rights Reserved.
*/
@@ -76,7 +76,7 @@
#endif
function_entry cpdf_functions[] = {
- PHP_FE(cpdf_global_set_documents_settings, NULL)
+ PHP_FE(cpdf_global_set_document_limits, NULL)
PHP_FE(cpdf_set_creator, NULL)
PHP_FE(cpdf_set_title, NULL)
PHP_FE(cpdf_set_subject, NULL)
@@ -191,9 +191,9 @@
return SUCCESS;
}
-/* {{{ proto void cpdf_global_set_document_settings(int maxPages, int maxFonts, int maxImages, int
maxAnnots, int maxObjects)
+/* {{{ proto void cpdf_global_set_document_limits(int maxPages, int maxFonts, int maxImages, int
maxAnnots, int maxObjects)
Sets document settings for all documents */
-PHP_FUNCTION(cpdf_global_set_documents_settings) {
+PHP_FUNCTION(cpdf_global_set_document_limits) {
pval *argv[5];
int argc;
CPDF_TLS_VARS;
Index: php4/ext/cpdf/php_cpdf.h
diff -u php4/ext/cpdf/php_cpdf.h:1.3 php4/ext/cpdf/php_cpdf.h:1.4
--- php4/ext/cpdf/php_cpdf.h:1.3 Mon Jan 10 03:01:56 2000
+++ php4/ext/cpdf/php_cpdf.h Mon Jan 10 04:42:05 2000
@@ -26,7 +26,7 @@
| Authors: Uwe Steinmann |
+----------------------------------------------------------------------+
*/
-/* $Id: php_cpdf.h,v 1.3 2000/01/10 11:01:56 steinm Exp $ */
+/* $Id: php_cpdf.h,v 1.4 2000/01/10 12:42:05 steinm Exp $ */
#ifndef _PHP_CPDF_H
#define _PHP_CPDF_H
@@ -42,7 +42,7 @@
extern PHP_MINIT_FUNCTION(cpdf);
extern PHP_RINIT_FUNCTION(cpdf);
extern PHP_MSHUTDOWN_FUNCTION(cpdf);
-PHP_FUNCTION(cpdf_global_set_documents_settings);
+PHP_FUNCTION(cpdf_global_set_document_limits);
PHP_FUNCTION(cpdf_set_creator);
PHP_FUNCTION(cpdf_set_title);
PHP_FUNCTION(cpdf_set_subject);