X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fheaders%2Fread-agents.h;h=a450b729bd06de1b5b5e78be2902a28e2122ce8f;hp=a0a26c3685477c3535a28e8ac8106743e73fc250;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hpb=301048b51990573e58a30dc4a5bb4ec285cad554 diff --git a/src/headers/read-agents.h b/src/headers/read-agents.h index a0a26c3..a450b72 100755 --- a/src/headers/read-agents.h +++ b/src/headers/read-agents.h @@ -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 */