diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
| commit | 5b7605790328c6c0f473296df444d0f4a79ac779 (patch) | |
| tree | 48b545ac0295c69fb02247d4ad780be311642462 /src/chat/sman.h | |
| parent | d3982ec72b255876db00825605d1d5aae0bc313e (diff) | |
tagging ychat-0.7.6ychat-0.7.6
Diffstat (limited to 'src/chat/sman.h')
| -rwxr-xr-x | src/chat/sman.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/chat/sman.h b/src/chat/sman.h index 992fc64..ad00339 100755 --- a/src/chat/sman.h +++ b/src/chat/sman.h @@ -13,27 +13,24 @@ using namespace std; class sman : private shashmap<sess*> { private: - string generate_id( int i_len ); - int i_session_count; + string generate_id( int i_len ); + int i_session_count; - pthread_mutex_t mut_i_session_count; + pthread_mutex_t mut_i_session_count; #ifdef NCURSES - - void print_sessions(); + void print_sessions(); #endif public: - sman(); - ~sman(); - sess *get_session( string s_tmpid ); - int get_session_count( ); - sess *create_session( ); - void destroy_session( string s_tmpid ); + sman(); + ~sman(); + sess *get_session( string s_tmpid ); + int get_session_count( ); + sess *create_session( ); + void destroy_session( string s_tmpid ); #ifdef NCURSES - - void print_init_ncurses(); + void print_init_ncurses(); #endif - }; |
