/*
 * Note: this file originally auto-generated by mib2c using
 *  : mib2c.iterate.conf 15999 2007-03-25 22:32:02Z dts12 $
 */
#ifndef NETWORKDATA_H
#define NETWORKDATA_H

//#include "pbmoninsp_defines.h"

/**
 *	Definition of network data, most used via snmp
 *
 *	@note	All values within the defined structures are little endian
 *			coded.
 */
typedef struct t_main_network_data {
	char 		firmware[50];	/**< firmware from the main module	*/
	u_int8_t	modCount;		/**< module count					*/

	/**
	 *	List of modules e.g. {0x8801, 0x9102, 0x9103, 0x9004}
	 *
	 *	The modulEntryID consists of the module type id e.g. 0x91 within
	 *	the second byte and the position of the module signals the first
	 *	byte. This is recommend by Indu-Sol. The snmp manager reads the
	 *	configuration of the netcube once if no other module type after
	 *	power cycle is plugged on same position like the plugged module
	 *	before, so they don't need to request the structure via snmp
	 *	manager, because this snmp call needs much time.
	 */
	u_int16_t	modEntryIDList[8] ;
} main_network_data, *pmain_network_data;

void initialize_networkData(void);
void deinitialize_networkData(void);

main_network_data* get_main_network_data(void);

#endif /* NETWORKDATA_H */
