Lines Matching defs:defn
27 static int int_ctrl_cmd_is_null(const ENGINE_CMD_DEFN *defn)
29 if ((defn->cmd_num == 0) || (defn->cmd_name == NULL))
34 static int int_ctrl_cmd_by_name(const ENGINE_CMD_DEFN *defn, const char *s)
37 while (!int_ctrl_cmd_is_null(defn) && (strcmp(defn->cmd_name, s) != 0)) {
39 defn++;
41 if (int_ctrl_cmd_is_null(defn))
47 static int int_ctrl_cmd_by_num(const ENGINE_CMD_DEFN *defn, unsigned int num)
54 while (!int_ctrl_cmd_is_null(defn) && (defn->cmd_num < num)) {
56 defn++;
58 if (defn->cmd_num == num)