11118
|
1 #include "module.h"
|
|
2
|
|
3 MODULE = Gaim::Log PACKAGE = Gaim::Log PREFIX = gaim_log_
|
|
4 PROTOTYPES: ENABLE
|
|
5
|
|
6 int
|
|
7 gaim_log_common_sizer(log)
|
|
8 Gaim::Log log
|
|
9
|
|
10 void
|
11294
|
11 gaim_log_common_writer(log, ext)
|
11118
|
12 Gaim::Log log
|
|
13 const char *ext
|
|
14
|
|
15
|
|
16 gint
|
|
17 gaim_log_compare(y, z)
|
|
18 gconstpointer y
|
|
19 gconstpointer z
|
|
20
|
|
21 void
|
|
22 gaim_log_free(log)
|
|
23 Gaim::Log log
|
|
24
|
|
25 char *
|
|
26 gaim_log_get_log_dir(type, name, account)
|
|
27 Gaim::LogType type
|
|
28 const char *name
|
|
29 Gaim::Account account
|
|
30
|
|
31 void
|
|
32 gaim_log_get_log_sets()
|
|
33 PREINIT:
|
11290
|
34 GHashTable *l;
|
11118
|
35 PPCODE:
|
11290
|
36 l = gaim_log_get_log_sets();
|
|
37 XPUSHs(sv_2mortal(gaim_perl_bless_object(l, "GHashTable")));
|
11118
|
38
|
|
39 void
|
|
40 gaim_log_get_logs(type, name, account)
|
|
41 Gaim::LogType type
|
|
42 const char *name
|
|
43 Gaim::Account account
|
|
44 PREINIT:
|
|
45 GList *l;
|
|
46 PPCODE:
|
|
47 for (l = gaim_log_get_logs(type, name, account); l != NULL; l = l->next) {
|
|
48 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
|
|
49 }
|
|
50
|
|
51 int
|
|
52 gaim_log_get_size(log)
|
|
53 Gaim::Log log
|
|
54
|
|
55 void
|
|
56 gaim_log_get_system_logs(account)
|
|
57 Gaim::Account account
|
|
58 PREINIT:
|
|
59 GList *l;
|
|
60 PPCODE:
|
|
61 for (l = gaim_log_get_system_logs(account); l != NULL; l = l->next) {
|
|
62 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
|
|
63 }
|
|
64
|
|
65 int
|
|
66 gaim_log_get_total_size(type, name, account)
|
|
67 Gaim::LogType type
|
|
68 const char *name
|
|
69 Gaim::Account account
|
|
70
|
|
71 void
|
|
72 gaim_log_init()
|
|
73
|
|
74
|
|
75 void
|
|
76 gaim_log_logger_free(logger)
|
|
77 Gaim::Log::Logger logger
|
|
78
|
|
79 void
|
|
80 gaim_log_logger_get_options()
|
|
81 PREINIT:
|
|
82 GList *l;
|
|
83 PPCODE:
|
|
84 for (l = gaim_log_logger_get_options(); l != NULL; l = l->next) {
|
|
85 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry")));
|
|
86 }
|
|
87
|
|
88 char *
|
|
89 gaim_log_read(log, flags)
|
|
90 Gaim::Log log
|
|
91 Gaim::Log::ReadFlags flags
|
|
92
|
|
93 gint
|
|
94 gaim_log_set_compare(y, z)
|
|
95 gconstpointer y
|
|
96 gconstpointer z
|
|
97
|