net-snmp_example
所属分类:SNMP编程
开发工具:Unix_Linux
文件大小:742KB
下载次数:149
上传日期:2007-08-27 15:51:54
上 传 者:
szpeng3000
说明: net_snmp应用程序示例,对于做snmp入门者,可以参考!
(net_snmp application examples, for beginners to do snmp, you can refer to!)
文件列表:
net-snmp_example\example01.c.bak (0, 2007-06-27)
net-snmp_example\Makefile.in.bak (0, 2007-06-27)
net-snmp_example\Makefile.in (1185, 2007-06-27)
net-snmp_example\NET-SNMP-TUTORIAL-MIB.txt (4258, 2007-06-27)
net-snmp_example\snmpdemoapp_c.htm (5430, 2007-06-27)
net-snmp_example\TUTSimple Application - Net-SNMP Wiki.htm (25177, 2007-06-27)
net-snmp_example\snmpdemoapp.c.bak (5060, 2007-06-27)
net-snmp_example\snmpdemoapp.c (5072, 2007-06-28)
net-snmp_example\net-snmp\config_api.h (1000, 2007-06-27)
net-snmp_example\net-snmp\definitions.h (947, 2007-06-27)
net-snmp_example\net-snmp\mib_api.h (884, 2007-06-27)
net-snmp_example\net-snmp\net-snmp-config.h.in (44646, 2007-06-27)
net-snmp_example\net-snmp\net-snmp-includes.h (1664, 2007-06-27)
net-snmp_example\net-snmp\output_api.h (880, 2007-06-27)
net-snmp_example\net-snmp\pdu_api.h (714, 2007-06-27)
net-snmp_example\net-snmp\session_api.h (1594, 2007-06-27)
net-snmp_example\net-snmp\snmpv3_api.h (1170, 2007-06-27)
net-snmp_example\net-snmp\types.h (4105, 2007-06-27)
net-snmp_example\net-snmp\utilities.h (2036, 2007-06-27)
net-snmp_example\net-snmp\varbind_api.h (744, 2007-06-27)
net-snmp_example\net-snmp\version.h (310, 2007-06-27)
net-snmp_example\net-snmp\net-snmp-config.h (49184, 2007-06-27)
net-snmp_example\net-snmp\system\aix.h (178, 2007-06-27)
net-snmp_example\net-snmp\system\bsd.h (418, 2007-06-27)
net-snmp_example\net-snmp\system\bsdi.h (43, 2007-06-27)
net-snmp_example\net-snmp\system\bsdi3.h (85, 2007-06-27)
net-snmp_example\net-snmp\system\bsdi4.h (288, 2007-06-27)
net-snmp_example\net-snmp\system\cygwin.h (234, 2007-06-27)
net-snmp_example\net-snmp\system\darwin.h (171, 2007-06-27)
net-snmp_example\net-snmp\system\darwin7.h (325, 2007-06-27)
net-snmp_example\net-snmp\system\darwin8.h (356, 2007-06-27)
net-snmp_example\net-snmp\system\dynix.h (1768, 2007-06-27)
net-snmp_example\net-snmp\system\freebsd.h (359, 2007-06-27)
net-snmp_example\net-snmp\system\freebsd2.h (187, 2007-06-27)
net-snmp_example\net-snmp\system\freebsd3.h (223, 2007-06-27)
net-snmp_example\net-snmp\system\freebsd4.h (387, 2007-06-27)
net-snmp_example\net-snmp\system\freebsd5.h (474, 2007-06-27)
net-snmp_example\net-snmp\system\freebsd6.h (421, 2007-06-27)
net-snmp_example\net-snmp\system\generic.h (1345, 2007-06-27)
net-snmp_example\net-snmp\system\hpux.h (1292, 2007-06-27)
... ...
One of the goals of the Net-SNMP v5 development line, is to try and
clarify the distinction between the "public" library API, and routines
that are regarded as being more "internal" to the library.
This doesn't mean that application writers are discouraged from
making use of such internal routines. There is a strong feeling
within the development team that as much as possible of the library
should be made externally visible, to support writing as wide a
range of applications as possible. To that end, most routines
will be declared within an installed header file, rather than
privately within the library code files themselves.
The public/internal categorisation is rather concerned with issues
of documentation, stability, and ease of programming. The public
API routines have been selected as those covering the more common
requirements (e.g. creating SNMP requests, sending them to other SNMP
agents, and interpreting the results), together with certain supporting
activities (e.g. run-time configuration).
The intention is that these routines should be properly documented,
and remain relatively stable. We will attempt to avoid changing the
profile of these interfaces, and would normally provide some mechanism
to retain backward compatability if need be.
On the other hand, the internal API routines are regarded as just
that - "internal" - so may legitimately be changed without providing
any compatability mechanism. You are perfectly free to make use of
these routines, but be aware that you do so "at your own risk".
[This statement is in no way intended to challenge or amend the status
of the disclaimers in the top-level 'COPYING' file, which remain
unchanged as the legal basis for using this code]
There are (currently) eight main "public API" header files, relating
to various areas of SNMP programming, plus a combined "all-in-one"
header file (net-snmp-includes.h).
Currently these simply include the relevant library header files
following the UCD-SNMP organisation. However, the intention is for
future releases to declare the public API calls directly within these
top-level header files, and use the 'library/*.h' files for the more
internal calls. (i.e. those that are more likely to change over time).
Until this process can be started, the best approximation to the
"public API" list is probably those routines that are documented
in manual pages. Apologies for any confusion, but hopefully this
process will result in a clearer end result than at present.
Applications writers are encouraged to start #including the new header
files as soon as possible - either individually, or using the combined
wrapper file. Hopefully, with only a handful of top-level files, it
will be reasonably clear which file(s) might be appropriate for any
particular programming requirement.
One final disclaimer: The above description represents my own
personal aims and understanding of the likely development of the
library API. While I have every confidence in having the support of
the other developers (or being able to persuade them of the benefits
of this approach!), it may turn out that things actually take a different
route. Anyone wishing to influence the organisation of the eventual
library API is encouraged to subscribe to the net-snmp-coders mailing
list, and contribute to the discussions there.
Dave Shield
February 2002
近期下载者:
相关文件:
收藏者: