diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 15:41:09 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 15:41:09 +0300 |
commit | 555f699f11774a2692518508fe14f3eed878b3d4 (patch) | |
tree | 532a22bd9519348b7535a16c89c2bbaf3413de82 /rpmbuild.c | |
parent | 94a58d3864d080da7d2cb2ad4a87aaa2917facd1 (diff) | |
download | rpm-555f699f11774a2692518508fe14f3eed878b3d4.tar.gz |
Mass eviction of remaining internal helpers in librpmbuild API
- Yank everything qualifying as "internal helper function" into
internal-only headers, loosely grouped as follows:
1) Everything involving spec-manipulation goes into rpmbuild_internal.h
2) All other miscellaneous helpers go into rpmbuild_misc.h
- This leaves us a rather minimal, and nearly useful API into librpmbuild:
Users need to be able to parse a spec, query or build (parts of) it
and free up the spec structure when done. This is what we have now,
various still exposed structures not counting.
Diffstat (limited to 'rpmbuild.c')
-rw-r--r-- | rpmbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmbuild.c b/rpmbuild.c index 8fdf5a6ba..e58ed3fe7 100644 --- a/rpmbuild.c +++ b/rpmbuild.c @@ -14,6 +14,7 @@ const char *__progname; #include <rpm/rpmps.h> #include <rpm/rpmts.h> #include "lib/signature.h" +#include "build/rpmbuild_misc.h" /* XXX freeNames() */ #include "cliutils.h" #include "debug.h" |