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/dns-srv.c
11    src/hashtable.c
12    src/list.c
13    src/logging.c
14    src/ringbuffer.c
15    src/simplestring.c)
16
17# lcbio
18FILE(GLOB LCB_IO_SRC src/lcbio/*.c)
19
20# common memcached operations
21FILE(GLOB LCB_OP_SRC src/operations/*.c)
22
23# memcached packets
24FILE(GLOB LCB_MC_SRC src/mc/*.c)
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_mcraw.cc
57    src/bucketconfig/confmon.cc
58    src/connspec.cc
59    src/dump.cc
60    src/getconfig.cc
61    src/nodeinfo.cc
62    src/handler.cc
63    src/hostlist.cc
64    src/http/http.cc
65    src/http/http_io.cc
66    src/lcbht/lcbht.cc
67    src/newconfig.cc
68    src/n1ql/params.cc
69    src/n1ql/n1ql.cc
70    src/n1ql/ixmgmt.cc
71    src/cbft.cc
72    src/operations/cbflush.cc
73    src/operations/counter.cc
74    src/operations/durability.cc
75    src/operations/durability-cas.cc
76    src/operations/durability-seqno.cc
77    src/operations/get.cc
78    src/operations/observe.cc
79    src/operations/observe-seqno.cc
80    src/operations/pktfwd.cc
81    src/operations/remove.cc
82    src/operations/stats.cc
83    src/operations/store.cc
84    src/operations/subdoc.cc
85    src/operations/touch.cc
86    src/mcserver/mcserver.cc
87    src/mcserver/negotiate.cc
88    src/retrychk.cc
89    src/retryq.cc
90    src/views/docreq.cc
91    src/views/viewreq.cc
92    src/cntl.cc
93    src/wait.cc)
94