/usr/include/libsyncml-1.0/libsyncml/syncml.h is in libsyncml-dev 0.5.4-2.3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | /*
* libsyncml - A syncml protocol implementation
* Copyright (C) 2005 Armin Bauer <armin.bauer@opensync.org>
* Copyright (C) 2007 Michael Bell <michael.bell@opensync.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
/**
* @defgroup PublicAPI libsyncml API
* @ingroup PublicAPI
* @brief The public part
*
*/
/**
* @defgroup PublicObjectAPI libsyncml Object API
* @ingroup PublicAPI
* @brief The public part
*
*/
/**
* @defgroup PublicLowLevelAPI Low Level API
* @ingroup PublicAPI
* @brief The public part
*
*/
/*@{*/
#ifndef _SYNCML_H
#define _SYNCML_H
#include <unistd.h>
#include <sys/types.h>
#ifdef __cplusplus
extern "C"
{
#endif
/**************************************************************
* Defines
*************************************************************/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
/**************************************************************
* Structs
*************************************************************/
typedef struct SmlError SmlError;
typedef struct SmlTransport SmlTransport;
typedef struct SmlParser SmlParser;
typedef struct SmlAssembler SmlAssembler;
typedef struct SmlCommand SmlCommand;
typedef struct SmlLocation SmlLocation;
typedef struct SmlStatus SmlStatus;
typedef struct SmlSession SmlSession;
typedef struct SmlAnchor SmlAnchor;
typedef struct SmlPendingStatus SmlPendingStatus;
typedef struct SmlItem SmlItem;
typedef struct SmlDevInf SmlDevInf;
typedef struct SmlDevInfDataStore SmlDevInfDataStore;
typedef struct SmlDevInfContentType SmlDevInfContentType;
typedef struct SmlDevInfCTCap SmlDevInfCTCap;
typedef struct SmlDevInfProperty SmlDevInfProperty;
typedef struct SmlDevInfPropParam SmlDevInfPropParam;
typedef struct SmlNotification SmlNotification;
typedef struct SmlSanAlert SmlSanAlert;
typedef struct SmlMapItem SmlMapItem;
typedef struct SmlCred SmlCred;
typedef struct SmlChal SmlChal;
typedef struct SmlHeader SmlHeader;
typedef struct SmlTransportData SmlTransportData;
typedef struct SmlObject SmlObject;
typedef struct SmlManager SmlManager;
typedef struct SmlLink SmlLink;
typedef int SmlBool;
#include <libsyncml/sml_defines.h>
#include <libsyncml/sml_error.h>
#include <libsyncml/sml_manager.h>
#include <libsyncml/sml_session.h>
#include <libsyncml/sml_transport.h>
#include <libsyncml/sml_elements.h>
#include <libsyncml/sml_command.h>
#include <libsyncml/sml_devinf.h>
#include <libsyncml/sml_notification.h>
#include <libsyncml/sml_base64.h>
#include <libsyncml/sml_md5.h>
const char *smlGetLibraryVersion();
const char *smlGetLibrarySoName();
#ifdef __cplusplus
}
#endif
#endif
/*@}*/
/** @mainpage
*
* This library implements the following protocols:
*
* - SyncML 1.0 Data Synchronization Protocol
* - SyncML 1.1 Data Synchronization Protocol
* - OMA DS 1.1
* - OMA DS 1.2
*
* The following transports are supported:
*
* - HTTP client
* - HTTP server
* - OBEX client
* - OBEX server
*
* SANs for HTTP clients are not supported because HTTP OTA requires
* direct GSM network access.
*
* XML and WBXML are both supported.
*/
|