chiark / gitweb /
checkpath.c: Describe the `struct checkpath' as `query', not `context'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 17 Jul 2024 11:22:02 +0000 (12:22 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 17 Jul 2024 12:23:10 +0000 (13:23 +0100)
We're going to be introducing a `state', and it will be confusing to
have both a state and a context.

checkpath.c

index 440a6ab2a9faf6945db529e6637f554456240e32..8d03113789ca7f21912dd6c4dd17e5e2f98c9d60 100644 (file)
@@ -173,7 +173,7 @@ static void push(struct elt *e)
 
 /* --- @report@ --- *
  *
 
 /* --- @report@ --- *
  *
- * Arguments:  @const struct checkpath *cp@ = pointer to context
+ * Arguments:  @const struct checkpath *cp@ = pointer to query
  *             @unsigned what@ = what sort of report is this?
  *             @int verbose@ = how verbose is this?
  *             @const char *p@ = what path does it refer to?
  *             @unsigned what@ = what sort of report is this?
  *             @int verbose@ = how verbose is this?
  *             @const char *p@ = what path does it refer to?
@@ -269,7 +269,7 @@ static void report(const struct checkpath *cp, unsigned what, int verbose,
  *
  * Arguments:  @const char *p@ = name of directory to check
  *             @struct stat *st@ = pointer to @stat@(2) block for it
  *
  * Arguments:  @const char *p@ = name of directory to check
  *             @struct stat *st@ = pointer to @stat@(2) block for it
- *             @const struct checkpath *cp@ = pointer to caller parameters
+ *             @const struct checkpath *cp@ = pointer to query
  *             @unsigned f@ = various flags (@SF_...@)
  *
  * Returns:    Zero if everything's OK, else bitmask of problems.
  *             @unsigned f@ = various flags (@SF_...@)
  *
  * Returns:    Zero if everything's OK, else bitmask of problems.