X-Git-Url: https://git.saurik.com/apple/ipsec.git/blobdiff_plain/65ab25776b29db8df8fdca6630971023aaeafdb8..65c257469f746e64364e5df94f3ed8c6698a9d0a:/ipsec-tools/racoon/isakmp_inf.h diff --git a/ipsec-tools/racoon/isakmp_inf.h b/ipsec-tools/racoon/isakmp_inf.h index 32f85cf..5aa8c79 100644 --- a/ipsec-tools/racoon/isakmp_inf.h +++ b/ipsec-tools/racoon/isakmp_inf.h @@ -34,33 +34,35 @@ #ifndef _ISAKMP_INF_H #define _ISAKMP_INF_H +#include "racoon_types.h" #include "proposal.h" struct saproto; -extern int isakmp_info_recv __P((struct ph1handle *, vchar_t *)); -extern int isakmp_info_send_d1 __P((struct ph1handle *)); -extern int isakmp_info_send_d2 __P((struct ph2handle *)); -extern int isakmp_info_send_nx __P((struct isakmp *, - struct sockaddr_storage *, struct sockaddr_storage *, int, vchar_t *)); -extern int isakmp_info_send_n1 __P((struct ph1handle *, int, vchar_t *)); -extern int isakmp_info_send_n2 __P((struct ph2handle *, int, vchar_t *)); -extern int isakmp_info_send_common __P((struct ph1handle *, - vchar_t *, u_int32_t, int)); +extern int isakmp_info_recv (phase1_handle_t *, vchar_t *); +extern int isakmp_info_send_d1 (phase1_handle_t *); +extern int isakmp_info_send_d2 (phase2_handle_t *); +extern int isakmp_info_send_nx (struct isakmp *, + struct sockaddr_storage *, struct sockaddr_storage *, int, vchar_t *); +extern int isakmp_info_send_n1 (phase1_handle_t *, int, vchar_t *); +extern int isakmp_info_send_n2 (phase2_handle_t *, int, vchar_t *); +extern int isakmp_info_send_common (phase1_handle_t *, + vchar_t *, u_int32_t, int); -extern vchar_t * isakmp_add_pl_n __P((vchar_t *, u_int8_t **, int, - struct saproto *, vchar_t *)); +extern vchar_t * isakmp_add_pl_n (vchar_t *, u_int8_t **, int, + struct saproto *, vchar_t *); -extern void isakmp_check_notify __P((struct isakmp_gen *, struct ph1handle *)); +extern void isakmp_check_notify (struct isakmp_gen *, phase1_handle_t *); -extern void isakmp_check_ph2_notify __P((struct isakmp_gen *, struct ph2handle *)); +extern void isakmp_check_ph2_notify (struct isakmp_gen *, phase2_handle_t *); #ifdef ENABLE_DPD -extern int isakmp_sched_r_u __P((struct ph1handle *, int)); -extern void isakmp_reschedule_info_monitor_if_pending __P((struct ph1handle *, char *)); -extern void isakmp_info_send_r_u __P((void *)); +extern int isakmp_sched_r_u (phase1_handle_t *, int); +extern void isakmp_reschedule_info_monitor_if_pending (phase1_handle_t *, char *); +extern void isakmp_info_send_r_u (void *); #endif -extern void purge_ipsec_spi __P((struct sockaddr_storage *, int, u_int32_t *, size_t)); -extern int tunnel_mode_prop __P((struct saprop *)); +extern void purge_ipsec_spi (struct sockaddr_storage *, int, u_int32_t *, size_t, u_int32_t *, size_t *); +extern int tunnel_mode_prop (struct saprop *); +extern void info_recv_initialcontact (phase1_handle_t *); #endif /* _ISAKMP_INF_H */