]> gitweb.factorcode.org Git - factor.git/blob - vm/factor.hpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / factor.hpp
1 namespace factor {
2
3 factor_vm* new_factor_vm();
4 VM_C_API void start_standalone_factor(int argc, vm_char** argv);
5
6 // image
7 bool factor_arg(const vm_char* str, const vm_char* arg, cell* value);
8
9 // objects
10 cell object_size(cell tagged);
11
12 // os-*
13 void open_console();
14 void close_console();
15 void lock_console();
16 void unlock_console();
17 bool move_file(const vm_char* path1, const vm_char* path2);
18
19 void ignore_ctrl_c();
20 void handle_ctrl_c();
21
22 bool set_memory_locked(cell base, cell size, bool locked);
23
24 }