Mercurial > pidgin
annotate libpurple/plugins/perl/common/SavedStatuses.xs @ 17742:ee58212687bb
Plug a few more memory leaks for some perl plugins.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 22 May 2007 11:01:14 +0000 |
parents | ae2edfa3de1f |
children | ab6d2763b8d8 |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 #include "module.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 |
17136
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
3 /* I can't get this to work, both with and without the const on the return |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
4 * type I get errors from gcc. One way about ignoring types in a cast, and the |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
5 * other about assigning to read-only variables. |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
6 const Purple::StatusType |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
7 purple_savedstatus_substatus_get_type(substatus) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
8 const Purple::SavedStatus::Sub substatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
9 */ |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
10 |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
11 MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatus PREFIX = purple_savedstatus_ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 PROTOTYPES: ENABLE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
14 Purple::SavedStatus |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
15 purple_savedstatus_new(title, type) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 const char *title |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
17 Purple::StatusPrimitive type |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 void |
17136
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
20 purple_savedstatus_set_title(status, title) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
21 Purple::SavedStatus status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
22 const char *title |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
23 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
24 void |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
25 purple_savedstatus_set_type(status, type) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
26 Purple::SavedStatus status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
27 Purple::StatusPrimitive type |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
28 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
29 void |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
30 purple_savedstatus_set_message(status, message) |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
31 Purple::SavedStatus status |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 const char *message |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
33 |
17136
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
34 void |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
35 purple_savedstatus_set_substatus(status, account, type, message) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
36 Purple::SavedStatus status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
37 Purple::Account account |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
38 Purple::StatusType type |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
39 const char *message |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
40 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
41 void |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
42 purple_savedstatus_unset_substatus(status, account) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
43 Purple::SavedStatus status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
44 Purple::Account account |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
45 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
46 gboolean |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
47 purple_savedstatus_delete(title) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
48 const char *title |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
49 |
17027
2c5654d1a17a
disapproval of revision '105009e066f1bcaefb0af3bd1e17b7860bf12a57'
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17026
diff
changeset
|
50 Purple::SavedStatus |
2c5654d1a17a
disapproval of revision '105009e066f1bcaefb0af3bd1e17b7860bf12a57'
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17026
diff
changeset
|
51 purple_savedstatus_get_current() |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 |
17136
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
53 Purple::SavedStatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
54 purple_savedstatus_get_default() |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
55 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
56 Purple::SavedStatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
57 purple_savedstatus_get_idleaway() |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
58 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
59 gboolean |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
60 purple_savedstatus_is_idleaway() |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
61 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
62 void |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
63 purple_savedstatus_set_idleaway(idleaway) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
64 gboolean idleaway |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
65 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
66 Purple::SavedStatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
67 purple_savedstatus_get_startup() |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
68 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
69 Purple::SavedStatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
70 purple_savedstatus_find(title) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
71 const char *title |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
72 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
73 Purple::SavedStatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
74 purple_savedstatus_find_by_creation_time(creation_time) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
75 time_t creation_time |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
76 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
77 Purple::SavedStatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
78 purple_savedstatus_find_transient_by_type_and_message(type, message) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
79 Purple::StatusPrimitive type |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
80 const char *message |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
81 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
82 gboolean |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
83 purple_savedstatus_is_transient(saved_status) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
84 const Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
85 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
86 const char * |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
87 purple_savedstatus_get_title(saved_status) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
88 const Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
89 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
90 Purple::StatusPrimitive |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
91 purple_savedstatus_get_type(saved_status) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
92 const Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
93 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
94 const char * |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
95 purple_savedstatus_get_message(saved_status) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
96 const Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
97 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
98 time_t |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
99 purple_savedstatus_get_creation_time(saved_status) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
100 const Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
101 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
102 gboolean |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
103 purple_savedstatus_has_substatuses(saved_status) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
104 const Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
105 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
106 Purple::SavedStatus::Sub |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
107 purple_savedstatus_get_substatus(saved_status, account) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
108 Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
109 Purple::Account account |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
110 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
111 void |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
112 purple_savedstatus_activate(saved_status) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
113 Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
114 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
115 void |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
116 purple_savedstatus_activate_for_account(saved_status, account) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
117 const Purple::SavedStatus saved_status |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
118 Purple::Account account |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
119 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
120 MODULE = Purple::SavedStatus::Sub PACKAGE = Purple::SavedStatus::Sub PREFIX = purple_savedstatus_substatus_ |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
121 PROTOTYPES: ENABLE |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
122 |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
123 const char * |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
124 purple_savedstatus_substatus_get_message(substatus) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
125 const Purple::SavedStatus::Sub substatus |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
126 |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
127 MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatuses PREFIX = purple_savedstatuses_ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
128 PROTOTYPES: ENABLE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
129 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
130 void |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
131 purple_savedstatuses_get_all() |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
132 PREINIT: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
133 const GList *l; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
134 PPCODE: |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
135 for (l = purple_savedstatuses_get_all(); l != NULL; l = l->next) { |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
136 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::SavedStatus"))); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
137 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
138 |
17136
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
139 void |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
140 purple_savedstatuses_get_popular(how_many) |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
141 unsigned int how_many |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
142 PREINIT: |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
143 const GList *l; |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
144 PPCODE: |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
145 for (l = purple_savedstatuses_get_popular(how_many); l != NULL; l = l->next) { |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
146 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::SavedStatus"))); |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
147 } |
ae2edfa3de1f
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <pidgin@unreliablesource.net>
parents:
17027
diff
changeset
|
148 |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
149 Purple::Handle |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
150 purple_savedstatuses_get_handle() |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
151 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
152 void |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
153 purple_savedstatuses_init() |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
154 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
155 void |
15833
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
156 purple_savedstatuses_uninit() |