README.api 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. This is an (incomplete) list of currently provided APIs by dpkg, and
  2. their supported status.
  3. What: libdpkg.a (C static library)
  4. Status: volatile
  5. Description:
  6. The API provided by this library is highly volatile, still in the process
  7. of being cleaned up. It's only supposed to be used internally by dpkg for
  8. now. Header files, functions, variables and types might get renamed,
  9. removed or change semantics. If you still have a need to use it, which
  10. you'd be doing anyway, say by locally building dpkg to get the library,
  11. then define the C preprocessor macro LIBDPKG_VOLATILE_API in your build
  12. to acknowledge that fact.
  13. What: libdpkg-perl (perl modules)
  14. Status: stable
  15. Description:
  16. Among the perl modules provided by libdpkg-perl, you can safely rely on
  17. those that have $VERSION set to 1.00 (or higher). Note however that the
  18. API is defined by what's documented in the corresponding manual pages and
  19. nothing more. You can't assume anything else based on what you read in
  20. the source code. If you feel the need for further refinements in the
  21. documented API, don't hesitate to file a wishlist bug against
  22. libdpkg-perl.
  23. .
  24. In case of API-breaking changes, the major number in $VERSION will be
  25. increased. For API extensions, the minor number will be increased.
  26. What: custom changelog parsers in /usr/lib/dpkg/parsechangelog
  27. Status: stable
  28. Version: 2.0
  29. Description:
  30. Since dpkg 1.14.16, the set of command line options that custom
  31. changelog parsers must support has been expanded (see
  32. dpkg-parsechangelog(1)). For compatibility, changelog parsers supporting
  33. only the old options are supported in lenny. In lenny+1, that support
  34. will be dropped.
  35. .
  36. For reference, only the -v option was supported in version 1.0 of this
  37. API.