]> git.sommitrealweird.co.uk Git - onak.git/blob - keyd.h
Add Depends on adduser for Debian
[onak.git] / keyd.h
1 /*
2  * keyd.h - Public API for keyd.
3  *
4  * Jonathan McDowell <noodles@earth.li>
5  *
6  * Copyright 2004 Project Purple
7  */
8
9 #ifndef __KEYD_H__
10 #define __KEYD_H__
11
12 #define KEYD_SOCKET "keyd.sock"
13
14 enum keyd_ops {
15         KEYD_CMD_UNKNOWN = 0,
16         KEYD_CMD_VERSION = 1,
17         KEYD_CMD_GET,
18         KEYD_CMD_STORE,
19         KEYD_CMD_DELETE,
20         KEYD_CMD_GETTEXT,
21         KEYD_CMD_GETFULLKEYID,
22         KEYD_CMD_KEYITER,
23         KEYD_CMD_CLOSE,
24         KEYD_CMD_QUIT
25 };
26
27 enum keyd_reply {
28         KEYD_REPLY_OK = 0,
29         KEYD_REPLY_UNKNOWN_CMD = 1
30 };
31
32 static int keyd_version = 2;
33
34 #endif /* __KEYD_H__ */