Logo
Home page Net-SNMP

Archive Search:

Require all words?

Site Search:
Google
Net-SNMP include file usage and information

Net-SNMP include file usage and information

The package provides a number of high-level include files that may be used by the general application programmer when writing applications against the Net-SNMP package APIs. In particular, these files are the following three:

So, for most applications all that a management application programmer should need to do would be include the following two lines:

Agent developers will need to add one additional line to their code files:


However, problems arise when another package also uses autoconf generated configuration files. Generally, these configuration files conflict with each other due to special package symbols that autoconf inserts into the configuration files. Thus, including our particular configuration file (net-snmp/net-snmp-config.h) ahead of or below your own package's configuration file will cause conflicts.

To get around this problem, your package should probably not be including our generated configuration file but should be instead using its own. A minimal template for how to accomplish this safely is included below:


Valid CSS!


Last modified: Wednesday, 01-Aug-2018 04:41:28 UTC
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.