ekg2
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
plugins
gg
misc.h
Idź do dokumentacji tego pliku.
1
/* $Id$ */
2
3
/*
4
* (C) Copyright 2003 Wojtek Kaniewski <wojtekka@irc.pl
5
* 2004 Piotr Kupisiewicz <deletek@ekg2.org>
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License Version 2 as
9
* published by the Free Software Foundation.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
*/
20
21
#ifndef __EKG_GG_MISC_H
22
#define __EKG_GG_MISC_H
23
24
#include <
ekg/sessions.h
>
25
#include <
ekg/userlist.h
>
26
#include <
ekg/recode.h
>
27
28
int
gg_status_to_text
(
const
int
status
);
29
int
gg_text_to_status
(
const
int
status
,
const
char
*descr);
30
char
gg_userlist_type
(
userlist_t
*
u
);
31
int
gg_blocked_add
(
session_t
*s,
const
char
*
uid
);
32
int
gg_blocked_remove
(
session_t
*s,
const
char
*
uid
);
33
const
char
*
gg_http_error_string
(
int
h);
34
int
gg_userlist_send
(
struct
gg_session *s,
userlist_t
*
userlist
);
35
36
char
*
gg_to_locale
(
session_t
*s,
char
*txt);
37
char
*
gg_to_locale_dup
(
session_t
*s,
const
char
*txt);
38
char
*
locale_to_gg
(
session_t
*s,
char
*txt);
39
char
*
locale_to_gg_dup
(
session_t
*s,
const
char
*txt);
40
const
char
*
locale_to_gg_use
(
session_t
*s,
const
char
*txt);
41
42
#endif
43
44
/*
45
* Local Variables:
46
* mode: c
47
* c-file-style: "k&r"
48
* c-basic-offset: 8
49
* indent-tabs-mode: t
50
* End:
51
*/
Wygenerowano So, 26 paź 2013 04:06:51 dla ekg2 programem
1.8.4