about summary refs log tree commit diff stats
path: root/kernel.soso/syscalls.c
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-11-16 14:47:15 -0800
committerKartik Agaram <vc@akkartik.com>2019-11-16 14:51:32 -0800
commit86894ca577c9869698c423db09dc01fa3ac56eb9 (patch)
treee9d1de1a7b77b2f2ac8a262eac77ebe715ffeab2 /kernel.soso/syscalls.c
parentedda65475a80f9b715d231b95ad9f464298595ac (diff)
downloadmu-86894ca577c9869698c423db09dc01fa3ac56eb9.tar.gz
5748
A new draft of docs as I build out mu.subx. Once we have the second Mu
language, it makes sense to relegate most of the underlying SubX docs to
a separate doc.

I want each layer to be learned bottom-up as I've been organizing SubX
so far. But it's counter-productive to require people to learn SubX before
Mu.
Diffstat (limited to 'kernel.soso/syscalls.c')
0 files changed, 0 insertions, 0 deletions
mes Booth <boothj5@gmail.com> 2014-08-24 20:57:39 +0100 committer James Booth <boothj5@gmail.com> 2014-08-24 20:57:39 +0100 Added license exemption for OpenSSL to source headers' href='/danisanti/profani-tty/commit/src/server_events.h?id=f9737251a68da0a815dffd8d10a575cfea8539c3'>f9737251 ^
87cdbe01 ^

9cff3735 ^

87cdbe01 ^
9b55f2de ^
a4cadf78 ^
a7a28506 ^
a2726b6a ^
8aba52f4 ^

8aba52f4 ^
a2726b6a ^











8044c826 ^
a2726b6a ^



























8aba52f4 ^
4ad69042 ^
b28ac093 ^
a2726b6a ^

74151e64 ^
87cdbe01 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93

                  
                                 
  
                                                            













                                                                       
                                                                      
  











                                                                                

   

                             
 
                      
                         
 
                                                                       

                                 
                                                   











                                                                                                   
                                                                                     



























                                                                                                                                        
                                 
                                              
                                                                           

                                                                                                   
 
      
/*
 * server_events.h
 * vim: expandtab:ts=4:sts=4:sw=4
 *
 * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
 *
 * This file is part of Profanity.
 *
 * Profanity is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Profanity is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Profanity.  If not, see <https://www.gnu.org/licenses/>.
 *
 * In addition, as a special exception, the copyright holders give permission to
 * link the code of portions of this program with the OpenSSL library under
 * certain conditions as described in each individual source file, and
 * distribute linked combinations including the two.
 *
 * You must obey the GNU General Public License in all respects for all of the
 * code used other than OpenSSL. If you modify file(s) with this exception, you
 * may extend this exception to your version of the file(s), but you are not
 * obligated to do so. If you do not wish to do so, delete this exception
 * statement from your version. If you delete this exception statement from all
 * source files in the program, then also delete it here.
 *
 */

#ifndef EVENT_SERVER_EVENTS_H
#define EVENT_SERVER_EVENTS_H

#include "xmpp/xmpp.h"
#include "xmpp/message.h"

void sv_ev_login_account_success(char* account_name, gboolean secured);
void sv_ev_lost_connection(void);
void sv_ev_failed_login(void);
void sv_ev_room_invite(jabber_invite_t invite_type,
                       const char* const invitor, const char* const room,
                       const char* const reason, const char* const password);
void sv_ev_room_broadcast(const char* const room_jid, const char* const message);
void sv_ev_room_subject(const char* const room, const char* const nick, const char* const subject);
void sv_ev_room_history(ProfMessage* message);
void sv_ev_room_message(ProfMessage* message);
void sv_ev_incoming_message(ProfMessage* message);
void sv_ev_incoming_private_message(ProfMessage* message);
void sv_ev_delayed_private_message(ProfMessage* message);
void sv_ev_typing(char* barejid, char* resource);
void sv_ev_paused(char* barejid, char* resource);
void sv_ev_inactive(char* barejid, char* resource);
void sv_ev_activity(const char* barejid, const char* resource, gboolean send_states);
void sv_ev_gone(const char* const barejid, const char* const resource);
void sv_ev_subscription(const char* from, jabber_subscr_t type);
void sv_ev_message_receipt(const char* const barejid, const char* const id);
void sv_ev_contact_offline(char* contact, char* resource, char* status);
void sv_ev_contact_online(char* contact, Resource* resource, GDateTime* last_activity, char* pgpkey);
void sv_ev_leave_room(const char* const room);
void sv_ev_room_destroy(const char* const room);
void sv_ev_room_occupant_offline(const char* const room, const char* const nick,
                                 const char* const show, const char* const status);
void sv_ev_room_destroyed(const char* const room, const char* const new_jid, const char* const password,
                          const char* const reason);
void sv_ev_room_kicked(const char* const room, const char* const actor, const char* const reason);
void sv_ev_room_occupent_kicked(const char* const room, const char* const nick, const char* const actor,
                                const char* const reason);
void sv_ev_room_banned(const char* const room, const char* const actor, const char* const reason);
void sv_ev_room_occupent_banned(const char* const room, const char* const nick, const char* const actor,
                                const char* const reason);
void sv_ev_outgoing_carbon(ProfMessage* message);
void sv_ev_incoming_carbon(ProfMessage* message);
void sv_ev_xmpp_stanza(const char* const msg);
void sv_ev_muc_self_online(const char* const room, const char* const nick, gboolean config_required,
                           const char* const role, const char* const affiliation, const char* const actor, const char* const reason,
                           const char* const jid, const char* const show, const char* const status);
void sv_ev_muc_occupant_online(const char* const room, const char* const nick, const char* const jid,
                               const char* const role, const char* const affiliation, const char* const actor, const char* const reason,
                               const char* const show_str, const char* const status_str);
void sv_ev_roster_update(const char* const barejid, const char* const name,
                         GSList* groups, const char* const subscription, gboolean pending_out);
void sv_ev_roster_received(void);
void sv_ev_connection_features_received(void);
int sv_ev_certfail(const char* const errormsg, const TLSCertificate* cert);
void sv_ev_lastactivity_response(const char* const from, const int seconds, const char* const msg);
void sv_ev_bookmark_autojoin(Bookmark* bookmark);

#endif