Lines Matching defs:defn
70 static int int_ctrl_cmd_is_null(const ENGINE_CMD_DEFN *defn)
72 if ((defn->cmd_num == 0) || (defn->cmd_name == NULL))
77 static int int_ctrl_cmd_by_name(const ENGINE_CMD_DEFN *defn, const char *s)
80 while (!int_ctrl_cmd_is_null(defn) && (strcmp(defn->cmd_name, s) != 0)) {
82 defn++;
84 if (int_ctrl_cmd_is_null(defn))
90 static int int_ctrl_cmd_by_num(const ENGINE_CMD_DEFN *defn, unsigned int num)
97 while (!int_ctrl_cmd_is_null(defn) && (defn->cmd_num < num)) {
99 defn++;
101 if (defn->cmd_num == num)