-/* @(#) $Id: agentlessd.h,v 1.2 2009/06/24 17:06:21 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 _AGENTLESSD_H
#define _AGENTLESSD_H
#include "config/agentlessd-config.h"
#ifndef ARGV0
- #define ARGV0 "ossec-agentlessd"
+#define ARGV0 "ossec-agentlessd"
#endif
-
-
/** Prototypes **/
/* Main monitord */
-void Agentlessd();
-
+void Agentlessd(void) __attribute__((noreturn));
-agentlessd_config lessdc;
+/* Global variables */
+extern agentlessd_config lessdc;
#endif
+