RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/rpmio/ argv.h

From: Arkadiusz Miskiewicz <arekm@rpm5.org>
Date: Wed 30 Jul 2008 - 12:50:16 CEST
Message-Id: <200807301250.16294.arekm@rpm5.org>
On Wednesday 30 July 2008, Jeff Johnson wrote:
> On Jul 30, 2008, at 5:50 AM, Ralf S. Engelschall wrote:

> Instead of arguing abt <stdint.h> (which I will start ripping after
> my 2nd cup of coffee
> today, sigh), let's try the forward looking goal.

Ok, so the agreement is that rpmcli.h should be self consistent right? (which 
means stdint.h inclusion will end in this file) We don't care about other rpm 
headers consistency then.

Can these other headers be protected like this:

#if !defined(H_RPMCLI) && !defined(RPM_BUILD_ITSELF...)
#error Please include rpmcli.h instead of this file.
#endif

?

Or leave public headers (rpmcli.h) in /usr/include/rpm and move all other "not 
to be directly included by user" header files to /usr/include/rpm/internal/ ?

-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
Received on Wed Jul 30 12:50:19 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.