Lines Matching refs:arg
112 static int tt_command_exec(int index, const char *arg) in tt_command_exec() argument
122 if (!arg || !*arg) in tt_command_exec()
125 ret = tt_del_tz(arg); in tt_command_exec()
129 if (!arg || !*arg) in tt_command_exec()
132 ret = tt_zone_add_trip(arg); in tt_command_exec()
136 if (!arg || !*arg) in tt_command_exec()
139 ret = tt_zone_reg(arg); in tt_command_exec()
143 if (!arg || !*arg) in tt_command_exec()
146 ret = tt_zone_unreg(arg); in tt_command_exec()
159 char *arg; in tt_command_process() local
164 arg = strchr(s, ':'); in tt_command_process()
165 if (arg) { in tt_command_process()
166 *arg = '\0'; in tt_command_process()
167 arg++; in tt_command_process()
172 return tt_command_exec(i, arg); in tt_command_process()