From: Andrey Hristov Date: Fri, 17 Jan 2003 19:35:13 +0000 (+0000) Subject: Moved to C style comments. X-Git-Tag: PHP_5_0_dev_before_13561_fix~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c843d143189cdd6f928bb6e1c7611e0a6a8d49b;p=php Moved to C style comments. Last time forgot to convert the header files. --- diff --git a/ext/soap/php_encoding.h b/ext/soap/php_encoding.h index b8a8cf458e..4a9bfc72a5 100644 --- a/ext/soap/php_encoding.h +++ b/ext/soap/php_encoding.h @@ -147,12 +147,12 @@ struct _encode 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_user(encodeType type, xmlNodePtr node); 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 @@ zval *guess_zval_convert(encodeType type, xmlNodePtr data); 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); diff --git a/ext/soap/php_sdl.h b/ext/soap/php_sdl.h index b061b4aded..38c9001e84 100644 --- a/ext/soap/php_sdl.h +++ b/ext/soap/php_sdl.h @@ -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 @@ struct _sdlBinding void *bindingAttributes; }; -//Soap Binding Specfic stuff +/* Soap Binding Specfic stuff */ struct _sdlSoapBinding { char *transport; @@ -44,8 +44,8 @@ struct _sdlSoapBindingFunctionBody { 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 @@ struct _sdlSoapBindingFunction sdlSoapBindingFunctionBody falut; }; -//HTTP Binding Specfic stuff +/* HTTP Binding Specfic stuff */ /*********** not implemented yet ************ struct _sdlHttpBinding { @@ -82,7 +82,7 @@ struct _sdlRestrictionChar struct _sdlRestrictions { - HashTable *enumeration; //array of sdlRestrictionCharPtr + HashTable *enumeration; /* array of sdlRestrictionCharPtr */ sdlRestrictionIntPtr minExclusive; sdlRestrictionIntPtr minInclusive; sdlRestrictionIntPtr maxExclusive; @@ -103,8 +103,8 @@ struct _sdlType 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 @@ struct _sdlFunction 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 @@ struct _sdlAttribute char *ref; char *type; char *use; - HashTable *extraAttributes; //array of xmlNodePtr + HashTable *extraAttributes; /* array of xmlNodePtr */ }; sdlPtr get_sdl(char *uri); diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h index 89963f1d32..b6aa15df9e 100644 --- a/ext/soap/php_soap.h +++ b/ext/soap/php_soap.h @@ -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_MINIT_FUNCTION(soap); 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_xml); 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(bind); PHP_FUNCTION(map); #endif -//Client Functions +/* Client Functions */ PHP_FUNCTION(soapobject); PHP_FUNCTION(__use); PHP_FUNCTION(__style); @@ -220,13 +224,13 @@ PHP_FUNCTION(__getlastrequest); 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);