diff options
author | Silvino <silvino@bk.ru> | 2019-06-28 03:58:25 +0100 |
---|---|---|
committer | Silvino <silvino@bk.ru> | 2019-06-28 03:58:25 +0100 |
commit | bb4fd340e7a1faffc363c6baa2f67e84b3a34f0c (patch) | |
tree | b8e4bed0ede5b48bf26b920949e83e36c1fe431c /dev/c/src/basic/basic.h | |
parent | 296be79a3b724db67a37244a67cfb3e4ef6b652f (diff) | |
parent | fe94262de38aafc839963ced9b82ee45d81b65f5 (diff) | |
download | doc-bb4fd340e7a1faffc363c6baa2f67e84b3a34f0c.tar.gz |
doc release 0.5.4
Diffstat (limited to 'dev/c/src/basic/basic.h')
-rw-r--r-- | dev/c/src/basic/basic.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev/c/src/basic/basic.h b/dev/c/src/basic/basic.h new file mode 100644 index 0000000..6eef13f --- /dev/null +++ b/dev/c/src/basic/basic.h @@ -0,0 +1,27 @@ +enum operations{deposit, redraw} + +union u_account { + int id; + int value; + char *client_name; + int *log_head; + union u_account *next; +} + +struct s_accounts { + int total_accounts; + int total_value; + union u_account *head_account; +} + +struct s_operation { + int time, amount; + enum operations op; + struct s_operation *next; +} + +struct s_log { + int number; + struct s_operation *operation; + struct s_log *next; +} |