summaryrefslogtreecommitdiff
path: root/libstore/kids.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-07-07 18:53:43 +0000
committerMiles Bader <miles@gnu.org>1997-07-07 18:53:43 +0000
commit595942822229c71e6450ad175586af414eea56a7 (patch)
treefb060d86c4a334724b740521f8fd2efa7d2a074e /libstore/kids.c
parent9b733113f1d875b17f81c1cc599587b25d887380 (diff)
Doc fix.
Diffstat (limited to 'libstore/kids.c')
-rw-r--r--libstore/kids.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/libstore/kids.c b/libstore/kids.c
index e8fc6f4c..ee00ace4 100644
--- a/libstore/kids.c
+++ b/libstore/kids.c
@@ -151,15 +151,13 @@ store_clear_child_flags (struct store *store, int flags)
}
/* Parse multiple store names in NAME, and open each individually, returning
- all in the vector STORES, and the number in NUM_STORES. The syntax is
- simply a single character, followed by each individual store name (which
- are in the store_typed_open syntax -- the type name, a ':', and the store
- name) separated by that same character, with the whole list optionally
- terminated by the same. If the first character of NAME is an
- alpha-numeric, then NAME is taken to be in `factored-type' notation,
- meaning that a common type-name for each child actually precedes the
- entire list of children, instead of being specified in each child,
- followed by a `:' and the child list as above. */
+ all in the vector STORES, and the number in NUM_STORES. The syntax of
+ NAME is a single non-alpha-numeric separator character, followed by each
+ child store name separated by the same separator; each child name is
+ TYPE:NAME notation as parsed by store_typed_open. If every child uses the
+ same TYPE: prefix, then it may be factored out and put before the child
+ list instead (the two types of notation are differentiated by whether the
+ first character of name is alpha-numeric or not). */
error_t
store_open_children (const char *name, int flags,
const struct store_class *const *classes,