X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Flivebox_internal.h;h=cbbefbc1a9ecbe26d958e36db2be1d719e24d74a;hb=386ead03793ce5570fc2a0f1d38f61d69b2a908c;hp=f88e55d9323f13a7c4bb8fd06b282dcbc7d3ece3;hpb=e8bf7467f29e8af590d44fc24dd6ed383563c8b4;p=platform%2Fframework%2Fweb%2Flivebox-viewer.git diff --git a/include/livebox_internal.h b/include/livebox_internal.h index f88e55d..cbbefbc 100644 --- a/include/livebox_internal.h +++ b/include/livebox_internal.h @@ -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://floralicense.org + * 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, @@ -45,20 +45,21 @@ extern struct livebox *lb_ref(struct livebox *handler); extern struct livebox *lb_unref(struct livebox *handler); extern int lb_send_delete(struct livebox *handler, ret_cb_t cb, void *data); extern int lb_delete_all(void); +extern void lb_set_filename(struct livebox *handler, const char *filename); enum lb_type { /*!< Must have to be sync with data-provider-master */ _LB_TYPE_NONE = 0x0, _LB_TYPE_SCRIPT, _LB_TYPE_FILE, _LB_TYPE_TEXT, - _LB_TYPE_BUFFER, + _LB_TYPE_BUFFER }; enum pd_type { /*!< Must have to be sync with data-provider-master */ _PD_TYPE_NONE = 0x0, _PD_TYPE_SCRIPT, _PD_TYPE_TEXT, - _PD_TYPE_BUFFER, + _PD_TYPE_BUFFER }; struct livebox { @@ -66,7 +67,7 @@ struct livebox { enum { CREATE = 0xBEEFbeef, DELETE = 0xDEADdead, /* Delete only for this client */ - DESTROYED = 0x00DEAD00, + DESTROYED = 0x00DEAD00 } state; char *cluster;