--- a/jingle-filetransfer/filetransfer.h Mon Aug 16 02:55:00 2010 +0200
+++ b/jingle-filetransfer/filetransfer.h Mon Aug 16 02:56:46 2010 +0200
@@ -11,6 +11,10 @@
JINGLE_FT_REQUEST,
} JingleFTType;
+typedef enum {
+ JINGLE_FT_INCOMING,
+ JINGLE_FT_OUTGOING
+} JingleFTDirection;
typedef struct {
/* the last modification of the file, optional */
time_t date;
@@ -33,6 +37,9 @@
/* Is it an offer or a request ? */
JingleFTType type;
+ /* Is it if the file is incoming or outgoing */
+ JingleFTDirection dir;
+
/* A little description of the transfer */
gchar *desc;
@@ -41,4 +48,9 @@
} JingleFT;
+typedef struct {
+ int index;
+
+ JingleFT *jft;
+} JingleFTInfo;
#endif