jingle-s5b/socks5.h
changeset 164 6866328b34bd
parent 161 fa1d993d05b6
equal deleted inserted replaced
163:a4c75fe75869 164:6866328b34bd
    22 typedef struct {
    22 typedef struct {
    23   JingleS5BModes mode;
    23   JingleS5BModes mode;
    24 
    24 
    25   const gchar *sid;
    25   const gchar *sid;
    26 
    26 
    27   GSocketConnection *sock;
    27   GSocketConnection *connection;
       
    28 
       
    29   GCancellable *cancelconnect;
    28 
    30 
    29   GSocketListener *listener;
    31   GSocketListener *listener;
    30 
    32 
       
    33   GSocketClient *client;
       
    34 
    31   /**
    35   /**
    32    * This is the list of the other client's candidates.
    36    * @brief This is the list of the other client's candidates
       
    37    * 
       
    38    * It should always be priority ordered.
    33    */
    39    */
    34   GSList *candidates;
    40   GSList *candidates;
    35 
    41 
    36   /**
    42   /**
    37    * This is our list of candidates, the one we sent during a
    43    * @brief This is our list of candidates
    38    * session-initiate or session-accept.
       
    39    */
    44    */
    40   GSList *ourcandidates;
    45   GSList *ourcandidates;
    41 } JingleS5B;
    46 } JingleS5B;
    42  
    47  
    43 typedef struct {
    48 typedef struct {
    50   guint16 port;
    55   guint16 port;
    51 
    56 
    52   guint64 priority;
    57   guint64 priority;
    53 
    58 
    54   JingleS5BType type;
    59   JingleS5BType type;
    55 
       
    56   GSocket *sock;
       
    57 } S5BCandidate;
    60 } S5BCandidate;
    58 
    61 
    59 #endif
    62 #endif