ekg2

plugins/gg/misc.h

Idź do dokumentacji tego pliku.
00001 /* $Id$ */
00002 
00003 /*
00004  *  (C) Copyright 2003 Wojtek Kaniewski <wojtekka@irc.pl
00005  *                2004 Piotr Kupisiewicz <deletek@ekg2.org>
00006  *
00007  *  This program is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU General Public License Version 2 as
00009  *  published by the Free Software Foundation.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program; if not, write to the Free Software
00018  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #ifndef __EKG_GG_MISC_H
00022 #define __EKG_GG_MISC_H
00023 
00024 #include <ekg/sessions.h>
00025 #include <ekg/userlist.h>
00026 #include <ekg/recode.h>
00027 
00028 int gg_status_to_text(const int status);
00029 int gg_text_to_status(const int status, const char *descr);
00030 char gg_userlist_type(userlist_t *u);
00031 int gg_blocked_add(session_t *s, const char *uid);
00032 int gg_blocked_remove(session_t *s, const char *uid);
00033 const char *gg_http_error_string(int h);
00034 int gg_userlist_send(struct gg_session *s, userlist_t *userlist);
00035 
00036 char *gg_to_locale(session_t *s, char *txt);
00037 char *gg_to_locale_dup(session_t *s, const char *txt);
00038 char *locale_to_gg(session_t *s, char *txt);
00039 char *locale_to_gg_dup(session_t *s, const char *txt);
00040 const char *locale_to_gg_use(session_t *s, const char *txt);
00041 
00042 #endif
00043 
00044 /*
00045  * Local Variables:
00046  * mode: c
00047  * c-file-style: "k&r"
00048  * c-basic-offset: 8
00049  * indent-tabs-mode: t
00050  * End:
00051  */
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje