summaryrefslogtreecommitdiff
path: root/rpmio/rpmlog.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-03 21:00:18 +0000
committerjbj <devnull@localhost>2001-05-03 21:00:18 +0000
commitd78e027808deb6aef4e65338d160986d7e576a90 (patch)
tree53cddb260f6b5a0fab362b6c0f6f3375d0cacb8b /rpmio/rpmlog.h
parent0ecdbba93587408c670124e88d39451c681a77eb (diff)
downloadlibrpm-tizen-d78e027808deb6aef4e65338d160986d7e576a90.tar.gz
librpm-tizen-d78e027808deb6aef4e65338d160986d7e576a90.tar.bz2
librpm-tizen-d78e027808deb6aef4e65338d160986d7e576a90.zip
- still more boring lclint annotations and fiddles.
CVS patchset: 4738 CVS date: 2001/05/03 21:00:18
Diffstat (limited to 'rpmio/rpmlog.h')
-rw-r--r--rpmio/rpmlog.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpmio/rpmlog.h b/rpmio/rpmlog.h
index 24c7164d7..30607a2aa 100644
--- a/rpmio/rpmlog.h
+++ b/rpmio/rpmlog.h
@@ -154,7 +154,7 @@ typedef void (*rpmlogCallback) (void);
*/
typedef /*@abstract@*/ struct rpmlogRec_s {
int code;
- const char * message;
+/*@owned@*/ /*@null@*/ const char * message;
} * rpmlogRec;
#ifdef __cplusplus
@@ -171,7 +171,7 @@ int rpmlogGetNrecs(void);
* Return text of last rpmError() message.
* @return text of last message
*/
-/*@observer@*/ const char * rpmlogMessage(void);
+/*@observer@*/ /*@null@*/ const char * rpmlogMessage(void);
/**
* Return error code from last rpmError() message.
@@ -219,21 +219,21 @@ rpmlogCallback rpmlogSetCallback(rpmlogCallback cb);
* Set rpmlog callback function.
* @deprecated gnorpm needs, use rpmlogSetCallback() instead.
*/
-rpmlogCallback rpmErrorSetCallback(rpmlogCallback cb);
+extern rpmlogCallback rpmErrorSetCallback(rpmlogCallback cb);
/**
* Return error code from last rpmError() message.
* @deprecated Perl-RPM needs, use rpmlogCode() instead.
* @return code from last message
*/
-int rpmErrorCode(void);
+extern int rpmErrorCode(void);
/**
* Return text of last rpmError() message.
* @deprecated gnorpm needs, use rpmlogMessage() instead.
* @return text of last message
*/
-/*@observer@*/ const char * rpmErrorString(void);
+/*@observer@*/ /*@null@*/ extern const char * rpmErrorString(void);
#ifdef __cplusplus
}