/* * commands.c * * Definitions for command strings. * * This file is part of the ckpass project. * * Copyright (C) 2009 Heath N. Caldwell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ /* These are set this way so that we can compare by pointer equality rather * than needing to compare the strings themselves. */ const char *C_OPEN = "open"; const char *C_SAVE = "save"; const char *C_ADD_GROUP = "add-group"; const char *C_SELECT = "select"; const char *C_EDIT = "edit"; const char *C_QUIT = "quit"; const char *C_ADD_ENTRY = "add-entry"; const char *C_GROUPS = "groups"; const char *C_REVEAL = "reveal"; const char *C_PREV = "prev"; const char *C_NEXT = "next"; const char *C_XCLIP = "xclip";