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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]