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    src/simplestring.c)
15
16# lcbio
17FILE(GLOB LCB_IO_SRC src/lcbio/*.c)
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)
24
25# read buffer management
26FILE(GLOB LCB_RDB_SRC src/rdb/*.c)
27
28# send buffer management
29FILE(GLOB LCB_NETBUF_SRC src/netbuf/*.c)
30
31# HTTP protocol management
32LIST(APPEND LCB_HT_SRC "contrib/http_parser/http_parser.c")
33
34# bucket config ("confmon")
35FILE(GLOB LCB_BCONF_SRC src/bucketconfig/*.c)
36
37SET(LCB_CORE_SRC
38    ${LCB_OP_SRC}
39    ${LCB_BCONF_SRC}
40    ${LCB_N1QL_SRC}
41    src/callbacks.c
42    src/legacy.c
43    # src/mcserver/negotiate.c
44    src/iofactory.c
45    src/settings.c
46    src/utilities.c)
47
48SET(LCB_CORE_CXXSRC
49    src/instance.cc
50    src/auth.cc
51    src/bootstrap.cc
52    src/bucketconfig/bc_cccp.cc
53    src/bucketconfig/bc_http.cc
54    src/bucketconfig/bc_file.cc
55    src/bucketconfig/bc_mcraw.cc
56    src/bucketconfig/confmon.cc
57    src/connspec.cc
58    src/dns-srv.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