✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ cp240.webserver.pt ​🇻​♯➤ 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 62.193.192.154 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.26
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/include/rpm//rpmlib.h
#ifndef H_RPMLIB
#define	H_RPMLIB

/** \ingroup rpmcli rpmrc rpmdep rpmtrans rpmdb lead signature header payload dbi
 * \file lib/rpmlib.h
 *
 * In Memoriam: Steve Taylor <staylor@redhat.com> was here, now he's not.
 *
 */

#include <popt.h>

#include <rpm/rpmio.h>
#include <rpm/header.h>
#include <rpm/rpmtag.h>
#include <rpm/rpmds.h>	/* XXX move rpmlib provides to rpmds instead */
#include <rpm/rpmpgp.h>

#ifdef _RPM_4_4_COMPAT
#warning RPM 4.4.x compatibility layer has been removed in RPM >= 4.14
#endif

#ifdef __cplusplus
extern "C" {
#endif

extern struct rpmMacroContext_s * rpmGlobalMacroContext;

extern struct rpmMacroContext_s * rpmCLIMacroContext;

extern const char * const RPMVERSION;

extern const char * const rpmNAME;

extern const char * const rpmEVR;

extern const int rpmFLAGS;

/* ==================================================================== */
/** \name RPMRC */

/** \ingroup rpmrc
 * Build and install arch/os table identifiers.
 * @todo Eliminate from API.
 */
enum rpm_machtable_e {
    RPM_MACHTABLE_INSTARCH	= 0,	/*!< Install platform architecture. */
    RPM_MACHTABLE_INSTOS	= 1,	/*!< Install platform operating system. */
    RPM_MACHTABLE_BUILDARCH	= 2,	/*!< Build platform architecture. */
    RPM_MACHTABLE_BUILDOS	= 3	/*!< Build platform operating system. */
};
#define	RPM_MACHTABLE_COUNT	4	/*!< No. of arch/os tables. */

/** \ingroup rpmrc
 * Read macro configuration file(s) for a target.
 * @param file		colon separated files to read (NULL uses default)
 * @param target	target platform (NULL uses default)
 * @return		0 on success, -1 on error
 */
int rpmReadConfigFiles(const char * file,
		const char * target);

/** \ingroup rpmrc
 * Return current arch name and/or number.
 * @todo Generalize to extract arch component from target_platform macro.
 * @retval name		address of arch name (or NULL)
 * @retval num		address of arch number (or NULL)
 */
void rpmGetArchInfo( const char ** name,
		int * num);

/** \ingroup rpmrc
 * Return color for an arch
 * @param arch		name of an architecture
 * @return color        color of arch, -1 if the arch couldn't be determined
 */
int rpmGetArchColor(const char *arch);

/** \ingroup rpmrc
 * Return current os name and/or number.
 * @todo Generalize to extract os component from target_platform macro.
 * @retval name		address of os name (or NULL)
 * @retval num		address of os number (or NULL)
 */
void rpmGetOsInfo( const char ** name,
		int * num);

/** \ingroup rpmrc
 * Return arch/os score of a name.
 * An arch/os score measures the "nearness" of a name to the currently
 * running (or defined) platform arch/os. For example, the score of arch
 * "i586" on an i686 platform is (usually) 2. The arch/os score is used
 * to select one of several otherwise identical packages using the arch/os
 * tags from the header as hints of the intended platform for the package.
 * @todo Rewrite to use RE's against config.guess target platform output.
 *
 * @param type		any of the RPM_MACHTABLE_* constants
 * @param name		name
 * @return		arch score (0 is no match, lower is preferred)
 */
int rpmMachineScore(int type, const char * name);

/** \ingroup rpmrc
 * Display current rpmrc (and macro) configuration.
 * @param fp		output file handle
 * @return		0 always
 */
int rpmShowRC(FILE * fp);

/** \ingroup rpmrc
 * Destroy rpmrc arch/os compatibility tables.
 * @todo Eliminate from API.
 */
void rpmFreeRpmrc(void);

/**
 * Compare headers to determine which header is "newer".
 * @param first		1st header
 * @param second	2nd header
 * @return		result of comparison
 */
int rpmVersionCompare(Header first, Header second);

/**  \ingroup header
 * Check header consistency, performing headerGetEntry() the hard way.
 *  
 * Sanity checks on the header are performed while looking for a
 * header-only digest or signature to verify the blob. If found,
 * the digest or signature is verified.
 *
 * @param ts		transaction set
 * @param uh		unloaded header blob
 * @param uc		no. of bytes in blob (or 0 to disable)
 * @retval *msg		verification error message (or NULL)
 * @return		RPMRC_OK on success
 */
rpmRC headerCheck(rpmts ts, const void * uh, size_t uc, char ** msg);

/**  \ingroup header
 * Return checked and loaded header.
 * @param ts		unused
 * @param fd		file handle
 * @retval hdrp		address of header (or NULL)
 * @retval *msg		verification error message (or NULL)
 * @return		RPMRC_OK on success
 */
rpmRC rpmReadHeader(rpmts ts, FD_t fd, Header *hdrp, char ** msg);

/** \ingroup header
 * Return package header from file handle, verifying digests/signatures.
 * @param ts		transaction set
 * @param fd		file handle
 * @param fn		file name
 * @retval hdrp		address of header (or NULL)
 * @return		RPMRC_OK on success
 */
rpmRC rpmReadPackageFile(rpmts ts, FD_t fd,
		const char * fn, Header * hdrp);

/** \ingroup rpmtrans
 * Install source package.
 * @param ts		transaction set
 * @param fd		file handle
 * @retval specFilePtr	address of spec file name (or NULL)
 * @retval cookie	address of cookie pointer (or NULL)
 * @return		rpmRC return code
 */
rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
			char ** specFilePtr,
			char ** cookie);

/** \ingroup rpmtrans
 * Segmented string compare for version or release strings.
 *
 * @param a		1st string
 * @param b		2nd string
 * @return		+1 if a is "newer", 0 if equal, -1 if b is "newer"
 */
int rpmvercmp(const char * a, const char * b);

#ifdef __cplusplus
}
#endif

#endif	/* H_RPMLIB */


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
4 Jun 2026 2.36 AM
root / root
0755
argv.h
4.142 KB
17 Dec 2024 4.11 AM
root / root
0644
header.h
11.014 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmarchive.h
4.181 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmbase64.h
1.087 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmbuild.h
3.575 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmcallback.h
2.148 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmcli.h
12.855 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmdb.h
6.352 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmds.h
15.908 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfc.h
3.687 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfi.h
11.302 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfiles.h
15.528 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfileutil.h
5.135 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmio.h
2.34 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmkeyring.h
3.021 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmlib.h
5.333 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmlog.h
6.98 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmmacro.h
4.355 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmpgp.h
48.048 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmpol.h
0.379 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmprob.h
4.791 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmps.h
2.295 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmsign.h
0.797 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmspec.h
2.438 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmsq.h
1.823 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmstring.h
4.2 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmstrpool.h
3.941 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmsw.h
2.109 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmtag.h
22.569 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmtd.h
12.756 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmte.h
6.242 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmts.h
18.817 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmtypes.h
2.603 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmurl.h
1.148 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmutil.h
4.705 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmvf.h
4.101 KB
17 Dec 2024 4.11 AM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF