Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

lib/tagName.c File Reference

More...

#include "system.h"
#include <rpmlib.h>
#include "debug.h"

Go to the source code of this file.

Functions

const char* const tagName (int tag)
 Return name of tag from value. More...

int tagValue (const char *tagstr)
 Return value of tag from name. More...


Detailed Description

Definition in file tagName.c.


Function Documentation

const char* const tagName ( int tag )
 

Return name of tag from value.

Parameters:
tag   tag value
Returns:
name of tag

Definition at line 10 of file tagName.c.

Referenced by XdbiCclose(), XdbiCopen(), checkForDuplicates(), checkForRequired(), db1basename(), dbiClose(), dbiDel(), dbiGet(), dbiOpen(), dbiPut(), dbiSearch(), dbiSync(), dbiUpdateIndex(), handlePreambleTag(), i18nTag(), printNewSpecfile(), rpmHeaderGetEntry(), rpmdbAdd(), rpmdbInitIterator(), rpmdbMoveDatabase(), rpmdbRemove(), rpmdbRemoveDatabase(), and stashSt().

int tagValue ( const char * tagstr )
 

Return value of tag from name.

Parameters:
targstr   name of tag
Returns:
tag value

Definition at line 51 of file tagName.c.

Referenced by dbiTagsInit().


Generated at Mon May 21 08:53:42 2001 for rpm by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001