hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r782792 - in /hadoop/zookeeper/trunk: CHANGES.txt src/c/include/zookeeper.h
Date Mon, 08 Jun 2009 21:30:56 GMT
Author: mahadev
Date: Mon Jun  8 21:30:55 2009
New Revision: 782792

URL: http://svn.apache.org/viewvc?rev=782792&view=rev
Log:
ZOOKEEPER-196. doxygen comment for state argument of watcher_fn typedef and implementation
differ (...one of the *_STATE constants, otherwise -1)

Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/src/c/include/zookeeper.h

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=782792&r1=782791&r2=782792&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Mon Jun  8 21:30:55 2009
@@ -190,6 +190,10 @@
 
   ZOOKEEPER-396. race condition in zookeeper client library between
 zookeeper_close and zoo_synchronous api. (mahadev)
+
+  ZOOKEEPER-196. doxygen comment for state argument of watcher_fn typedef and
+implementation differ ("...one of the *_STATE constants, otherwise -1") (breed
+via mahadev)
  
 NEW FEATURES:
 

Modified: hadoop/zookeeper/trunk/src/c/include/zookeeper.h
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/c/include/zookeeper.h?rev=782792&r1=782791&r2=782792&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/c/include/zookeeper.h (original)
+++ hadoop/zookeeper/trunk/src/c/include/zookeeper.h Mon Jun  8 21:30:55 2009
@@ -162,9 +162,7 @@
 /**
  * @name State Consts
  * These constants represent the states of a zookeeper connection. They are
- * possible parameters of the watcher callback. If a connection moves from
- * the ZOO_CONNECTED_STATE to the ZOO_CONNECTING_STATE, all outstanding 
- * watches will be removed.
+ * possible parameters of the watcher callback.
  */
 // @{
 extern ZOOAPI const int ZOO_EXPIRED_SESSION_STATE;
@@ -266,8 +264,7 @@
  * 
  * \param zh zookeeper handle
  * \param type event type. This is one of the *_EVENT constants. 
- * \param state connection state. If the type is ZOO_SESSION_EVENT, the state value 
- * will be one of the *_STATE constants, otherwise -1.
+ * \param state connection state. The state value will be one of the *_STATE constants.
  * \param path znode path for which the watcher is triggered. NULL if the event 
  * type is ZOO_SESSION_EVENT
  * \param watcherCtx watcher context.



Mime
View raw message