Lines Matching defs:class
79 "post-processing produced invalid event class" },
303 class_ok(char *class)
313 if (strncmp(class, approved[i], strlen(approved[i])) == 0)
326 char *class[FMEVT_FANOUT_MAX];
376 * Clear the arrays in which class strings and attribute
378 * that the callee can use for the first event class (for others
382 bzero(class, sizeof (class));
384 class[0] = buf;
400 expected = (*dispf)(class, attr, ruleset,
406 return; /* without freeing class and nvl - could leak */
421 if (class[i] == NULL)
424 if (!class_ok(class[i])) {
443 err += nvlist_add_string(nvl, FM_CLASS, (const char *)class[i]);
473 * We provided storage for class[0] but any
476 if (i > 0 && class[i] != NULL)
477 fmd_hdl_strfree(fmevt_hdl, class[i]);