]> git.ozlabs.org Git - ccan/blobdiff - ccan/tlist/_info
base32: add ability to substitute character set.
[ccan] / ccan / tlist / _info
index 7586fdfc7b4d7c642525edb2c2dc04f3418c8883..c3c116d2ead01bbead5865e3321034ea45f298b3 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * tlist - typesafe double linked list routines
@@ -9,21 +9,17 @@
  * this extends it so you can create list head types which only accomodate
  * a specific entry type.
  *
- * You use TLIST_TYPE() to define the specific struct tlist_<name>, then use
- * the tlist_* variants of the various list_* operations.
- *
  * Example:
  *     #include <err.h>
  *     #include <stdio.h>
  *     #include <stdlib.h>
  *     #include <ccan/tlist/tlist.h>
  *
- *     // Defines struct tlist_children
  *     TLIST_TYPE(children, struct child);
  *     struct parent {
  *             const char *name;
- *             struct tlist_children children;
  *             unsigned int num_children;
+ *             struct tlist_children children;
  *     };
  *
  *     struct child {
@@ -66,6 +62,7 @@ int main(int argc, char *argv[])
 
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/list\n");
+               printf("ccan/tcon\n");
                return 0;
        }