1 /* 2 * commands.c 3 * 4 * Definitions for command strings. 5 * 6 * This file is part of the ckpass project. 7 * 8 * Copyright (C) 2009 Heath N. Caldwell <hncaldwell@gmail.com> 9 * 10 * This program is free software: you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation, either version 3 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program. If not, see <http://www.gnu.org/licenses/>. 22 * 23 */ 24 25 /* These are set this way so that we can compare by pointer equality rather 26 * than needing to compare the strings themselves. */ 27 28 const char *C_OPEN = "open"; 29 const char *C_SAVE = "save"; 30 const char *C_ADD_GROUP = "add-group"; 31 const char *C_SELECT = "select"; 32 const char *C_EDIT = "edit"; 33 const char *C_QUIT = "quit"; 34 const char *C_ADD_ENTRY = "add-entry"; 35 const char *C_GROUPS = "groups"; 36 const char *C_REVEAL = "reveal"; 37 const char *C_PREV = "prev"; 38 const char *C_NEXT = "next"; 39 const char *C_XCLIP = "xclip"; 40 41