Home | History | Annotate | Download | only in hdr
      1 /*************************************************************************/
      2 /* module:          Communication Services, standard type definitions    */
      3 /* file:            src/xpt/all/xpttypes.h                               */
      4 /* target system:   all                                                  */
      5 /* target OS:       all                                                  */
      6 /*************************************************************************/
      7 
      8 /*
      9  * Copyright Notice
     10  * Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication
     11  * Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc.,
     12  * Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001).
     13  * All Rights Reserved.
     14  * Implementation of all or part of any Specification may require
     15  * licenses under third party intellectual property rights,
     16  * including without limitation, patent rights (such a third party
     17  * may or may not be a Supporter). The Sponsors of the Specification
     18  * are not responsible and shall not be held responsible in any
     19  * manner for identifying or failing to identify any or all such
     20  * third party intellectual property rights.
     21  *
     22  * THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED
     23  * ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM,
     24  * LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA,
     25  * NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML
     26  * SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
     27  * BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
     28  * HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
     29  * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
     30  * SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO.,
     31  * LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY
     32  * OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF
     33  * PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF
     34  * BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL,
     35  * PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH
     36  * THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED
     37  * OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
     38  *
     39  * The above notice and this paragraph must be included on all copies
     40  * of this document that are made.
     41  *
     42  */
     43 
     44 
     45 /**
     46  * Definition of several basic datatypes.
     47  *
     48  */
     49 
     50 #ifndef XPTTYPES_H
     51 #define XPTTYPES_H
     52 
     53 #ifdef _cplusplus
     54 extern "C" {
     55 #endif
     56 
     57 
     58 #ifndef Bool_t
     59 typedef int Bool_t;
     60 #endif
     61 
     62 typedef unsigned char *DataBuffer_t;
     63 typedef DataBuffer_t  *DataPtr_t;
     64 typedef unsigned long  BufferSize_t;
     65 typedef BufferSize_t  *BufferSizePtr_t;
     66 
     67 typedef const char      *CString_t;
     68 typedef char            *Ptr_t;
     69 typedef char            *StringBuffer_t;
     70 typedef CString_t       *StringPtr_t;
     71 typedef StringBuffer_t  *StringBufferPtr_t;
     72 typedef unsigned short   StringLength_t;
     73 
     74 
     75 
     76 #ifdef _cplusplus
     77 }
     78 #endif
     79 
     80 #endif
     81