summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/snmpd/snmpmod.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-23 11:19:11 +0000
committerharti <harti@FreeBSD.org>2005-05-23 11:19:11 +0000
commita585c860e6a23a65af9f6a881ca7c5686cad63a4 (patch)
tree72add746df3bdc73ab6efb3b2c8f858844a53220 /contrib/bsnmp/snmpd/snmpmod.h
parent8bf5d359a297f85eced632d52abdb72d334412c5 (diff)
downloadFreeBSD-src-a585c860e6a23a65af9f6a881ca7c5686cad63a4.zip
FreeBSD-src-a585c860e6a23a65af9f6a881ca7c5686cad63a4.tar.gz
Virgin import of bsnmpd 1.10
Diffstat (limited to 'contrib/bsnmp/snmpd/snmpmod.h')
-rw-r--r--contrib/bsnmp/snmpd/snmpmod.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/contrib/bsnmp/snmpd/snmpmod.h b/contrib/bsnmp/snmpd/snmpmod.h
index 3ad5dfd..6345955 100644
--- a/contrib/bsnmp/snmpd/snmpmod.h
+++ b/contrib/bsnmp/snmpd/snmpmod.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Begemot: bsnmp/snmpd/snmpmod.h,v 1.27 2004/08/06 08:47:14 brandt Exp $
+ * $Begemot: bsnmp/snmpd/snmpmod.h,v 1.28 2005/05/23 09:03:59 brandt_h Exp $
*
* SNMP daemon data and functions exported to modules.
*/
@@ -159,11 +159,16 @@
struct lmodule;
-/* ticks when program and current packet was started */
-extern u_int32_t this_tick;
-extern u_int32_t start_tick;
+/* The tick when the program was started. This is the absolute time of
+ * the start in 100th of a second. */
+extern uint64_t start_tick;
-u_int32_t get_ticks(void);
+/* The tick when the current packet was received. This is the absolute
+ * time in 100th of second. */
+extern uint64_t this_tick;
+
+/* Get the current absolute time in 100th of a second. */
+uint64_t get_ticks(void);
/*
* Return code for proxy function
OpenPOWER on IntegriCloud