1dbdb5953SMark Nunberg# These define the various source file listings of various modules
2dbdb5953SMark Nunberg# within the library.
3dbdb5953SMark Nunberg# This is included by the top-level CMakeLists.txt
4dbdb5953SMark Nunberg
5dbdb5953SMark Nunberg# couchbase_utils
6dbdb5953SMark NunbergSET(LCB_UTILS_SRC
7dbdb5953SMark Nunberg    contrib/genhash/genhash.c
8dbdb5953SMark Nunberg    src/strcodecs/base64.c
9dbdb5953SMark Nunberg    src/gethrtime.c
10dbdb5953SMark Nunberg    src/hashtable.c
11dbdb5953SMark Nunberg    src/list.c
12dbdb5953SMark Nunberg    src/logging.c
13500bfa9aSMark Nunberg    src/ringbuffer.c)
14dbdb5953SMark Nunberg
15dbdb5953SMark Nunberg# lcbio
16dbdb5953SMark NunbergFILE(GLOB LCB_IO_SRC src/lcbio/*.c)
1711e9a2e3SMark NunbergFILE(GLOB LCB_IO_CXXSRC src/lcbio/*.cc)
18dbdb5953SMark Nunberg
19dbdb5953SMark Nunberg# common memcached operations
20dbdb5953SMark NunbergFILE(GLOB LCB_OP_SRC src/operations/*.c)
21dbdb5953SMark Nunberg
22dbdb5953SMark Nunberg# memcached packets
23dbdb5953SMark NunbergFILE(GLOB LCB_MC_SRC src/mc/*.c)
247273dbd9SSergey AvseyevFILE(GLOB LCB_MC_CXXSRC src/mc/*.cc)
25dbdb5953SMark Nunberg
26dbdb5953SMark Nunberg# read buffer management
27dbdb5953SMark NunbergFILE(GLOB LCB_RDB_SRC src/rdb/*.c)
28dbdb5953SMark Nunberg
29dbdb5953SMark Nunberg# send buffer management
30dbdb5953SMark NunbergFILE(GLOB LCB_NETBUF_SRC src/netbuf/*.c)
31dbdb5953SMark Nunberg
32dbdb5953SMark Nunberg# HTTP protocol management
33dbdb5953SMark NunbergLIST(APPEND LCB_HT_SRC "contrib/http_parser/http_parser.c")
34dbdb5953SMark Nunberg
35dbdb5953SMark Nunberg# bucket config ("confmon")
36dbdb5953SMark NunbergFILE(GLOB LCB_BCONF_SRC src/bucketconfig/*.c)
37dbdb5953SMark Nunberg
38dbdb5953SMark NunbergSET(LCB_CORE_SRC
39dbdb5953SMark Nunberg    ${LCB_OP_SRC}
40dbdb5953SMark Nunberg    ${LCB_BCONF_SRC}
4163c9c48cSMark Nunberg    ${LCB_N1QL_SRC}
42dbdb5953SMark Nunberg    src/callbacks.c
43dbdb5953SMark Nunberg    src/iofactory.c
44dbdb5953SMark Nunberg    src/settings.c
45470e3662SMark Nunberg    src/utilities.c)
468a2dca0cSMark Nunberg
4707521d60SSergey AvseyevFILE(GLOB LCB_TRACING_SRC src/tracing/*.cc)
48dc71348aSSergey Avseyev
498a2dca0cSMark NunbergSET(LCB_CORE_CXXSRC
5095c99a8fSMark Nunberg    src/instance.cc
519dd09538SSergey Avseyev    src/analytics/analytics.cc
52813cebb6SMark Nunberg    src/auth.cc
53e05b75c6SMark Nunberg    src/bootstrap.cc
54461fe62fSMark Nunberg    src/bucketconfig/bc_cccp.cc
5511b09508SMark Nunberg    src/bucketconfig/bc_http.cc
5668fbf06cSMark Nunberg    src/bucketconfig/bc_file.cc
572ebe8754SMark Nunberg    src/bucketconfig/bc_static.cc
58ff9f1f33SMark Nunberg    src/bucketconfig/confmon.cc
598b1ec4b1SSergey Avseyev    src/collections.cc
60565800f5SMark Nunberg    src/connspec.cc
61c666d602SSergey Avseyev    src/crypto.cc
6276b9a2e7SMark Nunberg    src/dns-srv.cc
63d61761faSMark Nunberg    src/dump.cc
642ffd3ec1SMark Nunberg    src/errmap.cc
65dc06257fSMark Nunberg    src/getconfig.cc
66ec080d7aSMark Nunberg    src/nodeinfo.cc
67aa3d3b80SMark Nunberg    src/handler.cc
6852e2bf32SMark Nunberg    src/hostlist.cc
6965966e25SMark Nunberg    src/http/http.cc
7065966e25SMark Nunberg    src/http/http_io.cc
71f45eecf3SMark Nunberg    src/lcbht/lcbht.cc
7205491a56SMark Nunberg    src/newconfig.cc
73c5e4594bSMark Nunberg    src/n1ql/n1ql.cc
7401d604f0SMark Nunberg    src/n1ql/ixmgmt.cc
7515dd04a8SMark Nunberg    src/cbft.cc
765a7aca01SMark Nunberg    src/operations/cbflush.cc
77a7d71137SMark Nunberg    src/operations/counter.cc
7868e52946SMark Nunberg    src/operations/durability.cc
7968e52946SMark Nunberg    src/operations/durability-seqno.cc
8062779b23SMark Nunberg    src/operations/get.cc
81d84300dbSMark Nunberg    src/operations/observe.cc
825fe1a3ebSMark Nunberg    src/operations/observe-seqno.cc
8389567816SMark Nunberg    src/operations/pktfwd.cc
8422c0f05cSMark Nunberg    src/operations/remove.cc
851230c7a1SMark Nunberg    src/operations/stats.cc
866a82bf9aSMark Nunberg    src/operations/store.cc
8729e5c5eaSMark Nunberg    src/operations/subdoc.cc
8868fcebe6SMark Nunberg    src/operations/touch.cc
8915302b02SSergey Avseyev    src/operations/ping.cc
9020884abeSSergey Avseyev    src/operations/exists.cc
9119ce3246SMark Nunberg    src/mcserver/mcserver.cc
9232150567SMark Nunberg    src/mcserver/negotiate.cc
936c01672cSYann Brillouet    src/metrics.cc
948f32bdb6SMark Nunberg    src/retrychk.cc
95de3b5f94SMark Nunberg    src/retryq.cc
966e1ebfd9SSergey Avseyev    src/rnd.cc
97374c46dfSSergey Avseyev    src/docreq/docreq.cc
98841e283bSMark Nunberg    src/views/viewreq.cc
99470e3662SMark Nunberg    src/cntl.cc
100dc71348aSSergey Avseyev    src/wait.cc
101dc71348aSSergey Avseyev    ${LCB_TRACING_SRC}
102dc71348aSSergey Avseyev    )
103