3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _PIDGINPRIVACY_H_
23 #define _PIDGINPRIVACY_H_
26 * @section_id: pidgin-gtkprivacy
27 * @short_description: <filename>gtkprivacy.h</filename>
36 * pidgin_privacy_init:
38 * Initializes the GTK+ privacy subsystem.
40 void pidgin_privacy_init(void);
43 * pidgin_privacy_dialog_show:
45 * Shows the privacy dialog.
47 void pidgin_privacy_dialog_show(void);
50 * pidgin_privacy_dialog_hide:
52 * Hides the privacy dialog.
54 void pidgin_privacy_dialog_hide(void);
57 * pidgin_request_add_permit:
58 * @account: The account.
59 * @name: The name of the user to add.
61 * Requests confirmation to add a user to the allow list for an account,
64 * If @name is not specified, an input dialog will be presented.
66 void pidgin_request_add_permit(PurpleAccount
*account
, const char *name
);
69 * pidgin_request_add_block:
70 * @account: The account.
71 * @name: The name of the user to add.
73 * Requests confirmation to add a user to the block list for an account,
76 * If @name is not specified, an input dialog will be presented.
78 void pidgin_request_add_block(PurpleAccount
*account
, const char *name
);
82 #endif /* _PIDGINPRIVACY_H_ */