comparison libpurple/plugins/perl/common/Log.xs @ 15373:5fe8042783c1

Rename gtk/ and libgaim/ to pidgin/ and libpurple/
author Sean Egan <seanegan@gmail.com>
date Sat, 20 Jan 2007 02:32:10 +0000
parents
children 2f8274ce570a
comparison
equal deleted inserted replaced
15372:f79e0f4df793 15373:5fe8042783c1
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
11 gaim_log_common_writer(log, ext)
12 Gaim::Log log
13 const char *ext
14
15 gint
16 gaim_log_compare(y, z)
17 gconstpointer y
18 gconstpointer z
19
20 void
21 gaim_log_free(log)
22 Gaim::Log log
23
24 gchar_own *
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:
33 GHashTable *l;
34 PPCODE:
35 l = gaim_log_get_log_sets();
36 XPUSHs(sv_2mortal(gaim_perl_bless_object(l, "GHashTable")));
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:
44 GList *l;
45 PPCODE:
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 }
49
50 int
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:
58 GList *l;
59 PPCODE:
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 }
63
64 int
65 gaim_log_get_total_size(type, name, account)
66 Gaim::LogType type
67 const char *name
68 Gaim::Account account
69
70 void
71 gaim_log_init()
72
73 void
74 gaim_log_logger_free(logger)
75 Gaim::Log::Logger logger
76
77 void
78 gaim_log_logger_get_options()
79 PREINIT:
80 GList *l;
81 PPCODE:
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 }
85
86 gchar_own *
87 gaim_log_read(log, flags)
88 Gaim::Log log
89 Gaim::Log::ReadFlags flags
90
91 gint
92 gaim_log_set_compare(y, z)
93 gconstpointer y
94 gconstpointer z