Adding some doxygen comments to the C++ api.
authorPadraig O'Sullivan <osullivan.padraig@gmail.com>
Mon, 27 Jul 2009 00:05:32 +0000 (20:05 -0400)
committerPadraig O'Sullivan <osullivan.padraig@gmail.com>
Mon, 27 Jul 2009 00:05:32 +0000 (20:05 -0400)
libmemcached/memcached.hpp

index 3b40304234167f8238c0f0136cf5c277cb31a0cd..dd7d9ff5e8c327534c5e04811cd1196775b3110b 100644 (file)
@@ -505,6 +505,13 @@ public:
     return (rc == MEMCACHED_SUCCESS);
   }
 
+  /**
+   * Wipe the contents of memcached servers.
+   *
+   * @param[in] expiration time to wait until wiping contents of
+   *                       memcached servers
+   * @return true on success; false otherwise
+   */
   bool flush(time_t expiration)
   {
     memcached_return rc= memcached_flush(&memc, expiration);