Age | Commit message (Collapse) | Author |
|
Create a new file for utility functions, including those that strip
whitespace from and break apart strings.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a function that returns the number of current sessions.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Return the number of bytes written to a session socket handle or -1 on
error.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a flag to struct session that indicates whether or not the
underlying socket is still open.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a basic container_of macro to list.h. This is primarily for systems
in which container_of has no definition.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a main header and source file so that every required header is
checked against the config.h generated by autoconf.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add functions to initialize and control individual sessions.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a file to the server-side for commonly used macros.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a linked list implementation for generic use.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add functions that initialize and control the server listening socket.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a close function to close the file handle pointing at the log file.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a logging framework so the server can output to a single point.
Signed-off-by: Danny Holman <dholman@gymli.org>
|