~renatofilho/ubuntu/vivid/syncevolution/default-syncInterval

« back to all changes in this revision

Viewing changes to src/synthesis/src/syncml_tk/src/sml/xlt/all/xltencxml.h

  • Committer: Ken VanDine
  • Date: 2014-11-04 19:44:22 UTC
  • mfrom: (1.3.5)
  • Revision ID: ken.vandine@canonical.com-20141104194422-tpalsrkoc1g9y31v
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * @file
 
3
 * The XML Encoder header file
 
4
 *
 
5
 * @target_system   All
 
6
 * @target_os       All
 
7
 */
 
8
 
 
9
/*
 
10
 * Copyright Notice
 
11
 * Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication
 
12
 * Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc.,
 
13
 * Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001).
 
14
 * All Rights Reserved.
 
15
 * Implementation of all or part of any Specification may require
 
16
 * licenses under third party intellectual property rights,
 
17
 * including without limitation, patent rights (such a third party
 
18
 * may or may not be a Supporter). The Sponsors of the Specification
 
19
 * are not responsible and shall not be held responsible in any
 
20
 * manner for identifying or failing to identify any or all such
 
21
 * third party intellectual property rights.
 
22
 *
 
23
 * THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED
 
24
 * ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM,
 
25
 * LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA,
 
26
 * NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML
 
27
 * SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
 
28
 * BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
 
29
 * HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
 
30
 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
 
31
 * SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO.,
 
32
 * LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY
 
33
 * OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF
 
34
 * PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF
 
35
 * BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL,
 
36
 * PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH
 
37
 * THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED
 
38
 * OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
 
39
 *
 
40
 * The above notice and this paragraph must be included on all copies
 
41
 * of this document that are made.
 
42
 *
 
43
 */
 
44
 
 
45
/*************************************************************************/
 
46
/*  Definitions                                                          */
 
47
/*************************************************************************/
 
48
#ifdef __SML_XML__
 
49
#ifndef _XLT_ENC_XML_H
 
50
#define _XLT_ENC_XML_H
 
51
 
 
52
#include <smlerr.h>
 
53
#include "xlttags.h"
 
54
#include "xltenccom.h"
 
55
 
 
56
/** byte for XML tag begin parentheses */
 
57
#define XML_BEGPAR '<'
 
58
 
 
59
/** byte for XML tag end parentheses */
 
60
#define XML_ENDPAR '>'
 
61
 
 
62
/** byte for XML tag del */
 
63
#define XML_TAGDEL '/'
 
64
 
 
65
/** XML version */
 
66
#define XML_VERSION "1.0"
 
67
 
 
68
/** XML encoding */
 
69
#define XML_ENCODING "UTF-8"
 
70
 
 
71
/** XML namespaceattribute */
 
72
#define XML_NSSTART " xmlns='"
 
73
#define XML_NSEND   "'"
 
74
 
 
75
#ifdef __cplusplus
 
76
extern "C" {
 
77
#endif
 
78
 
 
79
Ret_t xmlGenerateTag(XltTagID_t tagId, XltTagType_t tagType, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag);
 
80
 
 
81
#ifdef __cplusplus
 
82
}
 
83
#endif
 
84
 
 
85
#endif
 
86
#endif