6584
|
1 #include "module.h"
|
|
2
|
11118
|
3 MODULE = Gaim::Connection PACKAGE = Gaim::GTK::Connection PREFIX = gaim_gtk_connections_
|
6584
|
4 PROTOTYPES: ENABLE
|
|
5
|
11118
|
6 Gaim::Connection::UiOps
|
|
7 gaim_gtk_connections_get_ui_ops()
|
|
8
|
|
9 MODULE = Gaim::Connection PACKAGE = Gaim::Connection PREFIX = gaim_connections_
|
|
10 PROTOTYPES: ENABLE
|
6584
|
11
|
|
12 Gaim::Account
|
|
13 gaim_connection_get_account(gc)
|
|
14 Gaim::Connection gc
|
|
15
|
|
16 const char *
|
11118
|
17 gaim_connection_get_password(gc)
|
|
18 Gaim::Connection gc
|
|
19
|
|
20 const char *
|
6584
|
21 gaim_connection_get_display_name(gc)
|
|
22 Gaim::Connection gc
|
|
23
|
11118
|
24 void
|
|
25 gaim_connection_notice(gc, text)
|
|
26 Gaim::Connection gc
|
|
27 const char *text
|
6584
|
28
|
11118
|
29 void
|
|
30 gaim_connection_error(gc, reason)
|
|
31 Gaim::Connection gc
|
|
32 const char *reason
|
6584
|
33
|
11118
|
34 void
|
6584
|
35 gaim_connections_disconnect_all()
|
|
36
|
11118
|
37 void
|
|
38 gaim_connections_get_all()
|
|
39 PREINIT:
|
|
40 GList *l;
|
|
41 PPCODE:
|
|
42 for (l = gaim_connections_get_all(); l != NULL; l = l->next) {
|
|
43 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
|
|
44 }
|
6584
|
45
|
|
46
|
|
47 void
|
11118
|
48 gaim_connections_get_connecting()
|
6584
|
49 PREINIT:
|
|
50 GList *l;
|
|
51 PPCODE:
|
11118
|
52 for (l = gaim_connections_get_connecting(); l != NULL; l = l->next) {
|
|
53 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
|
|
54 }
|
|
55
|
|
56 void
|
|
57 gaim_connections_set_ui_ops(ops)
|
|
58 Gaim::Connection::UiOps ops
|
|
59
|
|
60 Gaim::Connection::UiOps
|
|
61 gaim_connections_get_ui_ops()
|
|
62
|
|
63 void
|
|
64 gaim_connections_init()
|
|
65
|
|
66 void
|
|
67 gaim_connections_uninit()
|
|
68
|
|
69 void *
|
|
70 gaim_connections_get_handle()
|
|
71
|
|
72 void
|
|
73 gaim_connection_destroy(gc)
|
|
74 Gaim::Connection gc
|
|
75
|
|
76 void
|
|
77 gaim_connection_set_state(gc, state)
|
|
78 Gaim::Connection gc
|
|
79 Gaim::ConnectionState state
|
|
80
|
|
81 void
|
|
82 gaim_connection_set_account(gc, account)
|
|
83 Gaim::Connection gc
|
|
84 Gaim::Account account
|
|
85
|
|
86 void
|
|
87 gaim_connection_set_display_name(gc, name)
|
|
88 Gaim::Connection gc
|
|
89 const char *name
|
|
90
|
|
91 Gaim::ConnectionState
|
|
92 gaim_connection_get_state(gc)
|
|
93 Gaim::Connection gc
|
|
94
|