X-Git-Url: https://git.saurik.com/apple/ipsec.git/blobdiff_plain/5122e997b817982e567ac8959bcb3aa7a6dd5cf7..d1e348cfd503b08e7d34b7683d23aae209af0a71:/ipsec-tools/racoon/privsep.h diff --git a/ipsec-tools/racoon/privsep.h b/ipsec-tools/racoon/privsep.h index 10e3aa2..0fa4363 100644 --- a/ipsec-tools/racoon/privsep.h +++ b/ipsec-tools/racoon/privsep.h @@ -1,4 +1,6 @@ -/* $Id: privsep.h,v 1.3 2005/02/10 02:02:56 manubsd Exp $ */ +/* $NetBSD: privsep.h,v 1.4 2006/09/09 16:22:10 manu Exp $ */ + +/* Id: privsep.h,v 1.5 2005/06/07 12:22:11 fredsen Exp */ /* * Copyright (C) 2004 Emmanuel Dreyfus @@ -39,8 +41,9 @@ #define PRIVSEP_ACCOUNTING_PAM 0x0806 /* admin_com_bufs follows */ #define PRIVSEP_XAUTH_LOGIN_PAM 0x0807 /* admin_com_bufs follows */ #define PRIVSEP_CLEANUP_PAM 0x0808 /* admin_com_bufs follows */ +#define PRIVSEP_ACCOUNTING_SYSTEM 0x0809 /* admin_com_bufs follows */ -#define PRIVSEP_NBUF_MAX 16 +#define PRIVSEP_NBUF_MAX 24 #define PRIVSEP_BUFLEN_MAX 4096 struct admin_com_bufs { size_t buflen[PRIVSEP_NBUF_MAX]; @@ -57,7 +60,7 @@ int privsep_init __P((void)); vchar_t *privsep_eay_get_pkcs1privkey __P((char *)); int privsep_pfkey_open __P((void)); void privsep_pfkey_close __P((int)); -int privsep_script_exec __P((int, int, char * const *)); +int privsep_script_exec __P((char *, int, char * const *)); vchar_t *privsep_getpsk __P((const char *, const int)); int privsep_xauth_login_system __P((char *, char *)); #ifdef HAVE_LIBPAM @@ -65,5 +68,5 @@ int privsep_accounting_pam __P((int, int)); int privsep_xauth_login_pam __P((int, struct sockaddr *, char *, char *)); void privsep_cleanup_pam __P((int)); #endif - +int privsep_accounting_system __P((int, struct sockaddr *, char *, int)); #endif /* _PRIVSEP_H */