3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 * @SA_Elements_Internal.h
21 * @brief This file is the header file that structure which is available in SA is defined
22 * SyncHdr, SyncML, Cred, Chal, Item, Anchor, Location
25 #ifndef SA_ELEMENTS_INTERNAL_H_
26 #define SA_ELEMENTS_INTERNAL_H_
28 #include "service-adapter/sa_define.h"
37 unsigned int free_mem;
45 unsigned int nonce_length;
50 item_data_type_e data_type;
56 unsigned int size; /* for data */
57 char *content_type; /* for data */
58 int more_data; /* for moredata */
62 char *last_anchor; /**< Last Anchor*/
63 char *next_anchor; /**< Next Anchor*/
81 protocol_version_e version;
82 protocol_type_e protocol;
88 unsigned int message_id;
91 unsigned int max_msg_size;
92 unsigned int max_obj_size;
97 GList *status; /**< containing Status struct */
98 GList *commands; /**< containing Command struct */
102 #endif /* SA_ELEMENTS_INTERNAL_H_ */