~ubuntu-branches/ubuntu/breezy/pam/breezy

« back to all changes in this revision

Viewing changes to Linux-PAM/modules/pam_userdb/pam_userdb.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-06-28 14:28:08 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040628142808-adikk7vtfg3pzcjw
Tags: 0.76-22
* Add uploaders
* Document location of repository
* Fix options containing arguments in pam_unix, Closes: #254904

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef _PAM_USERSDB_H
 
3
#define _PAM_USERSDB_H
 
4
/* $Id: pam_userdb.h,v 1.1 2001/04/29 04:17:42 hartmans Exp $ */
 
5
   
 
6
/* Header files */
 
7
#include <security/pam_appl.h>
 
8
 
 
9
/* argument parsing */
 
10
#define PAM_DEBUG_ARG           0x0001
 
11
#define PAM_ICASE_ARG           0x0002
 
12
#define PAM_DUMP_ARG            0x0004
 
13
 
 
14
/* Useful macros */
 
15
#define  x_strdup(s)  ( (s) ? strdup(s):NULL )
 
16
 
 
17
/* The name of the module we are compiling */
 
18
#ifndef MODULE_NAME
 
19
#define MODULE_NAME     "pam_userdb"
 
20
#endif /* MODULE_NAME */
 
21
 
 
22
/* function prototypes */
 
23
int conversation(pam_handle_t *);
 
24
 
 
25
#endif /* _PAM_USERSDB_H */
 
26
 
 
27
/*
 
28
 * Copyright (c) Cristian Gafton <gafton@redhat.com>, 1999
 
29
 *                                              All rights reserved
 
30
 *
 
31
 * Redistribution and use in source and binary forms, with or without
 
32
 * modification, are permitted provided that the following conditions
 
33
 * are met:
 
34
 * 1. Redistributions of source code must retain the above copyright
 
35
 *    notice, and the entire permission notice in its entirety,
 
36
 *    including the disclaimer of warranties.
 
37
 * 2. Redistributions in binary form must reproduce the above copyright
 
38
 *    notice, this list of conditions and the following disclaimer in the
 
39
 *    documentation and/or other materials provided with the distribution.
 
40
 * 3. The name of the author may not be used to endorse or promote
 
41
 *    products derived from this software without specific prior
 
42
 *    written permission.
 
43
 *
 
44
 * ALTERNATIVELY, this product may be distributed under the terms of
 
45
 * the GNU Public License, in which case the provisions of the GPL are
 
46
 * required INSTEAD OF the above restrictions.  (This clause is
 
47
 * necessary due to a potential bad interaction between the GPL and
 
48
 * the restrictions contained in a BSD-style copyright.)
 
49
 *
 
50
 * THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED
 
51
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 
52
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 
53
 * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
 
54
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 
55
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 
56
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 
57
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 
58
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 
59
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 
60
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 
61
 */