cat_newsession - create a new session context
#include <cat.h>
cat_session *cat_newsession(void);
Allocates and initializes a new session context and returns it. An I/O
Handler must be installed, using cat_installiohandler(), before any data can be read or written.
NULL
is returned on error. The function will fail only if it is unable to
allocate memory.
cat, cat_installiohandler