/usr/include/synthesis/dataconversion.h is in libsynthesis-dev 3.4.0.47.4-2+b1.
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 | #ifndef DataConversion_H
#define DataConversion_H
#include "synthesis/sync_declarations.h"
#ifdef __cplusplus
#include <string>
using namespace sysync;
namespace sysync {
/**
* convert data from one format into another
*
* @param aSession an active session handle
* @param aFromTypeName the original datatype name, like "vCard30"
* @param aToTypeName the generated datatype name
* @retval aItemData original data, replaced with data in new format
* @return true for success
*/
bool DataConversion(SessionH aSession,
const char *aFromTypeName,
const char *aToTypeName,
std::string &aItemData);
} // namespace sysync
#endif /* __cplusplus */
#endif /* DataConversion_H */
|