]> granicus.if.org Git - apache/commitdiff
tweak spelling/wording in mod_watchdog documentation
authorJeff Trawick <trawick@apache.org>
Wed, 30 Sep 2009 18:21:36 +0000 (18:21 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 30 Sep 2009 18:21:36 +0000 (18:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@820370 13f79535-47bb-0310-9956-ffa450edef68

modules/core/mod_watchdog.h

index c7af27f090be0835f6bd09788532285fcca5113e..a86de298313133932778ed48bb55629fd2efd25a 100644 (file)
@@ -110,7 +110,7 @@ typedef struct ap_watchdog_t ap_watchdog_t;
 
 /**
  * Callback function used for watchdog.
- * @param state Watchdog state function. See AP_WATCHODG_STATE_ .
+ * @param state Watchdog state function. See AP_WATCHDOG_STATE_ .
  * @param data is what was passed to @ap_watchdog_register_callback function.
  * @param pool Temporary callback pool destroyed after the call.
  * @return APR_SUCCESS to continue calling this callback.
@@ -122,8 +122,8 @@ typedef apr_status_t ap_watchdog_callback_fn_t(int state, void *data,
  * Get watchdog instance.
  * @param watchdog Storage for watchdog instance.
  * @param name Watchdog name.
- * @param parent Non zero to get the parent process watchdog instance.
- * @param singleton Non zero to get the singleton watchdog instance.
+ * @param parent Non-zero to get the parent process watchdog instance.
+ * @param singleton Non-zero to get the singleton watchdog instance.
  * @param pool The pool use.
  * @return APR_SUCCESS if all went well
  * @remark Use @AP_WATCHDOG_DEFAULT to get default watchdog instance.
@@ -166,13 +166,13 @@ AP_WD_DECLARE(apr_status_t) ap_watchdog_set_callback_interval(ap_watchdog_t *w,
 /**
  * Watchdog require hook.
  * @param name Watchdog name.
- * @param parent Non zero to indicate the parent process watchdog mode.
- * @param singleton Non zero to indicate the singleton watchdog mode.
+ * @param parent Non-zero to indicate the parent process watchdog mode.
+ * @param singleton Non-zero to indicate the singleton watchdog mode.
  * @param pool The pool used to create the watchdog.
  * @return OK to enable notifications from this watchdog, DECLINED otherwise.
  * @remark This is called in post config phase for all watchdog instances
  *         that have no callbacks registered. Modules using this hook
- *         should ensure their post_config hook is called after watchdog
+ *         should ensure that their post_config hook is called after watchdog
  *         post_config.
  */
 APR_DECLARE_EXTERNAL_HOOK(ap, AP_WD, int, watchdog_need, (server_rec *s,
@@ -182,7 +182,7 @@ APR_DECLARE_EXTERNAL_HOOK(ap, AP_WD, int, watchdog_need, (server_rec *s,
 
 /**
  * Watchdog initialize hook.
- * It is called after the watchog thread is initialized.
+ * It is called after the watchdog thread is initialized.
  * @param name Watchdog name.
  * @param pool The pool used to create the watchdog.
  */
@@ -193,7 +193,7 @@ APR_DECLARE_EXTERNAL_HOOK(ap, AP_WD, int, watchdog_init, (
 
 /**
  * Watchdog terminate hook.
- * It is called when the watchog thread is terminated.
+ * It is called when the watchdog thread is terminated.
  * @param name Watchdog name.
  * @param pool The pool used to create the watchdog.
  */