summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-05-22 10:27:47 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-05-22 10:31:20 (GMT)
commit34ed08a8f899bffe2f9b27b4bd2e6e180650e61c (patch)
tree0666a10475afbece31105dfb3ef7d0fb3437e4eb /src/include
parentbddb7b6537d4d96c29c3343ce454a1b1462c07a4 (diff)
downloadlibmedia-thumbnail-34ed08a8f899bffe2f9b27b4bd2e6e180650e61c.zip
libmedia-thumbnail-34ed08a8f899bffe2f9b27b4bd2e6e180650e61c.tar.gz
libmedia-thumbnail-34ed08a8f899bffe2f9b27b4bd2e6e180650e61c.tar.bz2
Remove socket path and structure Change-Id: I5ced06aa5e575d37d79017e8854d1eb9d8415325 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/util/media-thumb-db.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/include/util/media-thumb-db.h b/src/include/util/media-thumb-db.h
index b3d2d71..6a5b64c 100755
--- a/src/include/util/media-thumb-db.h
+++ b/src/include/util/media-thumb-db.h
@@ -25,31 +25,22 @@
#ifndef _MEDIA_THUMB_DB_H_
#define _MEDIA_THUMB_DB_H_
-#define STRING_VALID(str) \
- ((str != NULL && strlen(str) > 0) ? TRUE : FALSE)
+#define STRING_VALID(str) ((str != NULL && strlen(str) > 0) ? TRUE : FALSE)
#define SELECT_THUMB_BY_PATH "SELECT thumbnail_path, width, height FROM media WHERE path='%q';"
#define UPDATE_THUMB_BY_PATH "UPDATE media SET thumbnail_path = '%q' WHERE path='%q';"
#define UPDATE_THUMB_WH_BY_PATH "UPDATE media SET thumbnail_path = '%q', width=%d,height=%d WHERE path='%q';"
sqlite3 *_media_thumb_db_get_handle();
-
int _media_thumb_db_connect(uid_t uid);
-
int _media_thumb_db_disconnect();
-
int _media_thumb_get_thumb_from_db_with_size(const char *origin_path,
char *thumb_path,
int max_length,
int *need_update_db,
int *width,
int *height);
-
-int _media_thumb_update_db(const char *origin_path,
- char *thumb_path,
- int width,
- int height,
- uid_t uid);
+int _media_thumb_update_db(const char *origin_path, char *thumb_path, int width, int height, uid_t uid);
#endif /*_MEDIA_THUMB_DB_H_*/