summaryrefslogtreecommitdiff
path: root/include/bsd_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bsd_auth.h')
-rw-r--r--include/bsd_auth.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/bsd_auth.h b/include/bsd_auth.h
index 3df28950ca0..800ec13ccfb 100644
--- a/include/bsd_auth.h
+++ b/include/bsd_auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bsd_auth.h,v 1.7 2002/06/07 03:11:31 miod Exp $ */
+/* $OpenBSD: bsd_auth.h,v 1.8 2002/08/30 08:50:01 espie Exp $ */
/*-
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
@@ -58,7 +58,9 @@ char *auth_getitem(auth_session_t *, auth_item_t);
int auth_setitem(auth_session_t *, auth_item_t, char *);
auth_session_t *auth_open(void);
-auth_session_t *auth_verify(auth_session_t *, char *, char *, ...);
+auth_session_t *auth_verify(auth_session_t *, char *, char *, ...)
+ __attribute__((sentinel));
+
auth_session_t *auth_userchallenge(char *, char *, char *, char **);
auth_session_t *auth_usercheck(char *, char *, char *, char *);
@@ -76,7 +78,8 @@ void auth_setenv(auth_session_t *);
void auth_clrenv(auth_session_t *);
void auth_setstate(auth_session_t *, int);
-int auth_call(auth_session_t *, char *, ...);
+int auth_call(auth_session_t *, char *, ...)
+ __attribute__((sentinel));
int auth_setdata(auth_session_t *, void *, size_t);
int auth_setoption(auth_session_t *, char *, char *);