Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/wabt/interp/interp-wasi.h
1 /* 2 * Copyright 2020 WebAssembly Community Group participants 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef WABT_INTERP_WASI_H_ 18 #define WABT_INTERP_WASI_H_ 19 20 #include "wabt/common.h" 21 #include "wabt/error.h" 22 #include "wabt/interp/interp.h" 23 24 #ifdef WITH_WASI 25 26 struct uvwasi_s; 27 28 namespace wabt { 29 namespace interp { 30 31 Result WasiBindImports(const Module::Ptr& module, 32 RefVec& imports, 33 Stream* err_stream, 34 Stream* trace_stream); 35 36 Result WasiRunStart(const Instance::Ptr& instance, 37 uvwasi_s* uvwasi, 38 Stream* stream, 39 Stream* trace_stream); 40 41 } // namespace interp 42 } // namespace wabt 43 44 #endif 45 46 #endif /* WABT_INTERP_WASI_H_ */