summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio.h6
-rw-r--r--rpmio/rpmurl.h6
2 files changed, 10 insertions, 2 deletions
diff --git a/rpmio/rpmio.h b/rpmio/rpmio.h
index 468f0fa03..721eafed0 100644
--- a/rpmio/rpmio.h
+++ b/rpmio/rpmio.h
@@ -389,12 +389,14 @@ ssize_t fdWrite(void * cookie, const char * buf, size_t count)
int fdClose( /*@only@*/ void * cookie)
/*@modifies *cookie, fileSystem @*/;
-/* XXX FD_t reference count debugging wrappers */
+/**
+ * FD_t reference count debugging wrappers.
+ * @todo Remove debugging entries from the ABI.
+ */
#define fdLink(_fd, _msg) fdio->_fdref(_fd, _msg, __FILE__, __LINE__)
#define fdFree(_fd, _msg) fdio->_fdderef(_fd, _msg, __FILE__, __LINE__)
#define fdNew(_msg) fdio->_fdnew(_msg, __FILE__, __LINE__)
-
/** \ingroup rpmio
*/
int fdWritable(FD_t fd, int secs)
diff --git a/rpmio/rpmurl.h b/rpmio/rpmurl.h
index a08b565db..11dbf53b2 100644
--- a/rpmio/rpmurl.h
+++ b/rpmio/rpmurl.h
@@ -59,6 +59,8 @@ extern int url_iobuf_size;
* @return new instance
*/
urlinfo urlNew(const char * msg) /*@*/;
+
+/** @todo Remove debugging entry from the ABI. */
urlinfo XurlNew(const char * msg, const char * file, unsigned line) /*@*/;
#define urlNew(_msg) XurlNew(_msg, __FILE__, __LINE__)
@@ -70,6 +72,8 @@ urlinfo XurlNew(const char * msg, const char * file, unsigned line) /*@*/;
*/
urlinfo urlLink(urlinfo u, const char * msg)
/*@modifies u @*/;
+
+/** @todo Remove debugging entry from the ABI. */
urlinfo XurlLink(urlinfo u, const char * msg, const char * file, unsigned line)
/*@modifies u @*/;
#define urlLink(_u, _msg) XurlLink(_u, _msg, __FILE__, __LINE__)
@@ -82,6 +86,8 @@ urlinfo XurlLink(urlinfo u, const char * msg, const char * file, unsigned line)
*/
urlinfo urlFree( /*@killref@*/ urlinfo u, const char * msg)
/*@modifies u @*/;
+
+/** @todo Remove debugging entry from the ABI. */
urlinfo XurlFree( /*@killref@*/ urlinfo u, const char * msg,
const char * file, unsigned line)
/*@modifies u @*/;