summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-08-30 08:50:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-08-30 08:50:02 +0000
commitaf7853baae0c5c779c1a7eb935246e315e4560e9 (patch)
tree441fa25fe01ba9f8db560ca7ad0bcfe45edfd93a /include
parenta1bf7c3e98fb1f5324b521fb7a1c2cdb9b1f11b5 (diff)
put sentinel back in. Thx miod@
Diffstat (limited to 'include')
-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 *);