Browse Source

snmpstats Documentation updates

Olle E. Johansson 12 years ago
parent
commit
7d272f893c
3 changed files with 32 additions and 11 deletions
  1. 0 9
      modules/snmpstats/kamailioNet.c
  2. 29 2
      modules/snmpstats/kamailioNet.h
  3. 3 0
      modules/snmpstats/snmpstats.c

+ 0 - 9
modules/snmpstats/kamailioNet.c

@@ -1,9 +1,6 @@
 /*
  * SNMPStats Module  - Network Statistics
  *
- * Copyright (C) 2006 SOMA Networks, INC.
- * Written by: Jeffrey Magder ([email protected])
- *
  * 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)

+ 29 - 2
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

+ 3 - 0
modules/snmpstats/snmpstats.c

@@ -4,6 +4,8 @@
  * SNMPStats Module 
  * Copyright (C) 2006 SOMA Networks, INC.
  * Written by: Jeffrey Magder ([email protected])
+ * Copyright (C) 2013 Edvina AB, Sollentuna, Sweden
+ * Updated and extended by: Olle E. Johansson ([email protected])
  *
  * 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.