Fixed a pair of swapped function dscriptions.
This commit is contained in:
parent
3b7a25ec52
commit
3e8d542527
14
lib/header.h
14
lib/header.h
@ -145,9 +145,8 @@ enum headerSprintfExtenstionType {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** \ingroup header
|
/** \ingroup header
|
||||||
* HEADER_EXT_TAG format function prototype.
|
* HEADER_EXT_FORMAT format function prototype.
|
||||||
* This will only ever be passed RPM_INT32_TYPE or RPM_STRING_TYPE to
|
* This is allowed to fail, which indicates the tag doesn't exist.
|
||||||
* help keep things simple.
|
|
||||||
*
|
*
|
||||||
* @param type tag type
|
* @param type tag type
|
||||||
* @param data tag value
|
* @param data tag value
|
||||||
@ -160,8 +159,9 @@ typedef /*only@*/ char * (*headerTagFormatFunction)(int_32 type,
|
|||||||
const void * data, char * formatPrefix,
|
const void * data, char * formatPrefix,
|
||||||
int padding, int element);
|
int padding, int element);
|
||||||
/** \ingroup header
|
/** \ingroup header
|
||||||
* HEADER_EXT_FORMAT format function prototype.
|
* HEADER_EXT_TAG format function prototype.
|
||||||
* This is allowed to fail, which indicates the tag doesn't exist.
|
* This will only ever be passed RPM_INT32_TYPE or RPM_STRING_TYPE to
|
||||||
|
* help keep things simple.
|
||||||
*
|
*
|
||||||
* @param h header
|
* @param h header
|
||||||
* @retval type address of tag type
|
* @retval type address of tag type
|
||||||
@ -187,8 +187,8 @@ struct headerSprintfExtension_s {
|
|||||||
union {
|
union {
|
||||||
/*@observer@*/ /*@null@*/
|
/*@observer@*/ /*@null@*/
|
||||||
void * generic; /*!< Private extension. */
|
void * generic; /*!< Private extension. */
|
||||||
headerTagFormatFunction formatFunction; /*!< HEADER_EXT_TAG extension. */
|
headerTagFormatFunction formatFunction; /*!< HEADER_EXT_FORMAT extension. */
|
||||||
headerTagTagFunction tagFunction; /*!< HEADER_EXT_FORMAT extension. */
|
headerTagTagFunction tagFunction; /*!< HEADER_EXT_TAG extension. */
|
||||||
struct headerSprintfExtension_s * more; /*!< Chained table extension. */
|
struct headerSprintfExtension_s * more; /*!< Chained table extension. */
|
||||||
} u;
|
} u;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user