ekg2  GIT master
Struktury danych | Wyliczenia | Funkcje
Dokumentacja pliku autoacts.h
Ten wykres pokazuje, które pliki bezpośrednio lub pośrednio załączają ten plik:

Idź do kodu źródłowego tego pliku.

Struktury danych

struct  irc_onkick_handler_t
 

Wyliczenia

enum  { IRC_REJOIN_KICK =0, IRC_REJOIN_CONNECT }
 

Funkcje

int irc_autorejoin (session_t *s, int when, char *chan)
 
 QUERY (irc_onkick_handler)
 

Dokumentacja typów wyliczanych

◆ anonymous enum

anonymous enum
Wartości wyliczeń
IRC_REJOIN_KICK 
IRC_REJOIN_CONNECT 

Dokumentacja funkcji

◆ irc_autorejoin()

int irc_autorejoin ( session_t s,
int  when,
char *  chan 
)

irc_autorejoin()

Try to rejoin.

Do zrobienia:
We double check "REJOIN" if IRC_REJOIN_KICK
Parametry
s- session
when- type of rejoining:
  • IRC_REJOIN_CONNECT When we want to rejoin to all channels we had opened for example after /reconnect
  • IRC_REJOIN_KICK When we want to rejoin to given channel (chan)
chan- if when == IRC_REJOIN_KICK than it specify to which channel we want to rejoin after kick.
Zwraca
0 - if we send JOIN commands to ircd...
-1 - If smth went wrong.

◆ QUERY()

QUERY ( irc_onkick_handler  )