Lines Matching refs:item

50  * fmd_msg_getitem_nv - format a single message item for the given event
51 * fmd_msg_getitem_id - format a single message item for the given event code
673 fmd_msg_buf_printf(b, " "); /* array item delimiter */
985 * This function is the main engine for formatting an event message item, such
986 * as the Description field. It loads the item text from a message object,
987 * expands any variables defined in the item text, and then returns a newly-
993 nvlist_t *nvl, const char *dict, const char *code, fmd_msg_item_t item)
995 const char *istr = fmd_msg_items[item];
1024 * If <dict>.mo defines an item with the key <FMD_MSG_URLKEY> then it
1032 * If the item is FMD_MSG_ITEM_URL, then its value is directly
1034 * item is FMD_MSG_ITEM_SEVERITY then we try to use the severity
1035 * found in the nvlist passed in. Otherwise the item text is
1039 if (item == FMD_MSG_ITEM_URL) {
1044 } else if ((item == FMD_MSG_ITEM_SEVERITY) && (severity != NULL)) {
1053 * Substitute the alternate message item instead.
1330 * If <dict>.mo defines an item with the key <FMD_MSG_TEMPLATE> then it
1406 const char *locale, nvlist_t *nvl, const char *code, fmd_msg_item_t item)
1465 * Prefetch the first item: if this isn't found, and we're in a non-
1491 s = fmd_msg_getitem_locked(h, nvl, dict, code, item);
1511 const char *locale, nvlist_t *nvl, fmd_msg_item_t item)
1515 if (item >= FMD_MSG_ITEM_MAX) {
1525 return (fmd_msg_getitem(h, locale, nvl, code, item));
1530 const char *locale, const char *code, fmd_msg_item_t item)
1532 if (item >= FMD_MSG_ITEM_MAX) {
1537 return (fmd_msg_getitem(h, locale, NULL, code, item));
1666 * Prefetch the first item: if this isn't found, and we're in a non-