cvs: pear /PECL/soap php_encoding.h php_sdl.h php_soap.h
| From: | Andrey Hristov | Date: | Fri, 17 Jan 2003 19:35:13 +0000 |
| Subject: | cvs: pear /PECL/soap php_encoding.h php_sdl.h php_soap.h | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8347@lists.php.net to get a copy of this message | ||
andrey Fri Jan 17 14:35:13 2003 EDT
Modified files:
/pear/PECL/soap php_encoding.h php_sdl.h php_soap.h
Log:
Moved to C style comments.
Last time forgot to convert the header files.
Index: pear/PECL/soap/php_encoding.h
diff -u pear/PECL/soap/php_encoding.h:1.6 pear/PECL/soap/php_encoding.h:1.7
--- pear/PECL/soap/php_encoding.h:1.6 Mon Jan 13 11:39:16 2003
+++ pear/PECL/soap/php_encoding.h Fri Jan 17 14:35:13 2003
@@ -147,12 +147,12 @@
smart_str *build_soap_action(zval *this_ptr, char *soapaction);
-// Master functions all encode/decode should be called thur these functions
+/* Master functions all encode/decode should be called thur these functions */
xmlNodePtr master_to_xml(encodePtr encode, zval *data, int style);
zval *master_to_zval(encodePtr encode, xmlNodePtr data);
#ifdef HAVE_PHP_DOMXML
-//user defined mapping
+/* user defined mapping */
zval *to_xml_before_user(encodeType type, zval *data);
xmlNodePtr to_xml_user(encodeType type, zval *data, int style);
xmlNodePtr to_xml_after_user(encodeType type, xmlNodePtr node, int style);
@@ -161,7 +161,7 @@
zval *to_zval_after_user(encodeType type, zval *data);
#endif
-//zval type decode
+/* zval type decode */
zval *to_zval_double(encodeType type, xmlNodePtr data);
zval *to_zval_long(encodeType type, xmlNodePtr data);
zval *to_zval_bool(encodeType type, xmlNodePtr data);
@@ -175,25 +175,25 @@
xmlNodePtr to_xml_long(encodeType type, zval *data, int style);
xmlNodePtr to_xml_bool(encodeType type, zval *data, int style);
-//String encode
+/* String encode */
xmlNodePtr to_xml_string(encodeType type, zval *data, int style);
xmlNodePtr to_xml_stringl(encodeType type, zval *data, int style);
-//Null encode
+/* Null encode */
xmlNodePtr to_xml_null(encodeType type, zval *data, int style);
-//Struct encode
+/* Struct encode */
xmlNodePtr to_xml_object(encodeType type, zval *data, int style);
-//Array encode
+/* Array encode */
xmlNodePtr guess_array_map(encodeType type, zval *data, int style);
xmlNodePtr to_xml_array(encodeType type, zval *data, int style);
xmlNodePtr to_xml_map(encodeType type, zval *data, int style);
-//Try and guess for non-wsdl clients and servers
+/* Try and guess for non-wsdl clients and servers */
xmlNodePtr guess_xml_convert(encodeType type, zval *data, int style);
-//Datetime encode/decode
+/* Datetime encode/decode */
xmlNodePtr to_xml_datetime_ex(encodeType type, zval *data, char *format, int style);
xmlNodePtr to_xml_datetime(encodeType type, zval *data, int style);
xmlNodePtr to_xml_time(encodeType type, zval *data, int style);
Index: pear/PECL/soap/php_sdl.h
diff -u pear/PECL/soap/php_sdl.h:1.5 pear/PECL/soap/php_sdl.h:1.6
--- pear/PECL/soap/php_sdl.h:1.5 Sun Sep 15 16:45:46 2002
+++ pear/PECL/soap/php_sdl.h Fri Jan 17 14:35:13 2003
@@ -16,10 +16,10 @@
struct _sdl
{
- xmlDocPtr doc; //pointer to the parsed xml file
- HashTable *types; //array of sdlTypesPtr
- HashTable *encoders; //array of encodePtr
- HashTable *bindings; //array of sdlBindings (key'd by name)
+ xmlDocPtr doc; /* pointer to the parsed xml file */
+ HashTable *types; /* array of sdlTypesPtr */
+ HashTable *encoders; /* array of encodePtr */
+ HashTable *bindings; /* array of sdlBindings (key'd by name) */
char *target_ns;
char *source;
};
@@ -33,7 +33,7 @@
void *bindingAttributes;
};
-//Soap Binding Specfic stuff
+/* Soap Binding Specfic stuff */
struct _sdlSoapBinding
{
char *transport;
@@ -44,8 +44,8 @@
{
char *ns;
int use;
- char *parts; //not implemented yet
- char *encodingStyle; //not implemented yet
+ char *parts; /* not implemented yet */
+ char *encodingStyle; /* not implemented yet */
};
struct _sdlSoapBindingFunction
@@ -58,7 +58,7 @@
sdlSoapBindingFunctionBody falut;
};
-//HTTP Binding Specfic stuff
+/* HTTP Binding Specfic stuff */
/*********** not implemented yet ************
struct _sdlHttpBinding
{
@@ -82,7 +82,7 @@
struct _sdlRestrictions
{
- HashTable *enumeration; //array of sdlRestrictionCharPtr
+ HashTable *enumeration; /* array of sdlRestrictionCharPtr */
sdlRestrictionIntPtr minExclusive;
sdlRestrictionIntPtr minInclusive;
sdlRestrictionIntPtr maxExclusive;
@@ -103,8 +103,8 @@
int nullable;
int min_occurs;
int max_occurs;
- HashTable *elements; //array of sdlTypePtr
- HashTable *attributes; //array of sdlAttributePtr
+ HashTable *elements; /* array of sdlTypePtr */
+ HashTable *attributes; /* array of sdlAttributePtr */
sdlRestrictionsPtr restrictions;
encodePtr encode;
};
@@ -121,8 +121,8 @@
char *functionName;
char *requestName;
char *responseName;
- HashTable *requestParameters; //array of sdlParamPtr
- HashTable *responseParameters; //array of sdlParamPtr (this should only be one)
+ HashTable *requestParameters; /* array of sdlParamPtr */
+ HashTable *responseParameters; /* array of sdlParamPtr (this should only be one) */
int bindingType;
void *bindingAttributes;
};
@@ -137,7 +137,7 @@
char *ref;
char *type;
char *use;
- HashTable *extraAttributes; //array of xmlNodePtr
+ HashTable *extraAttributes; /* array of xmlNodePtr */
};
sdlPtr get_sdl(char *uri);
Index: pear/PECL/soap/php_soap.h
diff -u pear/PECL/soap/php_soap.h:1.6 pear/PECL/soap/php_soap.h:1.7
--- pear/PECL/soap/php_soap.h:1.6 Mon Jan 13 11:39:16 2003
+++ pear/PECL/soap/php_soap.h Fri Jan 17 14:35:13 2003
@@ -16,8 +16,10 @@
# include "ext/domxml/php_domxml.h"
#endif
-// PHP_STREAMS were introduced php-4.2.0.. i think
-// Make this part of configure
+/*
+ PHP_STREAMS were introduced php-4.2.0.. i think
+ Make this part of configure
+*/
#ifdef STREAMS_DC
# define PHP_STREAMS
#endif
@@ -179,8 +181,10 @@
PHP_MSHUTDOWN_FUNCTION(soap);
PHP_MINFO_FUNCTION(soap);
-//Registry Functions
-//TODO: this!
+/*
+ Registry Functions
+ TODO: this!
+*/
PHP_FUNCTION(load_sdl);
PHP_FUNCTION(unload_sdl);
PHP_FUNCTION(unload_all_sdls);
@@ -191,7 +195,7 @@
PHP_FUNCTION(soap_encode_to_zval);
-//Server Functions
+/* Server Functions */
PHP_FUNCTION(soapserver);
PHP_FUNCTION(setclass);
PHP_FUNCTION(addfunction);
@@ -203,7 +207,7 @@
PHP_FUNCTION(map);
#endif
-//Client Functions
+/* Client Functions */
PHP_FUNCTION(soapobject);
PHP_FUNCTION(__use);
PHP_FUNCTION(__style);
@@ -220,13 +224,13 @@
PHP_FUNCTION(__headerclass);
PHP_FUNCTION(__headerfunction);
-//SoapVar Functions
+/* SoapVar Functions */
PHP_FUNCTION(soapvar);
-//SoapFault Functions
+/* SoapFault Functions */
PHP_FUNCTION(soapfault);
-//SoapParam Functions
+/* SoapParam Functions */
PHP_FUNCTION(soapparam);