Lines Matching refs:subtopic
65 help_getnext(int fd, char **topic, char **subtopic, char **desc) in help_getnext() argument
70 *topic = *subtopic = *desc = NULL; in help_getnext()
78 *topic = *subtopic = *desc = NULL; in help_getnext()
86 } else if (*cp == 'S' && *subtopic == NULL) { in help_getnext()
89 *subtopic = strdup(cp + 1); in help_getnext()
97 free(*subtopic); in help_getnext()
99 *subtopic = *desc = NULL; in help_getnext()
107 help_emitsummary(char *topic, char *subtopic, char *desc) in help_emitsummary() argument
114 if (subtopic != NULL) { in help_emitsummary()
116 pager_output(subtopic); in help_emitsummary()
117 i += strlen(subtopic) + 1; in help_emitsummary()
134 char *topic, *subtopic, *t, *s, *d; in command_help() local
145 topic = subtopic = NULL; in command_help()
148 subtopic = strdup(argv[2]); in command_help()
183 if ((subtopic == NULL && s == NULL) || in command_help()
184 (subtopic != NULL && s != NULL && in command_help()
185 strcmp(subtopic, s) == 0)) { in command_help()
194 } else if (subtopic == NULL && s != NULL) { in command_help()
214 free(subtopic); in command_help()
218 free(subtopic); in command_help()