/* @(#) $Id: rc.h,v 1.6 2007/01/04 19:15:59 dcid Exp $ */ /* Copyright (C) 2004,2005 Daniel B. Cid * All right 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 2) as published by the FSF - Free Software * Foundation */ /* Remote Control shared headers */ #ifndef __RC_H #define __RC_H /* Global headers */ #define CONTROL_HEADER "#!-" #define IsValidHeader(str) ((str[0] == '#') && \ (str[1] == '!') && \ (str[2] == '-') && \ (str+=3) ) /* Exec message */ #define EXECD_HEADER "execd " /* File update message */ #define FILE_UPDATE_HEADER "up file " /* File closing message */ #define FILE_CLOSE_HEADER "close file " /* Agent startup */ #define HC_STARTUP "agent startup " /* Agent startup ack */ #define HC_ACK "agent ack " /* Syscheck database completed */ #define HC_SK_DB_COMPLETED "syscheck-db-completed" #endif /* EOF */