/usr/include/synthesis/sync_include.h is in libsynthesis-dev 3.4.0.47.1-1.
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 | /*
* File: sync_include.h
*
* Authors: Beat Forster (bfo@synthesis.ch)
*
*
* SDK include definitions
*
* Copyright (c) 2004-2011 by Synthesis AG + plan44.ch
*
*/
#ifndef SYNC_INCLUDE_H
#define SYNC_INCLUDE_H
#include "synthesis/target_options.h"
#include "synthesis/generic_types.h" /* some basic defs, which aren't available */
#include "synthesis/engine_defs.h"
#include "synthesis/syerror.h" /* "syerror.h" uses "generic_types.h" */
#if !defined(__cplusplus) && !defined(__OBJC__)
#if !defined(SYSYNC_ENGINE) || !defined(__MACH__) || defined(__GNUC__)
typedef unsigned char bool;
#define false 0
#define true 1
#endif
#endif
#if !defined SYSYNC_ENGINE || !defined LINUX || defined __MACH__
typedef unsigned long ulong;
#endif
#ifdef SYSYNC_ENGINE
/* ==> if it is running within the SyncML engine */
#ifdef __cplusplus
#include "synthesis/sysync.h"
#include "synthesis/platform_file.h"
#else
#if defined _MSC_VER
#define NULL 0
#endif
#include "synthesis/sysync_debug.h"
#endif
#else
/* ==> if running standalone, e.g. at a plug-in module */
#include <stdio.h> /* used for printf calls */
#include <stdlib.h> /* used for the malloc/free calls */
#include <string.h> /* used for strcpy/strlen calls */
#ifdef __cplusplus
#ifndef __MACH__ /* MACH: IOFBF/RAND_MAX duplicate problem */
#include <string> /* STL includes */
#include <list>
#endif
#ifdef __GNUC__
#include <typeinfo>
#else
#include <typeinfo.h> /* type_info class */
#endif
using namespace std;
#endif
#if defined __MACH__ && !defined __GNUC__ /* used for va_list support */
#include <mw_stdarg.h>
#else
#include <stdarg.h>
#endif
#endif
#ifdef DBAPI_FILEOBJ
#ifndef FILEOBJ_SUPPORT
#define FILEOBJ_SUPPORT 1
#endif
#define PLATFORM_FILE 1
#endif
/* JAVA native interface JNI */
#ifdef JNI_SUPPORT
#include <jni.h>
//#ifdef MACOSX
// #include <JavaVM/jni.h>
//#else
// #include <jni.h>
//#endif
#endif
#endif /* SYNC_INCLUDE_H */
/* eof */
|