Skip to content

API Usage

Jens Alfke edited this page Oct 25, 2017 · 7 revisions

This is a list of all LiteCore functions being used by the Objective-C implementation of Couchbase Lite 2, as of 25 October 2017. The list was generated by the ack tool, with the Unix command lines

cd couchbase-lite-ios
ack -o --noheading --no-filename '\bc4\w+\(' Objective-C | sort | uniq

(postprocessed slightly by hand, to remove the parens and add line breaks between groups.)

c4_dumpInstances
c4_getObjectCount

c4blob_create
c4blob_getContents
c4blob_keyFromString
c4blob_keyToString
c4blob_openReadStream
c4blob_openWriteStream

c4db_beginTransaction
c4db_close
c4db_compact
c4db_copy
c4db_createFleeceEncoder
c4db_createIndex
c4db_delete
c4db_deleteAtPath
c4db_deleteIndex
c4db_endTransaction
c4db_free
c4db_getBlobStore
c4db_getDocumentCount
c4db_getFLSharedKeys
c4db_getIndexes
c4db_getPath
c4db_getSharedFleeceEncoder
c4db_isInTransaction
c4db_open
c4db_rekey

c4dbobs_create
c4dbobs_free
c4dbobs_getChanges

c4doc_create
c4doc_dictContainsBlobs
c4doc_free
c4doc_get
c4doc_hasRevisionBody
c4doc_purgeRevision
c4doc_put
c4doc_resolveConflict
c4doc_save
c4doc_selectCommonAncestorRevision
c4doc_selectNextLeafRevision
c4doc_update

c4docobs_create
c4docobs_free

c4error_getMessage
c4error_make
c4error_mayBeNetworkDependent
c4error_mayBeTransient

c4log_getDomain
c4log_getDomainName
c4log_getLevel
c4log_setLevel
c4log_writeToBinaryFile
c4log_writeToCallback

c4query_columnCount
c4query_explain
c4query_free
c4query_fullTextMatched
c4query_new
c4query_run

c4queryenum_free
c4queryenum_getRowCount
c4queryenum_next
c4queryenum_refresh
c4queryenum_seek

c4repl_free
c4repl_getStatus
c4repl_new
c4repl_stop

c4rev_getGeneration

c4slice_free

c4socket_closed
c4socket_completedWrite
c4socket_gotHTTPResponse
c4socket_opened
c4socket_received
c4socket_registerFactory

c4stream_close
c4stream_closeWriter
c4stream_computeBlobKey
c4stream_install
c4stream_read
c4stream_write

c4vlog
Clone this wiki locally