/usr/include/libnm-gtk/nm-vpn-password-dialog.h is in libnm-gtk-dev 1.2.6-0ubuntu0.16.04.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/* vpn-password-dialog.c - A use password prompting dialog widget.
*
* The Gnome Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as
* published by the ree Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* The Gnome Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Copyright (C) 1999, 2000 Eazel, Inc.
* Copyright (C) 2011, 2013 Red Hat, Inc.
*
* Authors: Ramiro Estrugo <ramiro@eazel.com>
* Dan Williams <dcbw@redhat.com>
*/
#ifndef NMA_VPN_PASSWORD_DIALOG_H
#define NMA_VPN_PASSWORD_DIALOG_H
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define NMA_VPN_TYPE_PASSWORD_DIALOG (nma_vpn_password_dialog_get_type ())
#define NMA_VPN_PASSWORD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NMA_VPN_TYPE_PASSWORD_DIALOG, NMAVpnPasswordDialog))
#define NMA_VPN_PASSWORD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NMA_VPN_TYPE_PASSWORD_DIALOG, NMAVpnPasswordDialogClass))
#define NMA_VPN_IS_PASSWORD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NMA_VPN_TYPE_PASSWORD_DIALOG))
#define NMA_VPN_IS_PASSWORD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NMA_VPN_TYPE_PASSWORD_DIALOG))
typedef struct NMAVpnPasswordDialog NMAVpnPasswordDialog;
typedef struct NMAVpnPasswordDialogClass NMAVpnPasswordDialogClass;
struct NMAVpnPasswordDialog {
GtkDialog parent;
};
struct NMAVpnPasswordDialogClass {
GtkDialogClass parent_class;
};
GType nma_vpn_password_dialog_get_type (void);
GtkWidget* nma_vpn_password_dialog_new (const char *title,
const char *message,
const char *password);
gboolean nma_vpn_password_dialog_run_and_block (NMAVpnPasswordDialog *dialog);
/* Attribute mutators */
void nma_vpn_password_dialog_set_show_password (NMAVpnPasswordDialog *dialog,
gboolean show);
void nma_vpn_password_dialog_focus_password (NMAVpnPasswordDialog *dialog);
void nma_vpn_password_dialog_set_password (NMAVpnPasswordDialog *dialog,
const char *password);
void nma_vpn_password_dialog_set_password_label (NMAVpnPasswordDialog *dialog,
const char *label);
void nma_vpn_password_dialog_set_show_password_secondary (NMAVpnPasswordDialog *dialog,
gboolean show);
void nma_vpn_password_dialog_focus_password_secondary (NMAVpnPasswordDialog *dialog);
void nma_vpn_password_dialog_set_password_secondary (NMAVpnPasswordDialog *dialog,
const char *password_secondary);
void nma_vpn_password_dialog_set_password_secondary_label (NMAVpnPasswordDialog *dialog,
const char *label);
void nma_vpn_password_dialog_set_show_password_ternary (NMAVpnPasswordDialog *dialog,
gboolean show);
void nma_vpn_password_dialog_focus_password_ternary (NMAVpnPasswordDialog *dialog);
void nma_vpn_password_dialog_set_password_ternary (NMAVpnPasswordDialog *dialog,
const char *password_ternary);
void nma_vpn_password_dialog_set_password_ternary_label (NMAVpnPasswordDialog *dialog,
const char *label);
/* Attribute accessors */
const char *nma_vpn_password_dialog_get_password (NMAVpnPasswordDialog *dialog);
const char *nma_vpn_password_dialog_get_password_secondary (NMAVpnPasswordDialog *dialog);
const char *nma_vpn_password_dialog_get_password_ternary (NMAVpnPasswordDialog *dialog);
G_END_DECLS
#endif /* NMA_VPN_PASSWORD_DIALOG_H */
|