Lines Matching defs:defn
66 static int int_ctrl_cmd_is_null(const ENGINE_CMD_DEFN *defn)
68 if((defn->cmd_num == 0) || (defn->cmd_name == NULL))
73 static int int_ctrl_cmd_by_name(const ENGINE_CMD_DEFN *defn, const char *s)
76 while(!int_ctrl_cmd_is_null(defn) && (strcmp(defn->cmd_name, s) != 0))
79 defn++;
81 if(int_ctrl_cmd_is_null(defn))
87 static int int_ctrl_cmd_by_num(const ENGINE_CMD_DEFN *defn, unsigned int num)
92 while(!int_ctrl_cmd_is_null(defn) && (defn->cmd_num < num))
95 defn++;
97 if(defn->cmd_num == num)