[sr-dev] git:master: memcached: comment clarification for wrapper for libmemcache callbacks

Henning Westerholt hw at kamailio.org
Fri Oct 4 14:48:00 CEST 2013


Module: sip-router
Branch: master
Commit: 0f3a566dd699090cf6a558edc3aefac2c41e24e5
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0f3a566dd699090cf6a558edc3aefac2c41e24e5

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date:   Fri Oct  4 14:47:06 2013 +0200

memcached: comment clarification for wrapper for libmemcache callbacks

---

 modules/memcached/memcached.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/memcached/memcached.c b/modules/memcached/memcached.c
index 86a08b3..431cf4e 100644
--- a/modules/memcached/memcached.c
+++ b/modules/memcached/memcached.c
@@ -106,7 +106,7 @@ struct module_exports exports = {
 
 
 /*!
- * \brief Wrapper functions around our internal memory management
+ * \brief Wrapper functions around our internal memory management for libmemcache callback
  * \param mem freed memory
  * \note pkg_free does not allow NULL pointer as standard free, therefore we check it here
  * \see pkg_free
@@ -118,7 +118,7 @@ static inline void mcd_free(memcached_st *ptr, void *mem, void *context) {
 
 
 /*!
- * \brief Wrapper functions around our internal memory management
+ * \brief Wrapper functions around our internal memory management for libmemcache callback
  * \param size allocated size
  * \return allocated memory, or NULL on failure
  * \see pkg_malloc
@@ -129,7 +129,7 @@ static inline void* mcd_malloc(memcached_st *ptr, const size_t size, void *conte
 
 
 /*!
- * \brief Wrapper functions around our internal memory management
+ * \brief Wrapper functions around our internal memory management for libmemcache callback
  * \param mem pointer to allocated memory
  * \param size new size of memory area
  * \return allocated memory, or NULL on failure
@@ -141,7 +141,7 @@ static inline void* mcd_realloc(memcached_st *ptr, void *mem, const size_t size,
 
 
 /*!
- * \brief Wrapper functions around our internal memory management
+ * \brief Wrapper functions around our internal memory management for libmemcache callback
  * \param mem pointer to allocated memory
  * \param size new size of memory area
  * \return allocated memory, or NULL on failure




More information about the sr-dev mailing list