diff options
author | Silvino <silvino@bk.ru> | 2019-06-26 16:58:13 +0100 |
---|---|---|
committer | Silvino <silvino@bk.ru> | 2019-06-26 16:59:06 +0100 |
commit | 2830b5fb96cce787ca8c7562a968effc3e57bdb1 (patch) | |
tree | d8f3c09d0b52806ecc97e447655eb99f17a126e8 /dev/c/src/basic/basic.h | |
parent | 0e5a601a31840e1531f3f90ca447bf3b1e766d73 (diff) | |
download | doc-2830b5fb96cce787ca8c7562a968effc3e57bdb1.tar.gz |
dev index re-organization
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; +} |