Wed, 12 Nov 2008 05:14:03 +0000
merge of '77693555855fe9cd3215414f79964dba346cc5fa'
and '19a87e98e5857ad0289f2c760d460f7f1dbbb42d'
| 11118 | 1 | #include "module.h" |
| 2 | ||
| 3 | MODULE = Gaim::Log PACKAGE = Gaim::Log PREFIX = gaim_log_ | |
| 4 | PROTOTYPES: ENABLE | |
| 5 | ||
| 12780 | 6 | int |
| 11118 | 7 | gaim_log_common_sizer(log) |
| 8 | Gaim::Log log | |
| 9 | ||
| 12780 | 10 | void |
|
11294
311ab2073818
[gaim-migrate @ 13494]
Mark Doliner <markdoliner@pidgin.im>
parents:
11290
diff
changeset
|
11 | gaim_log_common_writer(log, ext) |
| 11118 | 12 | Gaim::Log log |
| 13 | const char *ext | |
| 14 | ||
| 12780 | 15 | gint |
| 11118 | 16 | gaim_log_compare(y, z) |
| 17 | gconstpointer y | |
| 18 | gconstpointer z | |
| 19 | ||
| 12780 | 20 | void |
| 11118 | 21 | gaim_log_free(log) |
| 22 | Gaim::Log log | |
| 23 | ||
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
24 | gchar_own * |
| 11118 | 25 | gaim_log_get_log_dir(type, name, account) |
| 26 | Gaim::LogType type | |
| 27 | const char *name | |
| 28 | Gaim::Account account | |
| 29 | ||
| 30 | void | |
| 31 | gaim_log_get_log_sets() | |
| 32 | PREINIT: | |
| 12780 | 33 | GHashTable *l; |
| 11118 | 34 | PPCODE: |
| 12780 | 35 | l = gaim_log_get_log_sets(); |
| 36 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l, "GHashTable"))); | |
| 11118 | 37 | |
| 38 | void | |
| 39 | gaim_log_get_logs(type, name, account) | |
| 40 | Gaim::LogType type | |
| 41 | const char *name | |
| 42 | Gaim::Account account | |
| 43 | PREINIT: | |
| 12780 | 44 | GList *l; |
| 11118 | 45 | PPCODE: |
| 12780 | 46 | for (l = gaim_log_get_logs(type, name, account); l != NULL; l = l->next) { |
| 47 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); | |
| 48 | } | |
| 11118 | 49 | |
| 12780 | 50 | int |
| 11118 | 51 | gaim_log_get_size(log) |
| 52 | Gaim::Log log | |
| 53 | ||
| 54 | void | |
| 55 | gaim_log_get_system_logs(account) | |
| 56 | Gaim::Account account | |
| 57 | PREINIT: | |
| 12780 | 58 | GList *l; |
| 11118 | 59 | PPCODE: |
| 12780 | 60 | for (l = gaim_log_get_system_logs(account); l != NULL; l = l->next) { |
| 61 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); | |
| 62 | } | |
| 11118 | 63 | |
| 12780 | 64 | int |
| 11118 | 65 | gaim_log_get_total_size(type, name, account) |
| 66 | Gaim::LogType type | |
| 67 | const char *name | |
| 68 | Gaim::Account account | |
| 69 | ||
| 12780 | 70 | void |
| 11118 | 71 | gaim_log_init() |
| 72 | ||
| 12780 | 73 | void |
| 11118 | 74 | gaim_log_logger_free(logger) |
| 75 | Gaim::Log::Logger logger | |
| 76 | ||
| 77 | void | |
| 78 | gaim_log_logger_get_options() | |
| 79 | PREINIT: | |
| 12780 | 80 | GList *l; |
| 11118 | 81 | PPCODE: |
| 12780 | 82 | for (l = gaim_log_logger_get_options(); l != NULL; l = l->next) { |
| 83 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); | |
| 84 | } | |
| 11118 | 85 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
86 | gchar_own * |
| 11118 | 87 | gaim_log_read(log, flags) |
| 88 | Gaim::Log log | |
| 89 | Gaim::Log::ReadFlags flags | |
| 90 | ||
| 12780 | 91 | gint |
| 11118 | 92 | gaim_log_set_compare(y, z) |
| 93 | gconstpointer y | |
| 94 | gconstpointer z |