Merge branch 'tizen_2.1_smack' into tizen_2.1
[apps/core/preloaded/ciss.git] / include / ciss-util.h
1 /*\r
2  * Copyright 2012  Samsung Electronics Co., Ltd\r
3  *\r
4  * Licensed under the Flora License, Version 1.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  * http://www.tizenopensource.org/license\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 #ifndef _CISS_UTIL_H_\r
18 #define _CISS_UTIL_H_\r
19 \r
20 /*\r
21  * Functions of safe copy of string by checking the destination buffer size\r
22  */\r
23 char *_ciss_strcpy(char *pBuffer, int nBufCount, const char *pszString);\r
24 \r
25 /*\r
26  * Functions for swapping the strings\r
27  */\r
28 void _ciss_util_swap(char *str1, char *str2);\r
29 \r
30 #endif  /* _CISS_UTIL_H_ */\r
31 \r