summaryrefslogtreecommitdiff
path: root/src/mongo/rpc/metadata.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-06-19 18:14:15 -0400
committerMathias Stearn <mathias@10gen.com>2017-06-28 11:57:04 -0400
commite777062a8a4a6084472039e8d1d4008f42f777fb (patch)
tree8b1d6621062a6265a8baf3db676ed42e6d09394f /src/mongo/rpc/metadata.h
parent4d3756aca8409150628e8c62712f6ca10616d2cb (diff)
downloadmongo-e777062a8a4a6084472039e8d1d4008f42f777fb.tar.gz
SERVER-29734 Merge body and metadata in OP_QUERY reply handling
Diffstat (limited to 'src/mongo/rpc/metadata.h')
-rw-r--r--src/mongo/rpc/metadata.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/rpc/metadata.h b/src/mongo/rpc/metadata.h
index 3745a1d55ca..efacbd7d64a 100644
--- a/src/mongo/rpc/metadata.h
+++ b/src/mongo/rpc/metadata.h
@@ -73,17 +73,6 @@ using LegacyCommandAndFlags = std::tuple<BSONObj, int>;
CommandAndMetadata upconvertRequestMetadata(BSONObj legacyCmdObj, int queryFlags);
/**
- * A command reply and associated metadata object.
- */
-using CommandReplyWithMetadata = std::tuple<BSONObj, BSONObj>;
-
-/**
- * Given a legacy command reply, attempts to strip the metadata from the reply and construct
- * a metadata object.
- */
-CommandReplyWithMetadata upconvertReplyMetadata(const BSONObj& legacyReply);
-
-/**
* A function type for writing request metadata. The function takes a pointer to an optional
* OperationContext so metadata associated with a Client can be appended, a pointer to a
* BSONObjBuilder used to construct the metadata object and returns a Status indicating if the