/* Plugin::execProcEvent: process event message */ void Plugin::execProcEvent(MMDAgent *mmdagent, const char *type, const char *args) { DLLibrary *d; for (d = m_head; d; d = d->next) if (d->procEvent != NULL) d->procEvent(mmdagent, type, args); }
/* Plugin::execProcMessage: process message */ void Plugin::execProcMessage(MMDAgent *mmdagent, const char *type, const char *args) { DLLibrary *d; for (d = m_head; d; d = d->next) if (d->procMessage != NULL) d->procMessage(mmdagent, type, args); /* deprecated functions */ for (d = m_head; d; d = d->next) if (d->procCommand != NULL) d->procCommand(mmdagent, type, args); for (d = m_head; d; d = d->next) if (d->procEvent != NULL) d->procEvent(mmdagent, type, args); }