Lines Matching defs:container
57 * equal to monitor_name or container/monitor_name if nested
185 * Returns -1 on error, 1 if the monitor does not belong in the container, 0 otherwise.
186 * container can be NULL
188 static int ikm_fill_monitor_definition(char *name, struct monitor *ikm, char *container)
195 /* it belongs in container if it starts with "container:" */
196 if (container) {
197 int len = strlen(container);
199 if (strncmp(name, container, len) || name[len] != ':')
206 if (container)
344 int ikm_list_monitors(char *container)
363 retval = ikm_fill_monitor_definition(curr, &ikm, container);
368 int indent = ikm.nested && !container;
380 if (container)
381 printf("-- No monitor found in container %s --\n", container);
454 /* placeholder if we are dealing with a mixed-type container*/
512 /* placeholder if we are dealing with a mixed-type container*/
550 /* set if at least 1 monitor has id in case of a container */