IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2008, 11:13:41 AM (18 years ago)
Author:
jhoblitt
Message:

first attempt at supporting multiple databases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/soapC.c

    r20208 r20965  
    1212#endif
    1313
    14 SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.11 2008-10-16 23:26:39 GMT")
     14SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.11 2008-12-11 21:42:14 GMT")
    1515
    1616
     
    13421342{
    13431343        (void)soap; (void)a; /* appease -Wall -Werror */
     1344        soap_default_string(soap, &a->key);
    13441345        soap_default_string(soap, &a->uri);
    13451346}
     
    13481349{
    13491350        (void)soap; (void)a; /* appease -Wall -Werror */
     1351        soap_serialize_string(soap, &a->key);
    13501352        soap_serialize_string(soap, &a->uri);
    13511353}
     
    13631365        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__delete_USCOREinstance), type))
    13641366                return soap->error;
     1367        if (soap_out_string(soap, "key", -1, &a->key, ""))
     1368                return soap->error;
    13651369        if (soap_out_string(soap, "uri", -1, &a->uri, ""))
    13661370                return soap->error;
     
    13781382SOAP_FMAC3 struct ns1__delete_USCOREinstance * SOAP_FMAC4 soap_in_ns1__delete_USCOREinstance(struct soap *soap, const char *tag, struct ns1__delete_USCOREinstance *a, const char *type)
    13791383{
     1384        size_t soap_flag_key = 1;
    13801385        size_t soap_flag_uri = 1;
    13811386        if (soap_element_begin_in(soap, tag, 0, type))
     
    13891394                for (;;)
    13901395                {       soap->error = SOAP_TAG_MISMATCH;
     1396                        if (soap_flag_key && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     1397                                if (soap_in_string(soap, "key", &a->key, "xsd:string"))
     1398                                {       soap_flag_key--;
     1399                                        continue;
     1400                                }
    13911401                        if (soap_flag_uri && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
    13921402                                if (soap_in_string(soap, "uri", &a->uri, "xsd:string"))
Note: See TracChangeset for help on using the changeset viewer.