]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/uam_auth.h
BIG commit to improve code style using astyle as well as fix up CNID DB
[netatalk.git] / etc / afpd / uam_auth.h
index 6e5b3c293053d7d52fa1e7151eb293e4cf4f088d..2026ae44aed009e12bc8388593d313f5cba455af 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: uam_auth.h,v 1.2 2001-06-20 18:33:04 rufustfirefly Exp $
+ * $Id: uam_auth.h,v 1.2.2.1 2001-12-03 05:01:04 jmarcus Exp $
  *
  * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
  * All Rights Reserved.  See COPYRIGHT.
 #include "globals.h"
 
 struct uam_mod {
-  void *uam_module;
-  struct uam_export *uam_fcn;
-  struct uam_mod *uam_prev, *uam_next;
+    void *uam_module;
+    struct uam_export *uam_fcn;
+    struct uam_mod *uam_prev, *uam_next;
 };
 
 struct uam_obj {
-  const char *uam_name; /* authentication method */
-  char *uam_path; /* where it's located */
-  int uam_count;
-  union {
-    struct {
-      int (*login) __P((void *, struct passwd **, 
-                       char *, int, char *, int *));
-      int (*logincont) __P((void *, struct passwd **, char *,
-                           int, char *, int *));
-      void (*logout) __P((void));
-    } uam_login;
-    int (*uam_changepw) __P((void *, char *, struct passwd *, char *,
-                            int, char *, int *));
-  } u;
-  struct uam_obj *uam_prev, *uam_next;
+    const char *uam_name; /* authentication method */
+    char *uam_path; /* where it's located */
+    int uam_count;
+    union {
+        struct {
+            int (*login) __P((void *, struct passwd **,
+                              char *, int, char *, int *));
+            int (*logincont) __P((void *, struct passwd **, char *,
+                                  int, char *, int *));
+            void (*logout) __P((void));
+        } uam_login;
+        int (*uam_changepw) __P((void *, char *, struct passwd *, char *,
+                                 int, char *, int *));
+    } u;
+    struct uam_obj *uam_prev, *uam_next;
 };
 
 #define uam_attach(a, b) do { \