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
gg.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
* 2004 - 2006 Adam Mikuta <adamm@ekg2.org>
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License Version 2 as
10
* published by the Free Software Foundation.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
*/
21
22
#ifndef __EKG_GG_GG_H
23
#define __EKG_GG_GG_H
24
25
#include <libgadu.h>
26
#include <
ekg/dynstuff.h
>
27
#include <
ekg/plugins.h
>
28
#include <
ekg/userlist.h
>
29
30
COMMAND
(
gg_command_image
);
/* images.c */
31
32
extern
plugin_t
gg_plugin
;
33
extern
char
*
last_tokenid
;
34
35
/* variables */
36
extern
int
gg_config_display_token
;
37
extern
int
gg_config_audio
;
38
extern
int
gg_config_dcc
;
39
extern
char
*
gg_config_dcc_ip
;
40
extern
char
*
gg_config_dcc_limit
;
41
extern
int
gg_config_dcc_port
;
42
extern
int
gg_config_get_images
;
43
extern
char
*
gg_config_images_dir
;
44
extern
int
gg_config_image_size
;
45
extern
int
gg_config_split_messages
;
46
47
typedef
enum
{
48
GG_QUIET_CHANGE
= 0x0001
49
}
gg_quiet_t
;
50
51
typedef
struct
{
52
struct
gg_session *
sess
;
/* sesja */
53
list_t
searches
;
/* operacje szukania */
54
list_t
passwds
;
/* operacje zmiany hasła */
55
gg_quiet_t
quiet
;
/* co ma być cicho */
56
int
curr_prtcl_ver
;
/* current protocol version */
57
58
/* (annoying) description scrolling */
59
unsigned
int
scroll_op : 1;
60
int
scroll_pos
;
61
time_t
scroll_last
;
62
}
gg_private_t
;
63
64
void
gg_register_commands
();
65
66
WATCHER_SESSION
(
gg_session_handler
);
67
68
typedef
struct
{
69
char
*
uid
;
70
session_t
*
session
;
71
}
gg_currently_checked_t
;
72
73
extern
list_t
gg_currently_checked
;
74
80
typedef
struct
{
81
82
int
protocol
;
84
}
gg_userlist_private_t
;
85
86
#define gg_userlist_priv_get(u) ((gg_userlist_private_t *) userlist_private_get(&gg_plugin, u))
87
88
#endif
/* __EKG_GG_GG_H */
89
90
/*
91
* Local Variables:
92
* mode: c
93
* c-file-style: "k&r"
94
* c-basic-offset: 8
95
* indent-tabs-mode: t
96
* End:
97
*/
Wygenerowano Pn, 15 lip 2013 08:05:25 dla ekg2 programem
1.8.4