Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
961 B

  1. Steps required to make a new MIB based on the FTP MIB:
  2. 1. Rename FTPMIB.DEF to {component}MIB.DEF
  3. 2. Edit {component}MIB.DEF to contain the correct component name
  4. and description.
  5. 3. Edit MAIN.C to create & destroy the appropriate statistics structure
  6. in SnmpExtensionQuery().
  7. 4. Edit MIB.H to #include the correct header files.
  8. 5. Edit MIB.RC to contain the correct versioning information.
  9. 6. Edit SOURCES to build the correct DLL.
  10. 7. Make the following changes to MIB.C:
  11. 1. Edit the MIB_ENTRY_ITEM macro to use the appropriate
  12. statistics structure.
  13. 2. Edit the OID_Prefix variable to contain the correct
  14. MIB OID for the new component.
  15. 3. Edit the OID definitions (the MIB_* globals) to contain
  16. the correct MIB variables for the new component.
  17. 4. Edit the Mib[] MIB_ENTRY array to contain one entry for
  18. each MIB_* global.
  19. 8. Rebuild everything. You should be done.