364 Commits

Author SHA1 Message Date
74e0453c5b
moved core-misc's replaceWord to global (as why2_replace) 2023-04-20 08:59:23 +02:00
876c24e3fb
created WHY2_CONNECT_MESSAGE macro 2023-04-20 08:56:48 +02:00
c85f0d9669
added node value allocation by passed size 2023-04-14 15:30:50 +02:00
189d438a18
created WHY2_LIST_EMPTY macro 2023-04-13 16:44:54 +02:00
ff2ec4078d
implemented why2_list_t in all llist-related functions' declarations 2023-04-13 16:34:52 +02:00
4234bab428
split why2-llist stuff into nodes and list
idk how to describe it
2023-04-13 16:20:02 +02:00
8b328b3e34
created why2_list_t typedef 2023-04-13 16:09:39 +02:00
b4cccf6d45
added list into every llist-related identificator 2023-04-13 16:06:40 +02:00
5d097ed766
added llist header into why2.h 2023-04-13 15:49:15 +02:00
acee29c374
declared why2_remove_back function
removes last element

so this is 1000th commit! Woah... i gone nuts

idk...

860917976483233792
2023-04-12 17:02:34 +02:00
3eaba0e0c4
moved llist_head into 1st parameter 2023-04-12 16:52:43 +02:00
10632e0070
created llist files
it contains basic llist function, stolen from memory.c
2023-04-12 16:50:00 +02:00
87bf911ba2
created WHY2_INVALID_POINTER macro
it is really bik number
2023-04-05 10:15:41 +02:00
ed8b328673
created WHY2_COMMUNICATION_TIME macro 2023-04-01 12:56:14 +02:00
8f6a376a62
removed why2_connection_t
it was useless as hell
2023-04-01 12:43:49 +02:00
1087e40cfc
sending json format in send_to_all 2023-03-25 17:39:52 +01:00
cd5d290a13
added WHY2-prefix at the beginning of chat-flags macros 2023-03-12 15:01:04 +01:00
b8b7b7cdff
renamed header common to flags 2023-03-12 14:59:53 +01:00
edbe07615c
removed includes from common.h 2023-03-12 14:59:07 +01:00
eedea02701
implemented CLEAR_AND_GO_UP in chat stuff 2023-03-12 14:45:58 +01:00
0618de9584
declared why2_listen_server 2023-02-22 12:10:06 +01:00
49978a8a53
changed why2_connection::thread type to UL 2023-02-22 10:33:42 +01:00
2b790a21fe
declared why2_clean_threads 2023-02-22 10:11:36 +01:00
493724626c
created why2_connection_t struct
contains connection and pthread_t
2023-02-22 10:03:49 +01:00
736cd82240
removed why2_register_connection function 2023-02-22 10:01:03 +01:00
97e2d1d097
moved accept-loop to why2_accept_thread 2023-02-21 19:34:40 +01:00
89885de21e
added common todo 2023-02-21 19:29:08 +01:00
f31216f387
added "why2_" at the beginning of chat-misc functions' identificators
i forgor again
2023-02-21 12:33:53 +01:00
36b5ac7cfc
added license to common's top 2023-02-21 12:29:04 +01:00
ea15a24ed3
declared register_connection function 2023-02-21 12:26:27 +01:00
9f2ddb13dd
removed unused includes 2023-02-21 10:56:46 +01:00
22ff5a3e7d
moved server functions into why2-misc 2023-02-21 10:53:09 +01:00
0244536836
added missing license to why2-misc files 2023-02-21 07:59:09 +01:00
7123e88f97
moved send_socket into chat-misc 2023-02-21 07:58:12 +01:00
50a3a934d6
created misc source & header 2023-02-21 07:52:30 +01:00
fe8563ff5e
added pthread to common 2023-02-20 17:00:40 +01:00
01770f1f8d
defined MAX_CONNECTIONS in common 2023-02-09 19:42:38 +01:00
d261038c2c
added core-misc include in common 2023-02-09 18:50:05 +01:00
59b040d26e
declared why2_die 2023-02-09 18:47:42 +01:00
1e12e7a04f
removed SEND_LENGTH define 2023-02-09 18:45:19 +01:00
e859087763
included string in common 2023-02-09 18:27:50 +01:00
db0e862c6d
changed SERVER_PORT TO 1204 2023-02-09 18:23:54 +01:00
233c4641c9
included flags in common 2023-02-09 18:18:44 +01:00
9156d850a9
included stdlib in common 2023-02-09 18:16:05 +01:00
3e41101c85
defined SEND_LENGTH in common 2023-02-09 18:15:01 +01:00
5fb3270877
included memory to common 2023-02-09 18:14:34 +01:00
8d10cef2c0
changed SERVER_PORT to 944 2023-02-09 18:12:23 +01:00
3ac4f94559
added stdio include in common 2023-02-09 17:53:56 +01:00
1147e53f61
defined SERVER_PORT
the port will change
2023-02-09 17:50:34 +01:00
b569e2a279
added some includes into common 2023-02-09 17:47:50 +01:00