Lines Matching defs:cause_id
684 * Return cause_id of the cause.
717 * cause_id and priority will be set if a cause is found.
721 lt_table_cause_from_stack(const char *module_func, int *cause_id, int *priority)
725 g_assert(module_func != NULL && cause_id != NULL && priority != NULL);
746 *cause_id = match->lt_mt_cause_id;
753 * Get the display name of a cause. cause_id must be valid,
758 lt_table_get_cause_name(int cause_id)
762 if (cause_id < 0 || cause_id >= causes_array_len) {
766 cause = (lt_cause_t *)g_ptr_array_index(causes_array, cause_id);
780 lt_table_get_cause_flag(int cause_id, int flag)
784 if (cause_id < 0 || cause_id >= causes_array_len) {
788 cause = (lt_cause_t *)g_ptr_array_index(causes_array, cause_id);