--- a/jingle-filetransfer/filetransfer.h Mon Aug 16 18:32:55 2010 +0200
+++ b/jingle-filetransfer/filetransfer.h Mon Aug 16 18:33:33 2010 +0200
@@ -15,6 +15,15 @@
JINGLE_FT_INCOMING,
JINGLE_FT_OUTGOING
} JingleFTDirection;
+
+typedef enum {
+ JINGLE_FT_PENDING,
+ JINGLE_FT_STARTING,
+ JINGLE_FT_ENDING,
+ JINGLE_FT_REJECT,
+ JINGLE_FT_ERROR
+} JingleFTState;
+
typedef struct {
/* the last modification of the file, optional */
time_t date;
@@ -40,6 +49,9 @@
/* Is it if the file is incoming or outgoing */
JingleFTDirection dir;
+ /* The state of the file (PENDING, STARTING, ...) */
+ JingleFTState state;
+
/* A little description of the transfer */
gchar *desc;