From c5b24f9936eeac2cc8beb01b55f9d6d2173cff9c Mon Sep 17 00:00:00 2001
From: Erik Alexandre Pucci <eap08@c3sl.ufpr.br>
Date: Thu, 25 Feb 2010 11:07:10 -0300
Subject: [PATCH] client.h: Added INVENTORYOPTION define

The INVENTORYOPTION define will be used to check if the client was called
with the inventory option. If that is true, then the client will only send
the XML data, returning appropriate messages, and nothing more. Without this
option, the client will not send the XML data.

Signed-off-by: Erik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: Diego Giovane Pasqualin <dgp06@c3sl.ufpr.br>
Acked-by: Josiney de Souza <josineys@c3sl.ufpr.br>
Acked-by: Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
Signed-off-by: Danilo K. S. Yorinori <danilok@c3sl.ufpr.br>
---
 src/client.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/client.h b/src/client.h
index b71079a..a42d2c6 100644
--- a/src/client.h
+++ b/src/client.h
@@ -32,6 +32,7 @@
 #define VERSIONFILE "conf/version"
 #define COLLECTDATAFILE "../data/collect-data.xml"
 #define UPDATEOPTION "--update"
+#define INVENTORYOPTION "--inventory"
 #define DEBUG 0
 
 /* Statics strings */
-- 
GitLab