From 72544ae4714a1cef726d960a7eaeaefcd6459caa Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Wed, 16 Jan 2008 09:42:30 +0000 Subject: move trap code to an own file; there will be more --- usr.sbin/snmpd/snmpd.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.sbin/snmpd/snmpd.h') diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index 7499ea4231e..37867e60e66 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.11 2008/01/16 09:36:30 reyk Exp $ */ +/* $OpenBSD: snmpd.h,v 1.12 2008/01/16 09:42:29 reyk Exp $ */ /* * Copyright (c) 2007 Reyk Floeter @@ -387,7 +387,9 @@ struct kif_addr *kr_getnextaddr(struct in_addr *); /* snmpe.c */ pid_t snmpe(struct snmpd *, int [2]); -int snmpe_trap(struct imsgbuf *, pid_t); + +/* trap.c */ +int trap_request(struct imsgbuf *, pid_t); /* mps.c */ struct ber_element * -- cgit v1.2.3