|
5c06da2b6d
|
Minor changes
|
2022-11-04 23:15:13 +01:00 |
|
|
ea9b2a28dd
|
Fix wrongly copied condition
|
2022-11-04 23:14:57 +01:00 |
|
|
e6d035909b
|
Fix group creation because array wasn't initialized
|
2022-11-04 23:02:04 +01:00 |
|
|
3045baf45b
|
Add file, line and function information to debug macros
|
2022-11-04 22:21:27 +01:00 |
|
|
2a0050e10e
|
Add base for listing groups. Missing cmd_list_groups content
|
2022-11-04 22:11:40 +01:00 |
|
|
c88899c86c
|
Send message work with client name and not cliend id
|
2022-11-04 22:11:40 +01:00 |
|
|
0b22f643ba
|
Fix cmd_set_group and cmd_set_client because of an inverted condition
|
2022-11-04 22:11:40 +01:00 |
|
|
af90a28632
|
The server send error message to client
|
2022-11-04 22:11:40 +01:00 |
|
|
dc1cb8c1ca
|
Handle errors for mmap
|
2022-11-04 21:51:08 +01:00 |
|
|
cd47cebbfc
|
Fix prompt by sharing prompt between process
|
2022-11-04 20:16:14 +01:00 |
|
|
9405e7bed4
|
Set defines for error, warn, info and debug prints
|
2022-11-04 17:15:41 +01:00 |
|
|
7b99457026
|
Trying to share prompt between all clients process
|
2022-11-04 17:14:22 +01:00 |
|
|
c84c7ab8ae
|
Fix segfault when token is NULL (after a client didn't send all arg for it's command)
|
2022-11-04 16:34:28 +01:00 |
|
|
ca6156b9bc
|
In cmd_set_group, create_group if needed
|
2022-11-04 16:15:46 +01:00 |
|
|
5fbc19ce92
|
Change return value of get_id* functions
|
2022-11-04 16:09:49 +01:00 |
|
|
36aa35b56e
|
Update help
|
2022-11-04 16:02:00 +01:00 |
|
|
9f67cdd290
|
Add cmd_set_group to Dispatcher
|
2022-11-04 16:02:00 +01:00 |
|
|
831d1f93e2
|
Add get_id_from_name and get_group_id_from_name
|
2022-11-04 16:01:32 +01:00 |
|
|
91f7051147
|
Minor change
|
2022-11-04 15:36:51 +01:00 |
|
|
8a4866c008
|
Minor changes
|
2022-11-04 15:30:54 +01:00 |
|
|
ac56a934aa
|
Minor fix
|
2022-11-04 15:16:34 +01:00 |
|
|
affec655bf
|
Minor change
|
2022-11-04 15:12:22 +01:00 |
|
|
f68198cd98
|
Add cmd_set_group (TODO: finish)
|
2022-11-04 15:12:22 +01:00 |
|
|
1cbc81d90b
|
Add create_group
|
2022-11-04 15:12:22 +01:00 |
|
|
b6cf405d51
|
Add working prompt
|
2022-11-04 15:09:28 +01:00 |
|
|
99da0b5e74
|
Fix sprintf in set_name
|
2022-11-04 14:58:13 +01:00 |
|
|
5c44b8d26b
|
Minor changes
|
2022-11-04 13:53:51 +01:00 |
|
|
302e642943
|
Fix interrupt handling, use pthread_kill instead of pthread_cancel
|
2022-11-04 13:16:54 +01:00 |
|
|
1827697916
|
Don't handle SIGCHLD for server + typo
|
2022-11-04 09:55:05 +01:00 |
|
|
d17c68e235
|
Handle clean exit for client
|
2022-11-04 09:53:58 +01:00 |
|
|
9e38feec1e
|
Server: don't call cleanup after loop, main can only quit loop with signal
|
2022-11-04 08:45:29 +01:00 |
|
|
e4bf94b5a2
|
Add prompt v1
|
2022-11-03 16:50:05 +01:00 |
|
|
f649fdaee7
|
Call clean_and_close when handling signal for server
|
2022-11-03 18:46:00 +01:00 |
|
|
b5adf46e29
|
Use sigaction() instead of signal()
|
2022-11-03 18:30:57 +01:00 |
|
|
020ea14d2e
|
Add missing args to clean_and_close function
|
2022-11-03 17:23:53 +01:00 |
|
|
ef12d984f6
|
Add clean_and_close function
|
2022-11-03 15:12:21 +01:00 |
|
|
69b578a382
|
Fix some typos
|
2022-11-03 17:09:36 +01:00 |
|
|
a46d7cf92f
|
Fix parser and typo
|
2022-11-03 14:51:00 +01:00 |
|
|
5c8936c993
|
Fix cmd_get_name response
|
2022-11-03 14:43:08 +01:00 |
|
|
8255c6e313
|
Add cmd_get_name
|
2022-11-03 14:35:03 +01:00 |
|
Tunui Franken
|
2dcb227c48
|
Fix default value of semaphore on sem_open
Defaulted to 0 on Debian, to 1 on Arch
|
2022-11-03 16:06:54 +01:00 |
|
|
ddb457e6c8
|
Don't use cmd_send_message in cmd_hello, let lower level write() call
|
2022-11-03 14:49:14 +01:00 |
|
|
9e0ed6cfeb
|
Add cmd_get_name and typo
|
2022-11-03 10:57:41 +01:00 |
|
|
8eb7c31a58
|
Add pseudo and cmd_set_name
|
2022-11-03 09:43:14 +01:00 |
|
|
c047b33adf
|
Add EOF to messages sent to client
|
2022-11-03 11:37:03 +01:00 |
|
|
497e78f612
|
Use cmd_send_message in cmd_help too
|
2022-11-03 11:25:49 +01:00 |
|
|
87b42e49cd
|
Use cmd_send_message in cmd_list_connected, change display of sender
|
2022-11-03 11:08:37 +01:00 |
|
|
83178396ff
|
Add Rapport
|
2022-11-03 07:46:42 +01:00 |
|
|
5250d3ce34
|
Add TODO note
|
2022-11-01 23:04:23 +01:00 |
|
|
92c88108a8
|
Add comment
|
2022-11-01 22:55:08 +01:00 |
|