-/* @(#) $Id: agent_op.h,v 1.3 2009/06/24 17:06:26 dcid Exp $ */
+/* @(#) $Id: ./src/headers/agent_op.h, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation
*/
#ifndef __AGENT_OP_H
-#define __AGENT_OP_H
+#define __AGENT_OP_H
*/
char *os_read_agent_id();
+/* cmoraes: added */
+
+/** char *os_read_agent_profile()
+ * Reads the agent profile name for the current agent.
+ * Returns NULL on error.
+ */
+char *os_read_agent_profile();
+
/** int os_write_agent_info(char *agent_name, char *agent_ip, char *agent_id)
* Writes the agent info inside the queue, for the other processes to read.
* Returns 1 on success or <= 0 on failure.
*/
-int os_write_agent_info(char *agent_name, char *agent_ip, char *agent_id);
+int os_write_agent_info(char *agent_name, char *agent_ip, char *agent_id,
+ char *cfg_profile_name); /*cmoraes*/
int os_agent_config_changed();