Sync with the latest one
[platform/framework/web/livebox-viewer.git] / include / fb.h
index 31da7c1..9e567dd 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * Copyright 2013  Samsung Electronics Co., Ltd
  *
- * Licensed under the Flora License, Version 1.0 (the "License");
+ * Licensed under the Flora License, Version 1.1 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- * http://www.tizenopensource.org/license
+ * http://floralicense.org/license/
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -20,7 +20,7 @@ enum buffer_type { /*!< Must have to be sync with libprovider, liblivebox-viewer
        BUFFER_TYPE_FILE,
        BUFFER_TYPE_SHM,
        BUFFER_TYPE_PIXMAP,
-       BUFFER_TYPE_ERROR,
+       BUFFER_TYPE_ERROR
 };
 
 extern int fb_init(void *disp);
@@ -31,6 +31,7 @@ extern int fb_sync(struct fb_info *info);
 extern int fb_size(struct fb_info *info);
 extern int fb_refcnt(void *data);
 extern int fb_is_created(struct fb_info *info);
+extern int fb_type(struct fb_info *info);
 
 extern struct fb_info *fb_create(const char *filename, int w, int h);
 extern int fb_destroy(struct fb_info *info);