jingle-socks5/socks5.h
changeset 117 bd54d1dba1ad
parent 116 7dbd5e5e7a7c
child 150 5a4ca04ea3c9
equal deleted inserted replaced
116:7dbd5e5e7a7c 117:bd54d1dba1ad
     8   JINGLE_S5B_DIRECT,
     8   JINGLE_S5B_DIRECT,
     9   JINGLE_S5B_PROXY,
     9   JINGLE_S5B_PROXY,
    10   JINGLE_S5B_TUNNEL
    10   JINGLE_S5B_TUNNEL
    11 } JingleS5BType;
    11 } JingleS5BType;
    12 
    12 
       
    13 typedef enum {
       
    14   JINGLE_S5B_TCP,
       
    15   JINGLE_S5B_UDP
       
    16 } JingleS5BModes;
       
    17 
    13 typedef struct {
    18 typedef struct {
    14   // optional, default: tcp. useful ??
    19   JingleS5BModes mode;
    15   const gchar *mode;
       
    16   
    20   
    17   const gchar *sid;  
    21   const gchar *sid;  
    18    
    22    
    19   GSList *candidates;
    23   GSList *candidates;
    20 } JingleSocks5;
    24 } JingleSocks5;
    24   
    28   
    25   const gchar *host;
    29   const gchar *host;
    26   
    30   
    27   const gchar *jid;
    31   const gchar *jid;
    28   
    32   
    29   guint port;
    33   guint16 port;
    30   
    34   
    31   guint64 priority;
    35   guint64 priority;
    32   
    36   
    33   JingleS5BType type;
    37   JingleS5BType type;
    34   
    38   
    35 } JingleCandidate;
    39 } JingleS5BCandidate;
    36 #endif
    40 #endif