jingle-ibb/ibb.c
changeset 161 fa1d993d05b6
parent 159 1df5f5e3f1e7
equal deleted inserted replaced
160:e149e868d501 161:fa1d993d05b6
    44 static JingleHandleStatus handle(JingleAction action, gconstpointer data,
    44 static JingleHandleStatus handle(JingleAction action, gconstpointer data,
    45                                  LmMessageNode *node, GError **err);
    45                                  LmMessageNode *node, GError **err);
    46 static void tomessage(gconstpointer data, LmMessageNode *node);
    46 static void tomessage(gconstpointer data, LmMessageNode *node);
    47 static gconstpointer new(void);
    47 static gconstpointer new(void);
    48 static void send(session_content *sc, gconstpointer data, gchar *buf, gsize size);
    48 static void send(session_content *sc, gconstpointer data, gchar *buf, gsize size);
    49 static void init(session_content *sc);
    49 static void init(session_content *sc, gconstpointer data);
    50 static void end(session_content *sc, gconstpointer data);
    50 static void end(session_content *sc, gconstpointer data);
    51 static gchar *info(gconstpointer data);
    51 static gchar *info(gconstpointer data);
    52 
    52 
    53 static void _send_internal(session_content *sc, const gchar *to, gchar *buf,
    53 static void _send_internal(session_content *sc, const gchar *to, gchar *buf,
    54                            gsize size, const gchar *sid, gint64 *seq);
    54                            gsize size, const gchar *sid, gint64 *seq);
   334   
   334   
   335     g_free(buffer);
   335     g_free(buffer);
   336   }
   336   }
   337 }
   337 }
   338 
   338 
   339 static void init(session_content *sc)
   339 static void init(session_content *sc, gconstpointer data)
   340 {
   340 {
   341   return;
   341   return;
   342 }
   342 }
   343 
   343 
   344 static void end(session_content *sc, gconstpointer data)
   344 static void end(session_content *sc, gconstpointer data)