jingle/register.c
changeset 164 6866328b34bd
parent 163 a4c75fe75869
equal deleted inserted replaced
163:a4c75fe75869 164:6866328b34bd
   107 
   107 
   108 /**
   108 /**
   109  * Determine which transport is better suited for a given app.
   109  * Determine which transport is better suited for a given app.
   110  */
   110  */
   111 const gchar *jingle_transport_for_app(const gchar *appxmlns,
   111 const gchar *jingle_transport_for_app(const gchar *appxmlns,
   112                                                GSList **forbid)
   112                                       GSList **forbid)
   113 {
   113 {
   114   AppHandlerEntry *app = jingle_find_app(appxmlns);
   114   AppHandlerEntry *app = jingle_find_app(appxmlns);
   115   GSList *entry;
   115   GSList *entry;
   116   TransportHandlerEntry *thistransport, *besttransport = NULL;
   116   TransportHandlerEntry *thistransport, *besttransport = NULL;
   117   JingleTransportPriority bestprio = 0;
   117   JingleTransportPriority bestprio = 0;