diff options
author | jbj <devnull@localhost> | 2001-10-17 16:43:36 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-17 16:43:36 +0000 |
commit | d57a29baac08c4cc929c9755cfbc5c93d56a0f4d (patch) | |
tree | 586ca6c4d0d8c80d4c037d18f15a30c694fbdb54 /rpmio/rpmmacro.h | |
parent | 96a3f7a55d444296f97c3e28c8d810e220e1cb9f (diff) | |
download | librpm-tizen-d57a29baac08c4cc929c9755cfbc5c93d56a0f4d.tar.gz librpm-tizen-d57a29baac08c4cc929c9755cfbc5c93d56a0f4d.tar.bz2 librpm-tizen-d57a29baac08c4cc929c9755cfbc5c93d56a0f4d.zip |
Converging on lclint-3.0.17 strict level.
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
Diffstat (limited to 'rpmio/rpmmacro.h')
-rw-r--r-- | rpmio/rpmmacro.h | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/rpmio/rpmmacro.h b/rpmio/rpmmacro.h index 79d19b344..df9d5b961 100644 --- a/rpmio/rpmmacro.h +++ b/rpmio/rpmmacro.h @@ -18,17 +18,27 @@ typedef /*@abstract@*/ struct MacroEntry_s { /*! The structure used to store the set of macros in a context. */ typedef /*@abstract@*/ struct MacroContext_s { /*@owned@*//*@null@*/ MacroEntry *macroTable; /*!< Macro entry table for context. */ - int macrosAllocated;/*!< No. of allocated macros. */ - int firstFree; /*!< No. of macros. */ + int macrosAllocated;/*!< No. of allocated macros. */ + int firstFree; /*!< No. of macros. */ } * MacroContext; -/** - */ +/*@-redecl@*/ +/*@checked@*/ extern MacroContext rpmGlobalMacroContext; -/** - */ +/*@checked@*/ extern MacroContext rpmCLIMacroContext; +/*@=redecl@*/ + +/** \ingroup rpmrc + * List of macro files to read when configuring rpm. + * This is a colon separated list of files. URI's are permitted as well, + * identified by the token '://', so file paths must not begin with '//'. + */ +/*@-redecl@*/ +/*@observer@*/ /*@checked@*/ +extern const char * macrofiles; +/*@=redecl@*/ /** * Markers for sources of macros added throughout rpm. @@ -161,7 +171,7 @@ int isCompressed (const char * file, * @param arg macro(s) to expand (NULL terminates list) * @return macro expansion (malloc'ed) */ -char * rpmExpand (/*@null@*/ const char * arg, ...) +char * rpmExpand (/*@null@*/ const char * arg, ...) /*@globals rpmGlobalMacroContext @*/ /*@modifies rpmGlobalMacroContext @*/; @@ -178,7 +188,7 @@ char * rpmExpand (/*@null@*/ const char * arg, ...) * @param path macro(s) to expand (NULL terminates list) * @return canonicalized path (malloc'ed) */ -/*@-redecl@*/ +/*@-redecl@*/ /* LCL: shrug */ const char * rpmGetPath (/*@null@*/ const char * path, ...) /*@globals rpmGlobalMacroContext @*/ /*@modifies rpmGlobalMacroContext @*/; @@ -194,7 +204,7 @@ const char * rpmGetPath (/*@null@*/ const char * path, ...) * @param urlfile file URL (often a file, or NULL) * @return expanded, merged, canonicalized path (malloc'ed) */ -/*@-redecl@*/ +/*@-redecl@*/ /* LCL: shrug */ const char * rpmGenPath (/*@null@*/ const char * urlroot, /*@null@*/ const char * urlmdir, /*@null@*/ const char * urlfile) |