"Fossies" - the Fresh Open Source Software Archive

Member "xstress/include/userinterface.h" (19 Feb 2009, 820 Bytes) of package /linux/privat/old/xstress-src-0.375-beta-20090219.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "userinterface.h" see the Fossies "Dox" file reference documentation.

    1 
    2 /*
    3  * xstress - xk0derz SMTP Stress Tester
    4  *
    5  * (c) Amit Singh amit@xkoder.com
    6  * http://xkoder.com
    7  *
    8  * This software and related files are licensed under GNU GPL version 2
    9  * Please visit the following webpage for more details
   10  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
   11  */
   12 
   13 #ifndef __USERINTERFACE_H__
   14 #define __USERINTERFACE_H__
   15 
   16 #include "config.h"
   17 
   18 using namespace std;
   19 
   20 class UserInterface
   21 {
   22    unsigned int uiOverride;
   23    public:
   24    string sConfigFile;
   25    
   26    int uiServerPort;
   27    string sServerIP;
   28    string sLogFile;
   29    int uiThreads;
   30    int uiMailsPerThread;
   31    int uiTimeout;
   32 
   33    string sUsername;
   34    string sPassword;
   35    string sAuthType;
   36 
   37    UserInterface();
   38    int processOptions(int argc, const char *argv[]);
   39    unsigned int override();
   40    void setConfig(Config &configObj);
   41 };
   42 
   43 #endif