~ubuntu-branches/ubuntu/saucy/kbd/saucy

« back to all changes in this revision

Viewing changes to src/vlock/pam_auth.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-02-18 13:25:55 UTC
  • mfrom: (1.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20130218132555-9aiwvswlo12fo32s
Tags: 1.15.5-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Add setfont, kbd_mode, and loadkeys to initramfs for console-setup.
  - Use ckbcomp to get the keyboard layout if other data files are not
    available.
  - Depend on console-setup, and remove config file; we now only support
    systems using console-setup and so it no longer serves a purpose. The
    removed config file for console-screen has changed names from
    /etc/init.d/console-screen.kbd.sh to /etc/init.d/kbd.
  - Change loadkeys to find any console not in raw mode when invoked
    without an explicit console parameter, in case the foreground console
    is in raw mode.
  - Simplify maintainer scripts for conffile removal, using new features
    in debhelper 8.1.0.
  - Add setvtrgb to kbd-udeb.
* Fix incorrect keymap sanity check in loadkeys_ckbcomp.diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/*
 
3
 
 
4
  PAM authentication header for vlock, the VT locking program for linux.
 
5
 
 
6
  Copyright (C) 2002 Dmitry V. Levin <ldv@altlinux.org>
 
7
 
 
8
  This program is free software; you can redistribute it and/or modify
 
9
  it under the terms of the GNU General Public License as published by
 
10
  the Free Software Foundation; either version 2 of the License, or
 
11
  (at your option) any later version.
 
12
 
 
13
  This program is distributed in the hope that it will be useful,
 
14
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
16
  GNU General Public License for more details.
 
17
 
 
18
  You should have received a copy of the GNU General Public License
 
19
  along with this program; if not, write to the Free Software
 
20
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
21
*/
 
22
 
 
23
#include <security/pam_appl.h>
 
24
 
 
25
pam_handle_t *init_pam (const char *username, const char *tty, int log);
 
26
int     get_password (pam_handle_t * pamh, const char *username,
 
27
                      const char *tty);