X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fvconf-buxton.h;h=504f8464b1acb71b16684d7b58887b4e57d5ee6a;hb=refs%2Ftags%2Faccepted%2Ftizen%2Fmobile%2F20150609.085908;hp=2ad453dcd437ed3b784fbe0a2d52ffcfc88fd06c;hpb=78dab2a5edc1e212f9a3d1ed38e3955e7d955784;p=platform%2Fcore%2Fappfw%2Fvconf-buxton.git diff --git a/include/vconf-buxton.h b/include/vconf-buxton.h index 2ad453d..504f846 100644 --- a/include/vconf-buxton.h +++ b/include/vconf-buxton.h @@ -85,12 +85,18 @@ * @{ */ +#include #include "vconf-buxton-keys.h" #ifdef __cplusplus extern "C" { #endif +#define VCONF_OK 0 +#define VCONF_ERROR -1 +#define VCONF_ERROR_FILE_NO_ENT -ENOENT +#define VCONF_ERROR_FILE_PERM -EPERM + /** * @brief Enumeration for uses of vconf_get(). * @since_tizen 2.3 @@ -1206,6 +1212,15 @@ int main() int vconf_exists(const char *keyname); /** + * This function returns result of last api call + * @return The result of last api call + * @retval #VCONF_OK Successful + * @retval #VCONF_ERROR General error + * @retval #VCONF_ERROR_FILE_NO_ENT No such key + * @retval #VCONF_ERROR_FILE_PERM Permission denied + */ + int vconf_get_ext_errno(void); +/** * @} */