[Spice-devel] [PATCH spice-server v2 0/3] Separate file statistic management

Frediano Ziglio fziglio at redhat.com
Wed Nov 16 11:35:04 UTC 2016


Separate from reds.c in a separate file.
Do some fixes and add a test.

Changes since v1:
- added test and fixes.

Frediano Ziglio (3):
  Separate code to manage statistic file
  Fix removing a node
  Add a base test for statistic file

 server/Makefile.am            |   2 +
 server/reds-private.h         |  12 +--
 server/reds.c                 | 122 ++------------------------
 server/stat-file.c            | 198 ++++++++++++++++++++++++++++++++++++++++++
 server/stat-file.h            |  43 +++++++++
 server/stat.h                 |   4 +-
 server/tests/Makefile.am      |   1 +
 server/tests/stat-file-test.c |  94 ++++++++++++++++++++
 8 files changed, 349 insertions(+), 127 deletions(-)
 create mode 100644 server/stat-file.c
 create mode 100644 server/stat-file.h
 create mode 100644 server/tests/stat-file-test.c

-- 
2.7.4



More information about the Spice-devel mailing list