summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-07-10 04:25:57 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-07-10 04:25:57 (GMT)
commit4cf66c08dc9082f757e56a37e465e51730a763f5 (patch)
tree002c776152450bbd656dc5b75485a900f1ca7375 /src/include
parent37e9042aa25253fe91f67d0ed2e7cb7cfda25b88 (diff)
downloadlibmedia-thumbnail-4cf66c08dc9082f757e56a37e465e51730a763f5.zip
libmedia-thumbnail-4cf66c08dc9082f757e56a37e465e51730a763f5.tar.gz
libmedia-thumbnail-4cf66c08dc9082f757e56a37e465e51730a763f5.tar.bz2
Remove db connection/disconnection APIrefs/changes/35/137835/1
Merge into SELECT api Change-Id: I25e0bd4b56b95a1856ea7142d7a0457685b3b2f8 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/util/media-thumb-db.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/util/media-thumb-db.h b/src/include/util/media-thumb-db.h
index a6eedf9..f5020c0 100755
--- a/src/include/util/media-thumb-db.h
+++ b/src/include/util/media-thumb-db.h
@@ -33,10 +33,7 @@
#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 *width, int *height);
+int _media_thumb_get_thumb_from_db_with_size(const char *origin_path, char *thumb_path, int max_length, 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_*/