| /* |
| * Copyright 2003-2004 The Apache Software Foundation. |
| // (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| * |
| */ |
| #ifndef AXISWRAPPERAPI_INCLUDED |
| #define AXISWRAPPERAPI_INCLUDED |
| |
| /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ |
| /* NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE */ |
| /* ---------------------------------------------------------------- */ |
| /* THIS HEADER FILE PATTERNED AFTER CORRESPONDING hpp HEADER FILE. */ |
| /* CHANGES TO hpp HEADER FILE MAY NEED TO BE PROPAGATED HERE AND IN */ |
| /* THE IMPLEMEMTATION OF THE C APIS. */ |
| /* ---------------------------------------------------------------- */ |
| /* NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE */ |
| /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| |
| #include <axis/IWrapperSoapDeSerializer.h> |
| #include <axis/IWrapperSoapSerializer.h> |
| |
| /** |
| * @file AxisWrapperAPI.hpp |
| * This file contains the API functions that are implemented by the WSDL2Ws |
| * tool generated code to manipulate C/C++ type for each complex type in a xml |
| * schema. |
| */ |
| /** |
| * @fn AXIS_DESERIALIZE_FUNCT |
| * Function that deserializes a custom type |
| */ |
| typedef int (* AXISC_DESERIALIZE_FUNCT)(void*, void*); |
| |
| /** |
| * @fn AXIS_OBJECT_CREATE_FUNCT |
| * Function used to create a custom type. If nSize is 0, a singleton object |
| * is created; if nSize is greater than 0, a c-type array of nSize pointers to |
| * objects are created and returned. |
| */ |
| typedef void* (* AXISC_OBJECT_CREATE_FUNCT)(int nSize); |
| |
| /** |
| * @fn AXIS_OBJECT_DELETE_FUNCT |
| * Function used to delete a custom type. If nSize is 0, void * points to |
| * a singleton object; if nSize is greater than 0, then void* points to |
| * a c-type array of nSize pointers to objects that are to be deleted. |
| * The function will also delete the c-type array. |
| */ |
| typedef void (* AXISC_OBJECT_DELETE_FUNCT)(void*, int nSize); |
| |
| /** |
| * @fn AXIS_SERIALIZE_FUNCT |
| * Function that serializes a custom type. bArray indicates that the object |
| * in void is an element of an array (note that void* is not itself an array). |
| */ |
| typedef int (* AXISC_SERIALIZE_FUNCT)(void*, void*, AxiscBool bArray); |
| |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* AXISWRAPPERAPI_INCLUDED */ |