]> granicus.if.org Git - php/commitdiff
Moved to C style comments.
authorAndrey Hristov <andrey@php.net>
Fri, 17 Jan 2003 19:35:13 +0000 (19:35 +0000)
committerAndrey Hristov <andrey@php.net>
Fri, 17 Jan 2003 19:35:13 +0000 (19:35 +0000)
Last time forgot to convert the header files.

ext/soap/php_encoding.h
ext/soap/php_sdl.h
ext/soap/php_soap.h

index b8a8cf458e10791c3126d8b5f6ec15936d6b5401..4a9bfc72a5d988647c408ba1713a94ce25cf2947 100644 (file)
@@ -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);
index b061b4aded46718da45d9690aee5b09c4c9068c6..38c9001e84991e3703a618fcc74f4cfe2edb97f3 100644 (file)
 
 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);
index 89963f1d32393f0702f33d1d62e701a39141ff9d..b6aa15df9ee1b831f26c236d8f82fb83ca80f6ed 100644 (file)
 # 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);