mbox series

[0/4] handlers: add a flag NO_DATA_HANDLER

Message ID 1563204929-2762-1-git-send-email-philippe.reynes@softathome.com
Headers show
Series handlers: add a flag NO_DATA_HANDLER | expand

Message

Philippe REYNES July 15, 2019, 3:35 p.m. UTC
This serie add a flag NO_DATA_HANDLER for handler that
doesn't use a file from the swupdate image. then, it is
used in the code to avoid add a list of exception on some
check on file provided in the swupdate image.

This series in composed of 4 patchs :
- first one add the flag
- second one add this flang on some handler
- third and fourth one use this flag to clean the code


Philippe Reynes (4):
  handlers: add a special handler flag NO_DATA_HANDLER
  handler: ubivol: set flag NO_DATA_HANDLER
  swupdate: check_provided: use flag NO_DATA_HANDLER
  parser: check_missing_hash: use flag NO_DATA_HANDLER

 core/handler.c            | 12 ++++++++++++
 core/parser.c             |  5 ++---
 core/swupdate.c           |  2 +-
 handlers/ubivol_handler.c |  4 ++--
 include/handler.h         |  8 ++++++--
 5 files changed, 23 insertions(+), 8 deletions(-)