Imported Upstream version 2.7
[ossec-hids.git] / src / headers / read-agents.h
index a0a26c3..a450b72 100755 (executable)
@@ -1,4 +1,5 @@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/headers/read-agents.h, 2011/09/08 dcid Exp $
+ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
@@ -29,7 +30,7 @@ typedef struct _agent_info
 
 
 /* Print syscheck db (of modified files). */
-int print_syscheck(char *sk_name, char *sk_ip, char *fname, int print_registry, 
+int print_syscheck(char *sk_name, char *sk_ip, char *fname, int print_registry,
                    int all_files, int csv_output, int update_counter);
 
 /* Print rootcheck db. */
@@ -51,7 +52,7 @@ char **get_agents(int flag);
 /* Free the agent list */
 void free_agents(char **agent_list);
 
-/** char *print_agent_status(int status) 
+/** char *print_agent_status(int status)
  * Prints the text representation of the agent status.
  */
 char *print_agent_status(int status);
@@ -65,7 +66,7 @@ int get_agent_status(char *agent_name, char *agent_ip);
  * Get information from an agent.
  */
 agent_info *get_agent_info(char *agent_name, char *agent_ip);
-       
+
 
 /** int connect_to_remoted()
  * Connects to remoted to be able to send messages to the agents.
@@ -76,15 +77,15 @@ int connect_to_remoted();
 /** int send_msg_to_agent(int socket, char *msg)
  * Sends a message to an agent.
  * returns -1 on error.
- */ 
+ */
 int send_msg_to_agent(int msocket, char *msg, char *agt_id, char *exec);
-   
+
 
 
 
 #define GA_NOTACTIVE    2
 #define GA_ACTIVE       3
-#define GA_ALL          5    
+#define GA_ALL          5
 #define GA_ALL_WSTATUS  7
 
 /* Status */