Main Page | Data Structures | File List | Data Fields | Globals

others.h File Reference

Go to the source code of this file.

Functions

int skip_lines ()
 Skips lines in a string.
void find_data_for ()
 Parser function.
char * trim ()
 delete blanks at the begining of string
char * rtrim ()
 delete blanks at the end of string
void lkmonitor_exit ()
 performs collector cancellation
void set_tooltiptext ()


Function Documentation

void find_data_for  ) 
 

Parser function.

Referenced by get_cpu_info(), and get_mem_info().

void lkmonitor_exit  ) 
 

performs collector cancellation

Stops collector thread and runs outside event loop

Definition at line 132 of file others.c.

References thread_id.

Referenced by on_fixed1_destroy(), on_quit1_activate(), and on_window1_destroy().

00133 {
00134         if(pthread_cancel(thread_id)!=0)
00135           g_warning("Can't cancel collector thread!");
00136         
00137         gtk_main_quit();
00138 }

char* rtrim  ) 
 

delete blanks at the end of string

Referenced by find_data_for().

void set_tooltiptext  ) 
 

int skip_lines  ) 
 

Skips lines in a string.

char* trim  ) 
 

delete blanks at the begining of string


Generated on Wed Feb 15 11:24:02 2006 for lkmonitor by  doxygen 1.3.9.1