lib/formats.c -
#include 'system.h'
#include 'rpmlib.h'
#include 'rpmmacro.h'
#include 'rpmpgp.h'
#include 'manifest.h'
#include 'misc.h'
#include 'debug.h'
char * triggertypeFormat (int_32 type, const void *data, char *formatPrefix, int padding, int element)
char * permsFormat (int_32 type, const void *data, char *formatPrefix, int padding, int element)
char * fflagsFormat (int_32 type, const void *data, char *formatPrefix, int padding, int element)
char * armorFormat (int_32 type, const void *data, char *formatPrefix, int padding, int element)
char * base64Format (int_32 type, const void *data, char *formatPrefix, int padding, int element)
char * depflagsFormat (int_32 type, const void *data, char *formatPrefix, int padding, int element)
int fsnamesTag (Header h, int_32 *type, void **data, int_32 *count, int *freeData)
int instprefixTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int fssizesTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int triggercondsTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int triggertypeTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int filenamesTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int i18nTag (Header h, int_32 tag, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int summaryTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int descriptionTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int groupTag (Header h, rpmTagType *type, const void **data, int_32 *count, int *freeData)
int _nl_msg_cat_cntr
const char * language = 'LANGUAGE'
const char * _macro_i18ndomains
const struct headerSprintfExtension_s rpmHeaderFormats []
Table of query format extensions.
Parameters:
Returns: formatted string
Definition at line 118 of file formats.c.
References _, _free(), int_32, PGPARMOR_PUBKEY, PGPARMOR_SIGNATURE, pgpValStr(), RPM_BIN_TYPE, RPM_CHAR_TYPE, RPM_I18NSTRING_TYPE, RPM_INT16_TYPE, RPM_INT32_TYPE, RPM_INT8_TYPE, RPM_NULL_TYPE, RPM_STRING_ARRAY_TYPE, RPM_STRING_TYPE, stpcpy(), xmalloc(), and xstrdup().
Parameters:
Returns: formatted string
Definition at line 204 of file formats.c.
References _, _free(), int_32, RPM_BIN_TYPE, stpcpy(), xmalloc(), and xstrdup().
Parameters:
Returns: formatted string
Definition at line 272 of file formats.c.
References _, int_32, RPM_INT32_TYPE, RPMSENSE_EQUAL, RPMSENSE_GREATER, RPMSENSE_LESS, xmalloc(), and xstrdup().
Referenced by triggercondsTag().
Parameters:
Return values:
Returns: 0 on success
Definition at line 692 of file formats.c.
References i18nTag(), int_32, RPMTAG_DESCRIPTION, and rpmTagType.
Parameters:
Returns: formatted string
Definition at line 75 of file formats.c.
References _, int_32, RPM_INT32_TYPE, RPMFILE_CONFIG, RPMFILE_DOC, RPMFILE_GHOST, RPMFILE_MISSINGOK, RPMFILE_NOREPLACE, RPMFILE_SPECFILE, xmalloc(), and xstrdup().
Parameters:
Return values:
Returns: 0 on success
Definition at line 551 of file formats.c.
References int_32, RPM_STRING_ARRAY_TYPE, rpmBuildFileList(), and rpmTagType.
Parameters:
Return values:
Returns: 0 on success
Definition at line 310 of file formats.c.
References int_32, RPM_STRING_ARRAY_TYPE, and rpmGetFilesystemList().
Parameters:
Return values:
Returns: 0 on success
Definition at line 372 of file formats.c.
References _free(), HGE_t, int_32, RPM_INT32_TYPE, rpmBuildFileList(), rpmGetFilesystemList(), rpmGetFilesystemUsage(), RPMTAG_FILESIZES, rpmTagType, uint_32, and xcalloc().
Parameters:
Return values:
Returns: 0 on success
Definition at line 709 of file formats.c.
References i18nTag(), int_32, RPMTAG_GROUP, and rpmTagType.
Parameters:
Return values:
Returns: 0 on success
Definition at line 588 of file formats.c.
References _free(), _macro_i18ndomains, _nl_msg_cat_cntr, alloca(), dgettext, getenv(), headerNVR(), HGE_t, int_32, language, RPM_STRING_TYPE, rpmExpand(), rpmTagType, setenv(), tagName(), unsetenv(), and xstrdup().
Referenced by descriptionTag(), groupTag(), and summaryTag().
Parameters:
Return values:
Returns: 0 on success
Definition at line 339 of file formats.c.
References HFD_t, HGE_t, int_32, RPM_STRING_TYPE, RPMTAG_INSTALLPREFIX, RPMTAG_INSTPREFIXES, rpmTagType, and xstrdup().
Parameters:
Returns: formatted string
Definition at line 45 of file formats.c.
References _, _free(), int_32, RPM_INT32_TYPE, rpmPermsString(), xmalloc(), and xstrdup().
Parameters:
Return values:
Returns: 0 on success
Definition at line 675 of file formats.c.
References i18nTag(), int_32, RPMTAG_SUMMARY, and rpmTagType.
Parameters:
Return values:
Returns: 0 on success
Definition at line 426 of file formats.c.
References _free(), depflagsFormat(), HFD_t, HGE_t, int_32, RPM_INT32_TYPE, RPM_STRING_ARRAY_TYPE, RPMSENSE_SENSEMASK, RPMTAG_TRIGGERFLAGS, RPMTAG_TRIGGERINDEX, RPMTAG_TRIGGERNAME, RPMTAG_TRIGGERSCRIPTS, RPMTAG_TRIGGERVERSION, rpmTagType, xmalloc(), xrealloc(), and xstrdup().
Parameters:
Returns: formatted string
Definition at line 21 of file formats.c.
References _, int_32, RPM_INT32_TYPE, RPMSENSE_TRIGGERIN, and xstrdup().
Parameters:
Return values:
Returns: 0 on success
Definition at line 498 of file formats.c.
References HFD_t, HGE_t, int_32, RPM_STRING_ARRAY_TYPE, RPMSENSE_TRIGGERIN, RPMSENSE_TRIGGERUN, RPMTAG_TRIGGERFLAGS, RPMTAG_TRIGGERINDEX, RPMTAG_TRIGGERSCRIPTS, rpmTagType, xmalloc(), and xstrdup().
Initial value:
'%{?_i18ndomains:%{_i18ndomains}}'
Definition at line 576 of file formats.c.
Definition at line 570 of file formats.c.
Definition at line 573 of file formats.c.
Initial value:
{ { HEADER_EXT_TAG, 'RPMTAG_GROUP', { groupTag } }, { HEADER_EXT_TAG, 'RPMTAG_DESCRIPTION', { descriptionTag } }, { HEADER_EXT_TAG, 'RPMTAG_SUMMARY', { summaryTag } }, { HEADER_EXT_TAG, 'RPMTAG_FILENAMES', { filenamesTag } }, { HEADER_EXT_TAG, 'RPMTAG_FSSIZES', { fssizesTag } }, { HEADER_EXT_TAG, 'RPMTAG_FSNAMES', { fsnamesTag } }, { HEADER_EXT_TAG, 'RPMTAG_INSTALLPREFIX', { instprefixTag } }, { HEADER_EXT_TAG, 'RPMTAG_TRIGGERCONDS', { triggercondsTag } }, { HEADER_EXT_TAG, 'RPMTAG_TRIGGERTYPE', { triggertypeTag } }, { HEADER_EXT_FORMAT, 'armor', { armorFormat } }, { HEADER_EXT_FORMAT, 'base64', { base64Format } }, { HEADER_EXT_FORMAT, 'depflags', { depflagsFormat } }, { HEADER_EXT_FORMAT, 'fflags', { fflagsFormat } }, { HEADER_EXT_FORMAT, 'perms', { permsFormat } }, { HEADER_EXT_FORMAT, 'permissions', { permsFormat } }, { HEADER_EXT_FORMAT, 'triggertype', { triggertypeFormat } }, { HEADER_EXT_MORE, NULL, { (void *) headerDefaultFormats } } }Table of query format extensions.
Note: Chains to headerDefaultFormats[].
Definition at line 719 of file formats.c.
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |