]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/factor.hpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / factor.hpp
index f2dd6af0bf5b62b50edfb4b81eefa71c59fdf053..e127b891ddc9c703cb522eea0cf3476614ec753e 100644 (file)
@@ -1,8 +1,24 @@
-namespace factor
-{
+namespace factor {
 
-VM_C_API void init_globals();
-factor_vm *new_factor_vm();
-VM_C_API void start_standalone_factor(int argc, vm_char **argv);
+factor_vm* new_factor_vm();
+VM_C_API void start_standalone_factor(int argc, vm_char** argv);
+
+// image
+bool factor_arg(const vm_char* str, const vm_char* arg, cell* value);
+
+// objects
+cell object_size(cell tagged);
+
+// os-*
+void open_console();
+void close_console();
+void lock_console();
+void unlock_console();
+bool move_file(const vm_char* path1, const vm_char* path2);
+
+void ignore_ctrl_c();
+void handle_ctrl_c();
+
+bool set_memory_locked(cell base, cell size, bool locked);
 
 }