Skip to content

Commit

Permalink
Added all the response codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Oct 12, 2009
1 parent 62a6fcd commit 939ad25
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions include/mc_constants.hrl
Expand Up @@ -44,8 +44,16 @@
-define(RDECR, 16#3b).
-define(RDECRQ, 16#3c).


-define(UNKNOWN_COMMAND, 16#81).
% Response status codes.
-define(SUCCESS, 16#00).
-define(KEY_ENOENT, 16#01).
-define(KEY_EEXISTS, 16#02).
-define(E2BIG, 16#03).
-define(EINVAL, 16#04).
-define(NOT_STORED, 16#05).
-define(DELTA_BADVAL, 16#06).
-define(UNKNOWN_COMMAND, 16#81).
-define(ENOMEM, 16#82).

-record(mc_response, {
status=0,
Expand Down

0 comments on commit 939ad25

Please sign in to comment.