Turi Create  4.0
pylambda_worker.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef TURI_LAMBDA_PYLAMBDA_WORKER_H_
7 #define TURI_LAMBDA_PYLAMBDA_WORKER_H_
8 
9 #include <string>
10 
11 namespace turi { namespace lambda {
12 
13 /** The main function to be called from the python ctypes library to
14  * create a pylambda worker process.
15  */
16 int pylambda_worker_main(const std::string& root_path,
17  const std::string& server_address, int loglevel);
18 
19 }}
20 
21 #endif /* _PYLAMBDA_WORKER_H_ */