libpurple/plugins/perl/common/Privacy.xs

Thu, 07 Aug 2008 01:41:44 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Thu, 07 Aug 2008 01:41:44 +0000
changeset 23980
a38cbb35eecf
parent 15894
765ec644ac47
child 16238
33bf2fd32108
child 18068
b6554e3c8224
child 20478
46933dc62880
child 23983
586866581434
permissions
-rw-r--r--

Some cleanup and a couple leak fixes.

11118
36db35a9da56 [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
1 #include "module.h"
36db35a9da56 [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
2
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
3 MODULE = Purple::Privacy PACKAGE = Purple::Privacy PREFIX = purple_privacy_
11118
36db35a9da56 [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
4 PROTOTYPES: ENABLE
36db35a9da56 [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
5
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
6 Purple::Privacy::UiOps
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
7 purple_privacy_get_ui_ops()
11118
36db35a9da56 [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
8
12773
1f635f83d71f [gaim-migrate @ 15120]
Etan Reisner <deryni@pidgin.im>
parents: 11290
diff changeset
9 void
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
10 purple_privacy_init()
11118
36db35a9da56 [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
11
12773
1f635f83d71f [gaim-migrate @ 15120]
Etan Reisner <deryni@pidgin.im>
parents: 11290
diff changeset
12 void
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
13 purple_privacy_set_ui_ops(ops)
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
14 Purple::Privacy::UiOps ops
15066
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
15
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
16 gboolean
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
17 purple_privacy_permit_add(account, name, local_only)
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
18 Purple::Account account
15066
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
19 const char * name
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
20 gboolean local_only
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
21
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
22 gboolean
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
23 purple_privacy_permit_remove(account, name, local_only)
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
24 Purple::Account account
15066
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
25 const char * name
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
26 gboolean local_only
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
27
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
28 gboolean
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
29 purple_privacy_deny_add(account, name, local_only)
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
30 Purple::Account account
15066
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
31 const char * name
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
32 gboolean local_only
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
33
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
34 gboolean
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
35 purple_privacy_deny_remove(account, name, local_only)
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
36 Purple::Account account
15066
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
37 const char * name
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
38 gboolean local_only
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
39
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
40 gboolean
15894
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
41 purple_privacy_check(account, who)
765ec644ac47 Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
42 Purple::Account account
15066
57ab37fe1190 [gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents: 14254
diff changeset
43 const char * who

mercurial