2 * keyd.h - Public API for keyd.
4 * Copyright 2004,2011 Jonathan McDowell <noodles@earth.li>
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 51
17 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #define KEYD_SOCKET "keyd.sock"
34 KEYD_CMD_GETFULLKEYID,
40 KEYD_CMD_LAST /* Placeholder */
45 KEYD_REPLY_UNKNOWN_CMD = 1
48 static uint32_t keyd_version = 3;
53 uint32_t command_stats[KEYD_CMD_LAST];
56 #endif /* __KEYD_H__ */