test: Close both client and server fds for each thread
test: Add tests for wre get and set value functions

Signed-off-by: William Douglas <william.douglas@intel.com>
db: cast size_t to int for db field lengths

Since we have hard limits to the length of our fields that is less
than the length of ints, we can safely make this cast.

Signed-off-by: William Douglas <william.douglas@intel.com>
shared: cast int to an int after strtol

Signed-off-by: William Douglas <william.douglas@intel.com>
shared: handle read failures from client and server sockets

Signed-off-by: William Douglas <william.douglas@intel.com>
Add -Wconversion to AM_CFLAGS

And then fix up various conversion warnings in buxton. Still leftover
warnings for hashmap, dictionary and iniparser but ignoring those for
now.

Signed-off-by: William Douglas <william.douglas@intel.com>
shared: Use size_t instead of int for param count

Signed-off-by: William Douglas <william.douglas@intel.com>
shared: Fix build error introduced during rebase

Signed-off-by: William Douglas <william.douglas@intel.com>
shared: Use size_t for count to match function return

Signed-off-by: William Douglas <william.douglas@intel.com>
shared: Remove notification of clients

Not quite ready yet, we weren't using the correct parameter to call
this function and we need to decide how to get the key being used to
do the lookup for what clients to notify.

Signed-off-by: William Douglas <william.douglas@intel.com>
shared: Correct lists being used in notifications

Notification functions should be iterating over notification lists
instead of client lists (and should just be referencing the client in
the notification list item). We'll need to add ways to cleanup defunct
clients from the notification list.

Probably best to have an added feature in the poll loop that will have
a list of keys that have been updated or a boolean that a key was set
so we'll know to purge our defunct client list and then send out
notifications.

Signed-off-by: William Douglas <william.douglas@intel.com>