Lines Matching refs:man_node
146 struct man_node { struct
151 struct man_node *next; argument
171 static struct man_node *build_manpath(char **, int);
172 static void do_makewhatis(struct man_node *);
175 static int dupcheck(struct man_node *, struct dupnode **);
178 static void free_manp(struct man_node *manp);
180 static void fullpaths(struct man_node **);
181 static void get_all_sect(struct man_node *);
183 static void getpath(struct man_node *, char **);
184 static void getsect(struct man_node *, char **);
188 static int manual(struct man_node *, char *);
191 static void print_manpath(struct man_node *);
200 static void whatapro(struct man_node *, char *);
217 static struct man_node *mandirs = NULL; in main()
378 static struct man_node *mp; in main()
416 static struct man_node *
419 struct man_node *manpage = NULL; in build_manpath()
420 struct man_node *currp = NULL; in build_manpath()
421 struct man_node *lastp = NULL; in build_manpath()
430 s = sizeof (struct man_node); in build_manpath()
451 if ((currp = (struct man_node *)calloc(1, s)) == NULL) in build_manpath()
502 getpath(struct man_node *manp, char **pv) in getpath()
520 getsect(struct man_node *manp, char **pv) in getsect()
563 get_all_sect(struct man_node *manp) in get_all_sect()
629 do_makewhatis(struct man_node *manp) in do_makewhatis()
631 struct man_node *p; in do_makewhatis()
694 whatapro(struct man_node *manp, char *word) in whatapro()
697 struct man_node *b; in whatapro()
840 fullpaths(struct man_node **manp_head) in fullpaths()
845 struct man_node *manp = *manp_head; in fullpaths()
846 struct man_node *b; in fullpaths()
847 struct man_node *prev = NULL; in fullpaths()
883 free_manp(struct man_node *manp) in free_manp()
939 manual(struct man_node *manp, char *name) in manual()
941 struct man_node *p; in manual()
942 struct man_node *local; in manual()
1349 dupcheck(struct man_node *mnp, struct dupnode **dnp) in dupcheck()
1552 print_manpath(struct man_node *manp) in print_manpath()