forked from 4coder-archive/4coder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path4ed_cli.h
More file actions
41 lines (33 loc) · 657 Bytes
/
4ed_cli.h
File metadata and controls
41 lines (33 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Mr. 4th Dimention - Allen Webster
*
* 24.03.2018
*
* CLI handling code.
*
*/
// TOP
#if !defined(FRED_CLI_H)
#define FRED_CLI_H
struct Child_Process{
Node node;
Child_Process_ID id;
CLI_Handles cli;
Editing_File *out_file;
b32 cursor_at_end;
};
struct Child_Process_Container{
Arena arena;
Node child_process_active_list;
Node child_process_free_list;
i32 active_child_process_count;
u32 child_process_id_counter;
Table_u64_u64 id_to_ptr_table;
Table_u64_u64 id_to_return_code_table;
};
struct Child_Process_And_ID{
Child_Process *process;
Child_Process_ID id;
};
#endif
// BOTTOM