Lines Matching defs:action
167 /* Execute the specified action using the rest of the arguments as input.
170 db::exec_action(db_action action, db_query *query,
189 switch (action) {
318 * Log the given action and execute it.
319 * The minor version of the database is updated after the action has
322 * action is unknown.
325 db::log_action(db_action action, db_query *query, entry_object *content)
329 db_log_entry le(action, v, query, content);
341 if ((action == DB_ADD_NOSYNC) || (action == DB_REMOVE_NOSYNC))
360 switch (action) {
362 action = DB_ADD;
365 action = DB_REMOVE;
378 res = exec_action(action, query, content, NULL);
388 * Execute 'action' using the rest of the arguments as input.
391 * If the action involves updates (ADD and REMOVE), it is logged first.
394 db::execute(db_action action, db_query *query,
399 switch (action) {
406 res = exec_action(action, query, content, previous);
424 return (log_action(action, query, content));
543 return (TRUE); /* always want to TRUE if action valid ? */
559 db_action action;
569 action = j->get_action();
570 if ((action == DB_ADD_NOSYNC) || (action == DB_REMOVE_NOSYNC))