-/* @(#) $Id$ */
+/* @(#) $Id: ./src/headers/read-agents.h, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
/* 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. */
/* 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);
* 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.
/** 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 */