1# These define the various source file listings of various modules
2# within the library.
3# This is included by the top-level CMakeLists.txt
4
5# couchbase_utils
6SET(LCB_UTILS_SRC
7    contrib/genhash/genhash.c
8    src/strcodecs/base64.c
9    src/gethrtime.c
10    src/hashtable.c
11    src/list.c
12    src/logging.c
13    src/ringbuffer.c)
14
15# lcbio
16FILE(GLOB LCB_IO_SRC src/lcbio/*.c)
17FILE(GLOB LCB_IO_CXXSRC src/lcbio/*.cc)
18
19# common memcached operations
20FILE(GLOB LCB_OP_SRC src/operations/*.c)
21
22# memcached packets
23FILE(GLOB LCB_MC_SRC src/mc/*.c)
24FILE(GLOB LCB_MC_CXXSRC src/mc/*.cc)
25
26# read buffer management
27FILE(GLOB LCB_RDB_SRC src/rdb/*.c)
28
29# send buffer management
30FILE(GLOB LCB_NETBUF_SRC src/netbuf/*.c)
31
32# HTTP protocol management
33LIST(APPEND LCB_HT_SRC "contrib/http_parser/http_parser.c")
34
35# bucket config ("confmon")
36FILE(GLOB LCB_BCONF_SRC src/bucketconfig/*.c)
37
38SET(LCB_CORE_SRC
39    ${LCB_OP_SRC}
40    ${LCB_BCONF_SRC}
41    ${LCB_N1QL_SRC}
42    src/callbacks.c
43    src/iofactory.c
44    src/settings.c
45    src/utilities.c)
46
47FILE(GLOB LCB_TRACING_SRC src/tracing/*.cc)
48
49SET(LCB_CORE_CXXSRC
50    src/instance.cc
51    src/analytics/analytics.cc
52    src/auth.cc
53    src/bootstrap.cc
54    src/bucketconfig/bc_cccp.cc
55    src/bucketconfig/bc_http.cc
56    src/bucketconfig/bc_file.cc
57    src/bucketconfig/bc_static.cc
58    src/bucketconfig/confmon.cc
59    src/collections.cc
60    src/connspec.cc
61    src/crypto.cc
62    src/dns-srv.cc
63    src/dump.cc
64    src/errmap.cc
65    src/getconfig.cc
66    src/nodeinfo.cc
67    src/handler.cc
68    src/hostlist.cc
69    src/http/http.cc
70    src/http/http_io.cc
71    src/lcbht/lcbht.cc
72    src/newconfig.cc
73    src/n1ql/n1ql.cc
74    src/n1ql/ixmgmt.cc
75    src/cbft.cc
76    src/operations/cbflush.cc
77    src/operations/counter.cc
78    src/operations/durability.cc
79    src/operations/durability-cas.cc
80    src/operations/durability-seqno.cc
81    src/operations/get.cc
82    src/operations/observe.cc
83    src/operations/observe-seqno.cc
84    src/operations/pktfwd.cc
85    src/operations/remove.cc
86    src/operations/stats.cc
87    src/operations/store.cc
88    src/operations/subdoc.cc
89    src/operations/touch.cc
90    src/operations/ping.cc
91    src/mcserver/mcserver.cc
92    src/mcserver/negotiate.cc
93    src/metrics.cc
94    src/retrychk.cc
95    src/retryq.cc
96    src/rnd.cc
97    src/docreq/docreq.cc
98    src/views/viewreq.cc
99    src/cntl.cc
100    src/wait.cc
101    ${LCB_TRACING_SRC}
102    )
103