X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Finclude%2Fmm_camcorder_util.h;h=ec5f5b8d68afc771ae8f73b4941391b64e304408;hb=26570268f565ec5cf2b53acd81e079483e8df5d8;hp=042bf07008ea29c552cbbaaecc2c86fcbdc6e7fc;hpb=2c9cac4d61b92091a466d3c7dca5d58864668a8b;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/src/include/mm_camcorder_util.h b/src/include/mm_camcorder_util.h index 042bf07..ec5f5b8 100644 --- a/src/include/mm_camcorder_util.h +++ b/src/include/mm_camcorder_util.h @@ -27,6 +27,7 @@ ========================================================================================*/ #include #include +#include #ifdef __cplusplus @@ -224,6 +225,14 @@ typedef struct { GMutex lock; /**< mutex for item */ } _MMCamcorderMsgItem; +/** + * Structure of storage information + */ +typedef struct { + storage_type_e type; + int id; +} _MMCamcorderStorageInfo; + /*======================================================================================= | CONSTANT DEFINITIONS | @@ -286,7 +295,8 @@ guint64 _mmcamcorder_get_container_size64(const guchar *size); gboolean _mmcamcorder_update_composition_matrix(FILE *f, int orientation); /* File system */ -int _mmcamcorder_get_freespace(const gchar *path, const gchar *root_directory, guint64 *free_space); +int _mmcamcorder_get_storage_info(const gchar *path, const gchar *root_directory, _MMCamcorderStorageInfo *storage_info); +int _mmcamcorder_get_freespace(storage_type_e type, guint64 *free_space); int _mmcamcorder_get_file_size(const char *filename, guint64 *size); int _mmcamcorder_get_file_system_type(const gchar *path, int *file_system_type);