ekg2  GIT master
people.h
Idź do dokumentacji tego pliku.
1 /*
2  * (C) Copyright 2004-2005 Michal 'GiM' Spadlinski <gim at skrzynka dot pl>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License Version 2 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16  */
17 
18 #ifndef __IRC_PIPL_H
19 #define __IRC_PIPL_H
20 
21 #include "irc.h"
22 
24 channel_t *irc_find_channel(list_t p, char *channame);
25 people_chan_t *irc_find_person_chan(list_t p, char *channame);
26 
27 /* person joins channel */
28 people_t *irc_add_person(session_t *s, irc_private_t *j, char *nick, char *channame);
29 /* we join channel */
30 int irc_add_people(session_t *s, irc_private_t *j, char *names, char *channame);
31 
32 /* someone made /part */
33 int irc_del_person_channel(session_t *s, irc_private_t *j, char *nick, char *chan);
34 /* someone made /quit */
35 int irc_del_person(session_t *s, irc_private_t *j, char *nick,
36  char *wholenick, char *reason, int doprint);
37 /* we've made /part */
39 
40 /* add channel to our list of channels */
42  window_t *win);
43 
44 int irc_nick_change(session_t *s, irc_private_t *j, char *old_nick, char *new_nick);
45 int irc_nick_prefix(irc_private_t *j, people_chan_t *ch, int irc_color);
46 int irc_color_in_contacts(irc_private_t *j, int mode, userlist_t *ul);
47 
48 /* clean up */
50 
51 #endif
52 
53 /*
54  * Local Variables:
55  * mode: c
56  * c-file-style: "k&r"
57  * c-basic-offset: 8
58  * indent-tabs-mode: t
59  * End:
60  */
int irc_add_people(session_t *s, irc_private_t *j, char *names, char *channame)
Definition: people.c:246
Definition: chanview.c:59
int irc_del_channel(session_t *s, irc_private_t *j, char *name)
Definition: people.c:451
Definition: sessions.h:127
int irc_nick_change(session_t *s, irc_private_t *j, char *old_nick, char *new_nick)
Definition: people.c:561
channel_t * irc_find_channel(list_t p, char *channame)
Definition: people.c:87
static plugin_t p
Definition: static-aborts.c:4
people_t * irc_find_person(irc_private_t *j, list_t p, char *nick)
Definition: people.c:62
int irc_color_in_contacts(irc_private_t *j, int mode, userlist_t *ul)
Definition: people.c:518
int irc_del_person(session_t *s, irc_private_t *j, char *nick, char *wholenick, char *reason, int doprint)
Definition: people.c:381
Definition: irc.h:109
char ch
Definition: completion.c:638
Definition: irc.h:82
channel_t * irc_add_channel(session_t *s, irc_private_t *j, char *name, window_t *win)
Definition: people.c:501
Definition: userlist.h:54
const char * name
Definition: remote.c:88
int irc_del_person_channel(session_t *s, irc_private_t *j, char *nick, char *chan)
Definition: people.c:347
Definition: irc.h:90
people_t * irc_add_person(session_t *s, irc_private_t *j, char *nick, char *channame)
Definition: people.c:219
Definition: ekg_hash_benchmark.c:14
Definition: windows.h:67
int irc_nick_prefix(irc_private_t *j, people_chan_t *ch, int irc_color)
Definition: people.c:538
int irc_free_people(session_t *s, irc_private_t *j)
Definition: people.c:635
#define s
people_chan_t * irc_find_person_chan(list_t p, char *channame)
Definition: people.c:103
Definition: irc.h:30