dovecot-2.2: lib-dict: Code cleanup - give name for enum dict_pr...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Sep 2 14:24:49 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/80f840616abb
changeset: 19059:80f840616abb
user: Timo Sirainen <tss at iki.fi>
date: Wed Sep 02 17:21:06 2015 +0300
description:
lib-dict: Code cleanup - give name for enum dict_protocol_cmd/reply
diffstat:
src/lib-dict/dict-client.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 3cf6441adf12 -r 80f840616abb src/lib-dict/dict-client.h
--- a/src/lib-dict/dict-client.h Wed Sep 02 17:20:02 2015 +0300
+++ b/src/lib-dict/dict-client.h Wed Sep 02 17:21:06 2015 +0300
@@ -10,7 +10,7 @@
#define DICT_CLIENT_MAX_LINE_LENGTH (64*1024)
-enum {
+enum dict_protocol_cmd {
/* <major-version> <minor-version> <value type> <user> <dict name> */
DICT_PROTOCOL_CMD_HELLO = 'H',
@@ -28,7 +28,7 @@
DICT_PROTOCOL_CMD_ATOMIC_INC = 'A' /* <id> <key> <diff> */
};
-enum {
+enum dict_protocol_reply {
DICT_PROTOCOL_REPLY_OK = 'O', /* <value> */
DICT_PROTOCOL_REPLY_NOTFOUND = 'N',
DICT_PROTOCOL_REPLY_FAIL = 'F',
More information about the dovecot-cvs
mailing list