~yolanda.robla/ubuntu/trusty/memcached/add_distribution

« back to all changes in this revision

Viewing changes to protocol_binary.h

  • Committer: Bazaar Package Importer
  • Author(s): David Martínez Moreno
  • Date: 2010-05-12 11:41:22 UTC
  • mto: (3.3.3 squeeze) (1.1.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20100512114122-wpynzm9kb1irw1um
Import upstream version 1.4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#ifndef PROTOCOL_BINARY_H
36
36
#define PROTOCOL_BINARY_H
37
37
 
38
 
#include <stdint.h>
39
 
 
40
38
/**
41
39
 * This file contains definitions of the constants and packet formats
42
40
 * defined in the binary specification. Please note that you _MUST_ remember
69
67
        PROTOCOL_BINARY_RESPONSE_EINVAL = 0x04,
70
68
        PROTOCOL_BINARY_RESPONSE_NOT_STORED = 0x05,
71
69
        PROTOCOL_BINARY_RESPONSE_DELTA_BADVAL = 0x06,
 
70
        PROTOCOL_BINARY_RESPONSE_AUTH_ERROR = 0x20,
 
71
        PROTOCOL_BINARY_RESPONSE_AUTH_CONTINUE = 0x21,
72
72
        PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND = 0x81,
73
73
        PROTOCOL_BINARY_RESPONSE_ENOMEM = 0x82
74
74
    } protocol_binary_response_status;
106
106
        PROTOCOL_BINARY_CMD_APPENDQ = 0x19,
107
107
        PROTOCOL_BINARY_CMD_PREPENDQ = 0x1a,
108
108
 
 
109
        PROTOCOL_BINARY_CMD_SASL_LIST_MECHS = 0x20,
 
110
        PROTOCOL_BINARY_CMD_SASL_AUTH = 0x21,
 
111
        PROTOCOL_BINARY_CMD_SASL_STEP = 0x22,
 
112
 
109
113
        /* These commands are used for range operations and exist within
110
114
         * this header for use in other projects.  Range operations are
111
115
         * not expected to be implemented in the memcached server itself.