~ubuntu-branches/ubuntu/vivid/munge/vivid

« back to all changes in this revision

Viewing changes to src/munged/xgetpwnam.h

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2011-02-28 20:41:12 UTC
  • mfrom: (6.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110228204112-2lc8ss9geeusv5uo
Tags: 0.5.10-1
* New upstream release 
* Updated copyright, homepage, watch thanks to Chris Dunlap
* Standards version upgraded to 3.9.1.0 (no changes) 
* Switch to dpkg-source 3.0 (quilt) format
* Added explicit dependency by the same version of libmunge for munge

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************************
 
2
 *  $Id: xgetpwnam.h 890 2011-01-20 01:54:21Z chris.m.dunlap $
 
3
 *****************************************************************************
 
4
 *  Written by Chris Dunlap <cdunlap@llnl.gov>.
 
5
 *  Copyright (C) 2007-2011 Lawrence Livermore National Security, LLC.
 
6
 *  Copyright (C) 2002-2007 The Regents of the University of California.
 
7
 *  UCRL-CODE-155910.
 
8
 *
 
9
 *  This file is part of the MUNGE Uid 'N' Gid Emporium (MUNGE).
 
10
 *  For details, see <http://munge.googlecode.com/>.
 
11
 *
 
12
 *  MUNGE is free software: you can redistribute it and/or modify it under
 
13
 *  the terms of the GNU General Public License as published by the Free
 
14
 *  Software Foundation, either version 3 of the License, or (at your option)
 
15
 *  any later version.  Additionally for the MUNGE library (libmunge), you
 
16
 *  can redistribute it and/or modify it under the terms of the GNU Lesser
 
17
 *  General Public License as published by the Free Software Foundation,
 
18
 *  either version 3 of the License, or (at your option) any later version.
 
19
 *
 
20
 *  MUNGE is distributed in the hope that it will be useful, but WITHOUT
 
21
 *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
22
 *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
23
 *  and GNU Lesser General Public License for more details.
 
24
 *
 
25
 *  You should have received a copy of the GNU General Public License
 
26
 *  and GNU Lesser General Public License along with MUNGE.  If not, see
 
27
 *  <http://www.gnu.org/licenses/>.
 
28
 *****************************************************************************/
 
29
 
 
30
 
 
31
#ifndef XGETPWNAM_H
 
32
#define XGETPWNAM_H
 
33
 
 
34
#include <pwd.h>
 
35
 
 
36
 
 
37
/*****************************************************************************
 
38
 *  Functions
 
39
 *****************************************************************************/
 
40
 
 
41
int  xgetpwnam_buf_create (char **buf_p, int *buflen_p);
 
42
 
 
43
void xgetpwnam_buf_destroy (char *buf);
 
44
 
 
45
int  xgetpwnam (const char *user, struct passwd *pw, char *buf, size_t buflen);
 
46
 
 
47
 
 
48
#endif /* !XGETPWNAM_H */