Guillem Jover 018dd2fd3b doc: Bump minimal Perl version to 5.14.2 9 years ago
..
.gitignore 0581dda824 build: Add optional code coverage support 14 years ago
Doxyfile.in 473bd89d51 doc: Bump DOT_GRAPH_MAX_NODES from 50 to 100 9 years ago
README.api e342a8fc3b Use “command line” instead of commandline or command-line 13 years ago
README.feature-removal-schedule d87a05a75c doc: Update features removal schedule 9 years ago
coding-style.txt 018dd2fd3b doc: Bump minimal Perl version to 5.14.2 9 years ago
frontend.txt 0aec21906f doc: Add new frontend.txt file documenting some public interfaces 12 years ago
lcov-inject.pl 96ff574ed0 build: Rename perl scripts to have a .pl extension 9 years ago
triggers.txt 7b1b83d9df Do not pass -e in shell script shebangs, set it in the body 11 years ago

README.api

This is an (incomplete) list of currently provided APIs by dpkg, and
their supported status.


What: libdpkg.a (C static library)
Status: volatile
Description:
The API provided by this library is highly volatile, still in the process
of being cleaned up. It's only supposed to be used internally by dpkg for
now. Header files, functions, variables and types might get renamed,
removed or change semantics. If you still have a need to use it, which
you'd be doing anyway, say by locally building dpkg to get the library,
then define the C preprocessor macro LIBDPKG_VOLATILE_API in your build
to acknowledge that fact.

What: libdpkg-perl (perl modules)
Status: stable
Description:
Among the perl modules provided by libdpkg-perl, you can safely rely on
those that have $VERSION set to 1.00 (or higher). Note however that the
API is defined by what's documented in the corresponding manual pages and
nothing more. You can't assume anything else based on what you read in
the source code. If you feel the need for further refinements in the
documented API, don't hesitate to file a wishlist bug against
libdpkg-perl.
.
In case of API-breaking changes, the major number in $VERSION will be
increased. For API extensions, the minor number will be increased.

What: custom changelog parsers in /usr/lib/dpkg/parsechangelog
Status: stable
Version: 2.0
Description:
Since dpkg 1.14.16, the set of command line options that custom
changelog parsers must support has been expanded (see
dpkg-parsechangelog(1)). For compatibility, changelog parsers supporting
only the old options are supported in lenny. In lenny+1, that support
will be dropped.
.
For reference, only the -v option was supported in version 1.0 of this
API.