ekg2  GIT master
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 int gg_status_to_text(const int status);
25 int gg_text_to_status(const int status, const char *descr);
27 int gg_blocked_add(session_t *s, const char *uid);
28 int gg_blocked_remove(session_t *s, const char *uid);
29 const char *gg_http_error_string(int h);
30 int gg_userlist_send(struct gg_session *s, userlist_t *userlist);
31 
32 char *gg_to_core(session_t *s, char *txt);
33 char *gg_to_core_dup(session_t *s, const char *txt);
34 char *locale_to_gg(session_t *s, char *txt);
35 char *locale_to_gg_dup(session_t *s, const char *txt);
36 const char *locale_to_gg_use(session_t *s, const char *txt);
37 
38 #endif
39 
40 /*
41  * Local Variables:
42  * mode: c
43  * c-file-style: "k&r"
44  * c-basic-offset: 8
45  * indent-tabs-mode: t
46  * End:
47  */
char * gg_to_core_dup(session_t *s, const char *txt)
Definition: misc.c:260
Definition: sessions.h:127
char gg_userlist_type(userlist_t *u)
Definition: misc.c:105
int gg_userlist_send(struct gg_session *s, userlist_t *userlist)
Definition: misc.c:220
const char * gg_http_error_string(int h)
Definition: misc.c:189
const char * locale_to_gg_use(session_t *s, const char *txt)
Definition: misc.c:275
int gg_status_to_text(const int status)
Definition: misc.c:39
char * locale_to_gg(session_t *s, char *txt)
Definition: misc.c:265
char * locale_to_gg_dup(session_t *s, const char *txt)
Definition: misc.c:270
char * gg_to_core(session_t *s, char *txt)
Definition: misc.c:255
Definition: userlist.h:54
int gg_blocked_remove(session_t *s, const char *uid)
Definition: misc.c:123
int gg_text_to_status(const int status, const char *descr)
Definition: misc.c:83
int gg_blocked_add(session_t *s, const char *uid)
Definition: misc.c:156
#define s