utility.h

説明を見る。
00001 #ifndef VSF_UTILITY_H
00002 #define VSF_UTILITY_H
00003 
00004 struct mystr;
00005 
00006 /* die()
00007  * PURPOSE
00008  * Terminate execution of the process, due to an abnormal (but non-bug)
00009  * situation.
00010  * PARAMETERS
00011  * p_text       - text string describing why the process is exiting
00012  */
00013 void die(const char* p_text);
00014 
00015 /* die2()
00016  * PURPOSE
00017  * Terminate execution of the process, due to an abnormal (but non-bug)
00018  * situation.
00019  * PARAMETERS
00020  * p_text1      - text string describing why the process is exiting
00021  * p_text2      - text to safely concatenate to p_text1
00022  */
00023 void die2(const char* p_text1, const char* p_text2);
00024 
00025 /* bug()
00026  * PURPOSE
00027  * Terminate execution of the process, due to a suspected bug, trying to emit
00028  * the reason this happened down the network in FTP response format.
00029  * PARAMETERS
00030  * p_text       - text string describing what bug trap has triggered
00031  *       */
00032 void bug(const char* p_text);
00033 
00034 /* vsf_exit()
00035  * PURPOSE
00036  * Terminate execution of the process, writing out the specified text string
00037  * in the process.
00038  * PARAMETERS
00039  * p_text       - text string describing why the process is exiting
00040  */
00041 void vsf_exit(const char* p_text);
00042 
00043 #endif
00044 

Sat Aug 1 13:42:12 2009に生成されました。  doxygen 1.4.7