Commit Graph

19 Commits

Author SHA1 Message Date
Nicolás A. Ortega
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
Nicolás A. Ortega
84ba3aa83c
Check if already started. 2017-08-01 14:52:57 -05:00
Nicolás A. Ortega
7222ad3e2a
Reorganization of interfaces. 2017-07-31 14:19:15 -05:00
Nicolás A. Ortega
d0a673d767
Using switch-case instead of if statements. 2017-07-26 15:36:45 -05:00
Nicolás A. Ortega
b1004f5617
Implemented error handling for `bind()' 2017-07-24 16:25:15 -05:00
Nicolás A. Ortega
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
Nicolás A. Ortega
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
Nicolás A. Ortega
9568de6710
Fixed issue with compiler error. 2017-07-19 12:02:49 -05:00
Nicolás A. Ortega
f70c9943c8
Added error handling functionality. 2017-07-19 11:57:41 -05:00
Nicolás A. Ortega
7aed5f8124
Move files to a `neocomm/' directory. 2017-07-17 11:23:23 -05:00
Nicolás A. Ortega
0ee5cb8793
Fixed a few mistakes. 2017-07-13 21:56:19 +02:00
Nicolás A. Ortega
655350bf25
Wrong check 2017-07-13 02:00:55 +02:00
Nicolás A. Ortega
b375439f2a
Added documentation. 2017-07-11 19:18:45 +02:00
Nicolás A. Ortega
12abd12936
Added asserts. 2017-07-03 18:50:46 +02:00
Nicolás A. Ortega
0db8eb82e9
New shutdown function. 2017-07-02 17:13:59 +02:00
Nicolás A. Ortega
a393cb8b4e
Moving node list into global scope. 2017-07-02 13:38:20 +02:00
Nicolás A. Ortega
cafe6a7243
Adding a node returns a pointer to the new node.
This should help to edit aspects of it, such as whether or not it is a
directory and such.
2017-07-02 13:06:36 +02:00
Nicolás A. Ortega
da483c5ba4
Added new interfaces.
I also optimized the node list a bit so as not to use more processing
power than necessary.
2017-07-02 12:09:49 +02:00
Nicolás A. Ortega
4f66f0cc96
Started adding node functionality. 2017-07-01 18:46:22 +02:00