Commit Graph

53 Commits

Author SHA1 Message Date
0c0ce8def2 No need for those comments anymore. 2017-10-31 16:54:51 +01:00
78a7daf984 Uncomment import/export functions. 2017-10-30 16:45:22 +01:00
71edd76b60 Added to TODO 2017-09-29 10:43:41 +02:00
5c3e6889de Added more return statements to commented out code. 2017-09-29 10:38:30 +02:00
ca0a691020 Inline the free function. 2017-09-29 10:33:39 +02:00
0278d786a9 Gets the hash of the sender. 2017-09-28 18:07:26 +02:00
59d59549e1 Check status of sent messages. 2017-09-25 17:19:16 +02:00
763277dd9b Fixed spacing. 2017-09-25 16:53:41 +02:00
a827b11d86 Error handling only needs last error. 2017-09-25 15:59:23 +02:00
59c97c8bb8 Send message made. 2017-09-25 13:01:51 +02:00
18ca002ef6 Catch errors. 2017-09-25 13:01:13 +02:00
b4544a79fe Use standard map. 2017-09-25 12:21:32 +02:00
bcb01f256d Created message handling functions. 2017-09-23 11:30:02 +02:00
d5a33ccd79 Switch to use const 2017-09-23 11:29:48 +02:00
43772c6181 On run function if node is running. 2017-09-21 10:28:11 +02:00
1b24fb56b4 Include all new messages, including own.
Messages sent from one's own node can be used as confirmation of the
send.
2017-09-21 10:13:03 +02:00
0df937d3fd Should now be able to join channels. 2017-09-21 09:14:31 +02:00
7d6cda8d1b Creating new channel file. 2017-09-20 21:02:25 +02:00
9eee5b7ea5 Moved node to global variable. 2017-09-20 21:02:04 +02:00
3eb8a5e887 Connect may give error. 2017-09-20 21:01:07 +02:00
0337991c0b Channel functionality will be added in the alpha 2017-09-20 15:14:28 +02:00
d706702a4e Some commented out functions to enable later.
The next release of OpenDHT should contain the fixes for this.
2017-09-20 10:54:33 +02:00
5ab7a7bb5b Minor optimization. 2017-09-20 10:54:13 +02:00
47271ae5ff Added error handling. 2017-09-20 08:34:52 +02:00
f1657f1ffd Starting new with C interface. 2017-09-18 10:30:18 +02:00
4b562c3aa7 Remove old files.
Gonna make this library in a C compatible way.
2017-09-18 10:08:36 +02:00
83ed9b2a86 Implemented first connect function. 2017-08-23 15:12:04 -05:00
6a2798d0c4 Adding new files. 2017-08-18 17:00:58 -05:00
48e9006220 Beginning migration. 2017-08-12 13:59:18 -05:00
e4de99086a Implemented node removal function. 2017-08-05 17:28:31 -05:00
5a53d3681d Fixing thread cancellation. 2017-08-05 16:38:24 -05:00
e82514a56a Minor fixes with list. 2017-08-05 16:29:45 -05:00
afe5f6ae4e Adding implementation for adding new node. 2017-08-05 15:41:01 -05:00
03156e45de Remove old interfaces 2017-08-05 15:14:37 -05:00
874a33b687 Added new interfaces.
- Resize directory list
 - Get size of the directory
 - Get the number of nodes in directory
 - Fixed bug in shutdown allowing to start back up
2017-08-01 16:42:30 -05:00
84ba3aa83c Check if already started. 2017-08-01 14:52:57 -05:00
7222ad3e2a Reorganization of interfaces. 2017-07-31 14:19:15 -05:00
d0a673d767 Using switch-case instead of if statements. 2017-07-26 15:36:45 -05:00
b1004f5617 Implemented error handling for `bind()' 2017-07-24 16:25:15 -05:00
2dcdf5b74e No need to save the state of errno
We don't have any library calls afterwards, so it's fine.
2017-07-24 16:14:47 -05:00
6cc7de6383 Added connection class with basic binding
There's no listening yet, and still a bunch of different errors to
handle.
2017-07-23 23:19:20 -05:00
9568de6710 Fixed issue with compiler error. 2017-07-19 12:02:49 -05:00
f70c9943c8 Added error handling functionality. 2017-07-19 11:57:41 -05:00
7aed5f8124 Move files to a `neocomm/' directory. 2017-07-17 11:23:23 -05:00
0ee5cb8793 Fixed a few mistakes. 2017-07-13 21:56:19 +02:00
655350bf25 Wrong check 2017-07-13 02:00:55 +02:00
b375439f2a Added documentation. 2017-07-11 19:18:45 +02:00
12abd12936 Added asserts. 2017-07-03 18:50:46 +02:00
0db8eb82e9 New shutdown function. 2017-07-02 17:13:59 +02:00
a393cb8b4e Moving node list into global scope. 2017-07-02 13:38:20 +02:00