4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: JuHak Park <juhaki.park@samsung.com>,
7 * JuneHyuk Lee <junhyuk7.lee@samsung.com>,
8 * SunBong Ha <sunbong.ha@samsung.com>
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
29 * For any sort of issue you concern as to this software,
30 * you may use following point of contact.
31 * All resources contributed on this software
32 * are orinigally written by S-Core Inc., a member of Samsung Group.
34 * SeongWon Shim <seongwon.shim@samsung.com>
38 * @SA_Command_Internal.h
40 * @brief This file is the header file that structure which is available in SA is defined
41 * Command (Alert, Results, Sync, Put, Get, Map, Add, Replace, Delete)
45 #ifndef SA_COMMAND_INTERNAL_H_
46 #define SA_COMMAND_INTERNAL_H_
48 #include "ServiceAdapter/SA_Define.h"
49 #include "Common/Common_Define.h"
51 typedef struct CommandAlertPrivate {
55 unsigned int maxObjSize;
56 } CommandAlertPrivate;
58 typedef struct CommandSyncPrivate {
59 unsigned int numChanged;
64 typedef struct CommandAccessPrivate {
67 } CommandAccessPrivate;
69 typedef struct CommandChangePrivate {
72 } CommandChangePrivate;
74 typedef struct CommandMapPrivate {
78 typedef struct CommandResultsPrivate {
84 } CommandResultsPrivate;
86 typedef union CommandPrivate {
87 CommandAlertPrivate alert;
88 CommandSyncPrivate sync;
89 CommandAccessPrivate access; /*put or get*/
90 CommandChangePrivate change;
91 CommandMapPrivate map;
92 CommandResultsPrivate results;
100 CommandPrivate private;
120 #endif /* SA_COMMAND_INTERNAL_H_ */