//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
#ifndef _FBASE_DATA_TYPE_H_
#define _FBASE_DATA_TYPE_H_
-
/**
* @c byte is an @c unsigned @c char datatype.
* @since 2.0
*/
typedef unsigned long result;
-
namespace Tizen { namespace Base
{
class String;
typedef Tizen::Base::String UserId;
typedef Tizen::Base::String LoginId;
-
/**
* The invocation ID is returned when a request is sent.
* @since 2.0
typedef long RequestId;
#define INVALID_REQUEST_ID -1
-
// Macro to get the value in byte
#define GET_MASK(val, pos, msk) (((val) & ((msk) << (pos))) >> (pos))
// Macro to put the value in byte
#define PUT_MASK(var, val, pos) ((var) | ((val) << (pos)))
-
#ifndef Handle
typedef int Handle;
#define INVALID_HANDLE -1
#define INFINITE 0xFFFFFFFF
#endif // INFINITE
-
#ifndef UUID
#ifndef UUID__DEFINED
typedef struct UUID_
#define UUID UUID_
#endif // UUID
-#endif // _FBASE_DATA_TYPE_H_
+#endif // _FBASE_DATA_TYPE_H_
\ No newline at end of file