[grilo-plugins] lua-factory: Document OperationSpec struct



commit 5aa214ff95d820bc8c2c163aa63f13c0d8a46adb
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Apr 19 13:34:12 2014 +0200

    lua-factory: Document OperationSpec struct
    
    https://bugzilla.gnome.org/show_bug.cgi?id=728882

 src/lua-factory/grl-lua-common.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/lua-factory/grl-lua-common.h b/src/lua-factory/grl-lua-common.h
index e951b94..42a947b 100644
--- a/src/lua-factory/grl-lua-common.h
+++ b/src/lua-factory/grl-lua-common.h
@@ -44,9 +44,13 @@ typedef enum {
 * @operation_id: The operation_id of operation that generate this structure.
 * @op_type: Witch operation its being executed.
 * @cb: union to user callback. The function parameters depends on operation.
+*      resolve is used for LUA_RESOLVE operations
+*      result is used for LUA_SEARCH, LUA_BROWSE and LUA_QUERY operations.
 * @content: Save the current user media if already have one.
 * @user_data: User data passed in user defined callback.
 * @error_code: To set GRL_CORE_ERROR of the operation.
+* @pending_ops: The number of pending async calls for this operation
+* @callback_done: Whether grl.callback() was called
 *
 * This structure is used to save important data in the communication between
 * lua-factory and lua-libraries.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]