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/retrychk.c
47    src/settings.c
48    src/utilities.c)
49
50SET(LCB_CORE_CXXSRC
51    src/instance.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_mcraw.cc
58    src/bucketconfig/confmon.cc
59    src/connspec.cc
60    src/dump.cc
61    src/getconfig.cc
62    src/nodeinfo.cc
63    src/handler.cc
64    src/hostlist.cc
65    src/http/http.cc
66    src/http/http_io.cc
67    src/lcbht/lcbht.cc
68    src/newconfig.cc
69    src/n1ql/params.cc
70    src/n1ql/n1ql.cc
71    src/n1ql/ixmgmt.cc
72    src/cbft.cc
73    src/operations/cbflush.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-seqno.cc
79    src/operations/remove.cc
80    src/operations/stats.cc
81    src/operations/store.cc
82    src/operations/subdoc.cc
83    src/operations/touch.cc
84    src/mcserver/mcserver.cc
85    src/mcserver/negotiate.cc
86    src/retryq.cc
87    src/cntl.cc
88    src/wait.cc)
89