Use g_strcmp0() for code simplification
[pidgin-git.git] / pidgin / gtkcertmgr.h
blob8971be41e1a6f61a4d609593e3399fd162e7f7a8
1 /**
2 * @file gtkcertmgr.h GTK+ Certificate Manager API
3 * @ingroup pidgin
4 */
5 /*
6 * pidgin
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
28 #ifndef _PIDGINCERTMGR_H_
29 #define _PIDGINCERTMGR_H_
31 /**************************************************************************
32 * @name Structures *
33 **************************************************************************/
34 typedef struct _PidginCertificateManager PidginCertificateManager;
36 /**
37 * GTK+ Certificate Manager subwidget
39 struct _PidginCertificateManager {
40 /** Create, configure, show, and return the management interface */
41 GtkWidget * (* build)(void);
42 /** Notebook label to use in the CertMgr dialog */
43 gchar *label;
46 /**************************************************************************/
47 /** @name Certificate Manager API */
48 /**************************************************************************/
49 /*@{*/
50 /**
51 * Show the certificate manager window
53 void pidgin_certmgr_show(void);
55 /**
56 * Hide the certificate manager window
58 void pidgin_certmgr_hide(void);
60 /*@}*/
62 #endif /* _PIDGINCERTMGR_H_ */