~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to etc/papd/uam_auth.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2010-05-01 10:11:00 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100501101100-vgb5m8ztsp5uvfzl
Tags: 2.1-1
* New upstream release.
* Update patches:
  + Drop patches 001, 002, 003, 101, 102, 103, 104, 105, 106, 113,
    206, 210, 214, and disabled patches 291, 292, 293: Merged upstream
    or no longer applies.
  + Refresh remaining (enabled) patches 109, 200, 205, 212, 213, with
    shortening quilt options --no-timestamps --no-index -pab.
  + Disable patch 109: XFS quota support apparently no longer broken.
* Use only official CDBS (drop local snippets): All improvements now
  adopted upstream.
* Use source format 3.0 (quilt), and stop including patchsys-quilt.mk.
* Refer to FSF website (not postal address) in rules file.
* Bump copyright years in header of in rules file.
* Drop locally implemented DEB_MAINTAINER_MODE in rules file: Now
  adopted upstream.
* Rewrite copyright file using draft DEP5 rev. 135. Adds new owners
  and licenses, and some files lacking proper licensing are revealed.
* Install docs README.AppleTalk (not README.platforms, its old name)
  and README.ids.
* Simplify rules file to no longer regenerate autotools: no patches
  affect upstream-shipped automade files.
* Bump standards compliance to standards-version 3.8.4.
* Add workaround for upstream braindead double expanded DESTDIR.
* Tighten build-dependency on cdbs.
* Stop build-depending on libtool, automake1.11 or autoconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: uam_auth.h,v 1.3 2001/06/25 20:13:45 rufustfirefly Exp $
 
2
 * $Id: uam_auth.h,v 1.4 2009/10/13 22:55:37 didg Exp $
3
3
 *
4
4
 * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
5
5
 * All Rights Reserved.  See COPYRIGHT.
29
29
  int uam_count;
30
30
  union {
31
31
    struct {
32
 
      int (*login) __P((void *, struct passwd **, 
33
 
                        char *, int, char *, int *));
34
 
      int (*logincont) __P((void *, struct passwd **, char *,
35
 
                            int, char *, int *));
36
 
      void (*logout) __P((void));
 
32
      int (*login) (void *, struct passwd **, 
 
33
                        char *, int, char *, int *);
 
34
      int (*logincont) (void *, struct passwd **, char *,
 
35
                            int, char *, int *);
 
36
      void (*logout) (void);
37
37
    } uam_login;
38
 
    int (*uam_changepw) __P((void *, char *, struct passwd *, char *,
39
 
                             int, char *, int *));
40
 
    int (*uam_printer) __P((char *, char *, char *, struct papfile *));
 
38
    int (*uam_changepw) (void *, char *, struct passwd *, char *,
 
39
                             int, char *, int *);
 
40
    int (*uam_printer) (char *, char *, char *, struct papfile *);
41
41
  } u;
42
42
  struct uam_obj *uam_prev, *uam_next;
43
43
};
59
59
                (((type) == UAM_SERVER_PRINTAUTH) ? &uam_printer : NULL)))
60
60
 
61
61
 
62
 
extern struct uam_mod *uam_load __P((const char *, const char *));
63
 
extern void uam_unload __P((struct uam_mod *));
 
62
extern struct uam_mod *uam_load (const char *, const char *);
 
63
extern void uam_unload (struct uam_mod *);
64
64
 
65
65
/* auth.c */
66
 
int auth_load __P((const char *, const char *));
67
 
int auth_register __P((const int, struct uam_obj *));
 
66
int auth_load (const char *, const char *);
 
67
int auth_register (const int, struct uam_obj *);
68
68
#define auth_unregister(a) uam_detach(a)
69
 
struct uam_obj *auth_uamfind __P((const int, const char *, const int));
70
 
void auth_unload __P((void));
71
 
int getuamnames __P((const int, char *));
 
69
struct uam_obj *auth_uamfind (const int, const char *, const int);
 
70
void auth_unload (void);
 
71
int getuamnames (const int, char *);
72
72
 
73
73
#endif /* uam_auth.h */