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/legacy.c
44    # src/mcserver/negotiate.c
45    src/iofactory.c
46    src/settings.c
47    src/utilities.c)
48
49SET(LCB_CORE_CXXSRC
50    src/instance.cc
51    src/auth.cc
52    src/bootstrap.cc
53    src/bucketconfig/bc_cccp.cc
54    src/bucketconfig/bc_http.cc
55    src/bucketconfig/bc_file.cc
56    src/bucketconfig/bc_static.cc
57    src/bucketconfig/confmon.cc
58    src/connspec.cc
59    src/dns-srv.cc
60    src/dump.cc
61    src/errmap.cc
62    src/getconfig.cc
63    src/nodeinfo.cc
64    src/handler.cc
65    src/hostlist.cc
66    src/http/http.cc
67    src/http/http_io.cc
68    src/lcbht/lcbht.cc
69    src/newconfig.cc
70    src/n1ql/params.cc
71    src/n1ql/n1ql.cc
72    src/n1ql/ixmgmt.cc
73    src/cbft.cc
74    src/operations/cbflush.cc
75    src/operations/counter.cc
76    src/operations/durability.cc
77    src/operations/durability-cas.cc
78    src/operations/durability-seqno.cc
79    src/operations/get.cc
80    src/operations/observe.cc
81    src/operations/observe-seqno.cc
82    src/operations/pktfwd.cc
83    src/operations/remove.cc
84    src/operations/stats.cc
85    src/operations/store.cc
86    src/operations/subdoc.cc
87    src/operations/touch.cc
88    src/operations/ping.cc
89    src/mcserver/mcserver.cc
90    src/mcserver/negotiate.cc
91    src/metrics.cc
92    src/retrychk.cc
93    src/retryq.cc
94    src/rnd.cc
95    src/views/docreq.cc
96    src/views/viewreq.cc
97    src/cntl.cc
98    src/wait.cc)
99