[sr-dev] git:master: snmpstats Documentation updates

Olle E. Johansson oej at edvina.net
Mon Apr 1 20:44:06 CEST 2013


Module: sip-router
Branch: master
Commit: 7d272f893c3e0f260db1af5fc07dccd7d93690df
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7d272f893c3e0f260db1af5fc07dccd7d93690df

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date:   Mon Apr  1 10:06:33 2013 +0200

snmpstats Documentation updates

---

 modules/snmpstats/kamailioNet.c |    9 ---------
 modules/snmpstats/kamailioNet.h |   31 +++++++++++++++++++++++++++++--
 modules/snmpstats/snmpstats.c   |    3 +++
 3 files changed, 32 insertions(+), 11 deletions(-)

diff --git a/modules/snmpstats/kamailioNet.c b/modules/snmpstats/kamailioNet.c
index ab9c7fc..dd23c00 100644
--- a/modules/snmpstats/kamailioNet.c
+++ b/modules/snmpstats/kamailioNet.c
@@ -1,9 +1,6 @@
 /*
  * SNMPStats Module  - Network Statistics
  *
- * Copyright (C) 2006 SOMA Networks, INC.
- * Written by: Jeffrey Magder (jmagder at somanetworks.com)
- *
  * Kamailio Server Net objects addition
  * Copyright (C) 2013 Edvina AB, Sollentuna, Sweden
  * Written by Olle E. Johansson
@@ -44,12 +41,6 @@
 #include "../../globals.h"
 #include "../../tcp_options.h"
 
-/*
- * Note: this file originally auto-generated by mib2c using
- *        $
- */
-
-
 /** Initializes the kamailioNet module */
 void
 init_kamailioNet(void)
diff --git a/modules/snmpstats/kamailioNet.h b/modules/snmpstats/kamailioNet.h
index 30b0052..d9ca827 100644
--- a/modules/snmpstats/kamailioNet.h
+++ b/modules/snmpstats/kamailioNet.h
@@ -1,6 +1,33 @@
 /*
- * Note: this file originally auto-generated by mib2c using
- *        $
+ * SNMPStats Module  - Network Statistics
+ *
+ * Kamailio Server Net objects addition
+ * Copyright (C) 2013 Edvina AB, Sollentuna, Sweden
+ * Written by Olle E. Johansson
+ *
+ * This file is part of Kamailio, a free SIP server.
+ *
+ * Kamailio is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version
+ *
+ * Kamailio is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ *
+ * History:
+ * --------
+ * 2013-04-01 initial version (oej)
+ * 
+ * Note: this file originally auto-generated by mib2c 
+ *
  */
 #ifndef KAMAILIONET_H
 #define KAMAILIONET_H
diff --git a/modules/snmpstats/snmpstats.c b/modules/snmpstats/snmpstats.c
index 18df08c..a7f8cec 100644
--- a/modules/snmpstats/snmpstats.c
+++ b/modules/snmpstats/snmpstats.c
@@ -4,6 +4,8 @@
  * SNMPStats Module 
  * Copyright (C) 2006 SOMA Networks, INC.
  * Written by: Jeffrey Magder (jmagder at somanetworks.com)
+ * Copyright (C) 2013 Edvina AB, Sollentuna, Sweden
+ * Updated and extended by: Olle E. Johansson (oej at edvina.net)
  *
  * This file is part of Kamailio, a free SIP server.
  *
@@ -25,6 +27,7 @@
  * History:
  * --------
  * 2006-11-23 initial version (jmagder)
+ * 2013-04-01 updates of the MIB with core memory, tcp stats and much more (oej)
  * 
  * There are some important points to understanding the SNMPStat modules
  * architecture.




More information about the sr-dev mailing list