diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
| commit | 56187184e11b085b82584d3b088c62f427aae83c (patch) | |
| tree | 8f8387e750a62581966900a42dade265d34c3146 /src/cli/cli.h | |
| parent | d3a0d11f93c1ebe38b4301c9bef952bfd24d01a1 (diff) | |
tagging yhttpd-0.7.1yhttpd-0.7.1
Diffstat (limited to 'src/cli/cli.h')
| -rwxr-xr-x | src/cli/cli.h | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h index 8ec75cb..2c37c17 100755 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -5,11 +5,11 @@ #include <iostream> #include <vector> -#ifndef RUSAGE_SELF -#define RUSAGE_SELF 0 +#ifndef RUSAGE_SELF +#define RUSAGE_SELF 0 #endif -#ifndef RUSAGE_CHILDREN -#define RUSAGE_CHILDREN -1 +#ifndef RUSAGE_CHILDREN +#define RUSAGE_CHILDREN -1 #endif #include "../incl.h" @@ -22,39 +22,32 @@ #include "../thrd/thro.h" #endif -#include "../monitor/dump.h" - using namespace std; -#ifndef NCURSES -class cli : public thro -{ -#else class cli -{ +#ifndef NCURSES +: public thro #endif +{ private: - int parse_input(string s_input); - vector<string> vectorize(string s_param); + int parse_input( string s_input ); public: - cli( ); - ~cli( ); + cli( ); + ~cli( ); #ifdef DEBUG - - void debug_routine(); + void debug_routine(); #endif - void print_rusage(); + void print_rusage(); #ifndef NCURSES - - void start(void* p_void); + void start(void* p_void); #else - - void start(); + void start(); #endif + }; #endif |
