summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Chesneau <benoitc@apache.org>2011-09-27 08:25:08 +0000
committerBenoit Chesneau <benoitc@apache.org>2011-09-27 08:25:08 +0000
commit249810103bc42806234a57243f3a28f4e4308b79 (patch)
tree1c00af4a5467a12b7ee5f28d32bed52017d7fd08
parent83fb480d8da4714dc1c746cbac47dca7b2095b69 (diff)
downloadcouchdb-249810103bc42806234a57243f3a28f4e4308b79.tar.gz
reflect api changes in couch_api_index. While I'm here, even if the
module isn't used give it a proper module declaration. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1176269 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couch_index/src/couch_index_api.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/couch_index/src/couch_index_api.erl b/src/couch_index/src/couch_index_api.erl
index 6a5087f4a..9d3a67ca1 100644
--- a/src/couch_index/src/couch_index_api.erl
+++ b/src/couch_index/src/couch_index_api.erl
@@ -10,11 +10,13 @@
% License for the specific language governing permissions and limitations under
% the License.
-
+-module(couch_index_api).
get(Field, State) ->
ok.
+init(Db, Ddoc) ->
+ ok.
open(Db, State) ->
ok.
@@ -32,10 +34,10 @@ reset(State) ->
start_update(State, PurgedState, NumChanges) ->
{ok, State}.
-purge(PurgedIdRevs, State) ->
+purge(Db, PurgeSeq, PurgedIdRevs, State) ->
ok.
-process_doc(Doc, State) ->
+process_doc(Doc, Seq, State) ->
ok.
finish_update(State) ->