1 /***** 2 * 3 * Copyright (C) 2009-2015 CS-SI. All Rights Reserved. 4 * Author: Yoann Vandoorselaere <yoannv@gmail.com> 5 * 6 * This file is part of the Prelude library. 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2, or (at your option) 11 * any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License along 19 * with this program; if not, write to the Free Software Foundation, Inc., 20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 21 * 22 *****/ 23 24 #ifndef _LIBPRELUDE_PRELUDE_CLIENT_EASY_HXX 25 #define _LIBPRELUDE_PRELUDE_CLIENT_EASY_HXX 26 27 #include "prelude.h" 28 #include "idmef.hxx" 29 #include "prelude-client.hxx" 30 31 32 namespace Prelude { 33 class ClientEasy : public Client { 34 private: 35 void setup_analyzer(idmef_analyzer *analyzer, 36 const char *_model, 37 const char *_class, 38 const char *_manufacturer, 39 const char *version); 40 41 public: 42 ClientEasy(const char *profile, 43 int permission = Client::IDMEF_WRITE, 44 const char *model = "Unknown model", 45 const char *classname = "Unknown class", 46 const char *manufacturer = "Unknown manufacturer", 47 const char *version = "Unknown version"); 48 }; 49 }; 50 51 #endif 52