Author: benoitc Date: Tue Sep 27 08:25:08 2011 New Revision: 1176269 URL: http://svn.apache.org/viewvc?rev=1176269&view=rev Log: reflect api changes in couch_api_index. While I'm here, even if the module isn't used give it a proper module declaration. Modified: couchdb/trunk/src/couch_index/src/couch_index_api.erl Modified: couchdb/trunk/src/couch_index/src/couch_index_api.erl URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couch_index/src/couch_index_api.erl?rev=1176269&r1=1176268&r2=1176269&view=diff ============================================================================== --- couchdb/trunk/src/couch_index/src/couch_index_api.erl (original) +++ couchdb/trunk/src/couch_index/src/couch_index_api.erl Tue Sep 27 08:25:08 2011 @@ -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) ->