about summary refs log blame commit diff stats
path: root/src/xmpp/omemo.h
blob: 8d796a02053b8b4cafec0c30a97de16ad3e29cb0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                 

                    
                                      
                                                  
                                                      
                                          

                                                                                                                                         
                                                                             
#include <glib.h>

#include "xmpp/iq.h"

void omemo_devicelist_subscribe(void);
void omemo_devicelist_publish(GList *device_list);
void omemo_devicelist_request(const char * const jid);
void omemo_bundle_publish(gboolean first);
void omemo_bundle_request(const char * const jid, uint32_t device_id, ProfIqCallback func, ProfIqFreeCallback free_func, void *userdata);
int omemo_start_device_session_handle_bundle(xmpp_stanza_t *const stanza, void *const userdata);
char * omemo_receive_message(xmpp_stanza_t *const stanza, gboolean *trusted);