depends.c: need to export printDepend()

This commit is contained in:
Alexey Tourbin 2009-10-04 17:23:40 +04:00
parent 797f0ff2a5
commit 3d98659409
2 changed files with 13 additions and 9 deletions

View File

@ -25,15 +25,7 @@
static int _cacheDependsRC = 1;
/**
* Return formatted dependency string.
* @param depend type of dependency ("R" == Requires, "C" == Conflcts)
* @param key dependency name string
* @param keyEVR dependency [epoch:]version[-release] string
* @param keyFlags dependency logical range qualifiers
* @return formatted dependency (malloc'ed)
*/
static /*@only@*/ char * printDepend(const char * depend, const char * key,
/*@only@*/ char * printDepend(const char * depend, const char * key,
const char * keyEVR, int keyFlags)
/*@*/
{

View File

@ -145,6 +145,18 @@ int headerMatchesDepFlags(Header h,
const char * reqName, const char * reqEVR, int reqFlags)
/*@*/;
/**
* Return formatted dependency string.
* @param depend type of dependency ("R" == Requires, "C" == Conflcts)
* @param key dependency name string
* @param keyEVR dependency [epoch:]version[-release] string
* @param keyFlags dependency logical range qualifiers
* @return formatted dependency (malloc'ed)
*/
/*@only@*/ char * printDepend(const char * depend, const char * key,
const char * keyEVR, int keyFlags)
/*@*/;
#ifdef __cplusplus
}
#endif