You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2011/10/26 20:05:33 UTC

[36/50] git commit: reflect api changes in couch_api_index. While I'm here, even if the module isn't used give it a proper module declaration.

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


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/24981010
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/24981010
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/24981010

Branch: refs/heads/1319-large-headers-are-corrupted
Commit: 249810103bc42806234a57243f3a28f4e4308b79
Parents: 83fb480
Author: Benoit Chesneau <be...@apache.org>
Authored: Tue Sep 27 08:25:08 2011 +0000
Committer: Benoit Chesneau <be...@apache.org>
Committed: Tue Sep 27 08:25:08 2011 +0000

----------------------------------------------------------------------
 src/couch_index/src/couch_index_api.erl |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/24981010/src/couch_index/src/couch_index_api.erl
----------------------------------------------------------------------
diff --git a/src/couch_index/src/couch_index_api.erl b/src/couch_index/src/couch_index_api.erl
index 6a5087f..9d3a67c 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) ->