diff options
Diffstat (limited to 'libempathy/empathy-tp-file.h')
-rw-r--r-- | libempathy/empathy-tp-file.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h index 9c9b7217f..0d7d8efc0 100644 --- a/libempathy/empathy-tp-file.h +++ b/libempathy/empathy-tp-file.h @@ -67,11 +67,23 @@ struct _EmpathyTpFileClass { /* prototypes for operation callbacks */ +/** + * EmpathyTpFileProgressCallback: + * @tp_file: the #EmpathyTpFile being transferred + * @current_bytes: the bytes currently transferred by the operation + * @user_data: user data passed to the callback + **/ typedef void (* EmpathyTpFileProgressCallback) (EmpathyTpFile *tp_file, guint64 current_bytes, gpointer user_data); +/** + * EmpathyTpFileOperationCallback: + * @tp_file: the #EmpathyTpFile that has been transferred + * @error: a #GError if the operation didn't succeed, %NULL otherwise + * @user_data: user data passed to the callback + **/ typedef void (* EmpathyTpFileOperationCallback) (EmpathyTpFile *tp_file, const GError *error, |