This file is indexed.

/usr/include/libgnomeui-2.0/libgnomeui/gnome-password-dialog.h is in libgnomeui-dev 2.24.5-3.

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
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */

/* gnome-password-dialog.h - A use password prompting dialog widget.

   Copyright (C) 1999, 2000 Eazel, Inc.

   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 Free 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 Library General Public
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.

   Authors: Ramiro Estrugo <ramiro@eazel.com>
*/

#ifndef GNOME_PASSWORD_DIALOG_H
#define GNOME_PASSWORD_DIALOG_H

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define GNOME_TYPE_PASSWORD_DIALOG            (gnome_password_dialog_get_type ())
#define GNOME_PASSWORD_DIALOG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_PASSWORD_DIALOG, GnomePasswordDialog))
#define GNOME_PASSWORD_DIALOG_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_PASSWORD_DIALOG, GnomePasswordDialogClass))
#define GNOME_IS_PASSWORD_DIALOG(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_PASSWORD_DIALOG))
#define GNOME_IS_PASSWORD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_PASSWORD_DIALOG))

typedef struct _GnomePasswordDialog        GnomePasswordDialog;
typedef struct _GnomePasswordDialogClass   GnomePasswordDialogClass;
typedef struct _GnomePasswordDialogDetails GnomePasswordDialogDetails;

struct _GnomePasswordDialog
{
	GtkDialog gtk_dialog;

	GnomePasswordDialogDetails *details;
};

struct _GnomePasswordDialogClass
{
	GtkDialogClass parent_class;
};

typedef enum {
	GNOME_PASSWORD_DIALOG_REMEMBER_NOTHING,
	GNOME_PASSWORD_DIALOG_REMEMBER_SESSION,
	GNOME_PASSWORD_DIALOG_REMEMBER_FOREVER
} GnomePasswordDialogRemember;

typedef gdouble (* GnomePasswordDialogQualityFunc) (GnomePasswordDialog *password_dialog,
 						    const char *password,
						    gpointer user_data);

GType    gnome_password_dialog_get_type (void);
GtkWidget* gnome_password_dialog_new      (const char *dialog_title,
					   const char *message,
					   const char *username,
					   const char *password,
					   gboolean    readonly_username);

gboolean   gnome_password_dialog_run_and_block           (GnomePasswordDialog *password_dialog);

/* Attribute mutators */
void gnome_password_dialog_set_show_username       (GnomePasswordDialog *password_dialog,
						    gboolean             show);
void gnome_password_dialog_set_show_domain         (GnomePasswordDialog *password_dialog,
						    gboolean             show);
void gnome_password_dialog_set_show_password       (GnomePasswordDialog *password_dialog,
						    gboolean             show);
void gnome_password_dialog_set_show_new_password   (GnomePasswordDialog *password_dialog,
						    gboolean             show);
void gnome_password_dialog_set_show_new_password_quality (GnomePasswordDialog *password_dialog,
							  gboolean             show);
void gnome_password_dialog_set_username            (GnomePasswordDialog *password_dialog,
						    const char          *username);
void gnome_password_dialog_set_domain              (GnomePasswordDialog *password_dialog,
						    const char          *domain);
void gnome_password_dialog_set_password            (GnomePasswordDialog *password_dialog,
						    const char          *password);
void gnome_password_dialog_set_new_password        (GnomePasswordDialog *password_dialog,
						    const char          *password);
void gnome_password_dialog_set_password_quality_func (GnomePasswordDialog *password_dialog,
						      GnomePasswordDialogQualityFunc func,
						      gpointer data,
						      GDestroyNotify dnotify);
void gnome_password_dialog_set_readonly_username   (GnomePasswordDialog *password_dialog,
						    gboolean             readonly);
void gnome_password_dialog_set_readonly_domain     (GnomePasswordDialog *password_dialog,
						    gboolean             readonly);

void                        gnome_password_dialog_set_show_remember (GnomePasswordDialog         *password_dialog,
								     gboolean                     show_remember);
void                        gnome_password_dialog_set_remember      (GnomePasswordDialog         *password_dialog,
								     GnomePasswordDialogRemember  remember);
GnomePasswordDialogRemember gnome_password_dialog_get_remember      (GnomePasswordDialog         *password_dialog);
void                        gnome_password_dialog_set_show_userpass_buttons (GnomePasswordDialog         *password_dialog,
                                                                     	     gboolean                     show_userpass_buttons);

/* Attribute accessors */
char *     gnome_password_dialog_get_username            (GnomePasswordDialog *password_dialog);
char *     gnome_password_dialog_get_domain              (GnomePasswordDialog *password_dialog);
char *     gnome_password_dialog_get_password            (GnomePasswordDialog *password_dialog);
char *     gnome_password_dialog_get_new_password        (GnomePasswordDialog *password_dialog);

gboolean   gnome_password_dialog_anon_selected 		 (GnomePasswordDialog *password_dialog);

G_END_DECLS

#endif /* GNOME_PASSWORD_DIALOG_H */