initial work of api server
This commit is contained in:
parent
280c22671f
commit
70970434ca
13 changed files with 394 additions and 9 deletions
|
|
@ -53,11 +53,12 @@ ssl_dep = dependency('openssl')
|
|||
|
||||
libxce_deps = [c_capnproto_dep, ssl_dep, tinylog_dep, thread_dep]
|
||||
|
||||
libxce_shared = shared_library('xce',
|
||||
libxce_src,
|
||||
include_directories: [incdir, build_inc],
|
||||
dependencies: libxce_deps,
|
||||
install: true)
|
||||
#libxce_shared = shared_library('xce',
|
||||
# libxce_src,
|
||||
# include_directories: [incdir, build_inc],
|
||||
# dependencies: libxce_deps,
|
||||
# install: true)
|
||||
|
||||
libxce = static_library('xce',
|
||||
libxce_src,
|
||||
include_directories: [incdir, build_inc],
|
||||
|
|
@ -66,6 +67,7 @@ libxce = static_library('xce',
|
|||
|
||||
|
||||
libxce_dep = declare_dependency(link_with: libxce)
|
||||
# libxce_shared_dep = declare_dependency(link_with: libxce_shared)
|
||||
|
||||
libxce_test_src = ['testsuite/test.c',
|
||||
'testsuite/test_error.c',
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@ int xce_join_req(endpoint_t* ep, int role, hostattrs_t* attrs)
|
|||
|
||||
if ((role != HostRole_client) &&
|
||||
(role != HostRole_worker) &&
|
||||
(role != HostRole_apiserver) &&
|
||||
(role != HostRole_scheduler)) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue