eapol/eapol_framework/eapol_symbian/am/include/eap_am_tools_symbian.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: %
    19 * %version: 3.1.2 %
    20 */
    20 */
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #if !defined( _EAP_AM_TOOLS_SYMBIAN_H_ )
    23 #if !defined( _EAP_AM_TOOLS_SYMBIAN_H_ )
    24 #define _EAP_AM_TOOLS_SYMBIAN_H_
    24 #define _EAP_AM_TOOLS_SYMBIAN_H_
    49 , public CTimer
    49 , public CTimer
    50 {
    50 {
    51 private:
    51 private:
    52 
    52 
    53 #if defined(USE_EAP_FILE_TRACE)
    53 #if defined(USE_EAP_FILE_TRACE)
    54 
       
    55 	/// File server used in filetrace.
    54 	/// File server used in filetrace.
    56 	RFs m_Fs;
    55 	RFs m_Fs;
    57 
    56 
    58 	/// File used in filetrace.
    57 	/// File used in filetrace.
    59 	RFile m_LogFile;
    58 	RFile m_LogFile;
    60 
    59 
    61 	/// File name used in filetrace.
    60 	/// File name used in filetrace.
    62 	TBuf<64> m_filename;
    61 	TBuf<64> m_filename;
    63 
       
    64 #endif //#if defined(USE_EAP_FILE_TRACE)
    62 #endif //#if defined(USE_EAP_FILE_TRACE)
    65 
       
    66 	/// Prefix string used in filetrace.
       
    67 	eap_variable_data_c m_prefix_string;
       
    68 
    63 
    69 	u64_t m_start_ticks;
    64 	u64_t m_start_ticks;
    70 
    65 
    71 	bool m_directory_exists;
    66 	bool m_directory_exists;
    72 
    67 
   166 	EAP_FUNC_IMPORT eap_status_e stop_timer_thread();
   161 	EAP_FUNC_IMPORT eap_status_e stop_timer_thread();
   167 
   162 
   168 	EAP_FUNC_IMPORT bool get_is_timer_thread_active();
   163 	EAP_FUNC_IMPORT bool get_is_timer_thread_active();
   169 
   164 
   170 
   165 
   171 	EAP_FUNC_IMPORT eap_status_e set_trace_prefix(
       
   172 		const eap_variable_data_c * const prefix8bit);
       
   173 
       
   174 	EAP_FUNC_IMPORT eap_status_e set_trace_file_name(const eap_variable_data_c * const trace_output_file);
   166 	EAP_FUNC_IMPORT eap_status_e set_trace_file_name(const eap_variable_data_c * const trace_output_file);
   175 
   167 
   176 	EAP_FUNC_IMPORT void set_max_trace_file_size(const u32_t max_trace_file_size);
   168 	EAP_FUNC_IMPORT void set_max_trace_file_size(const u32_t max_trace_file_size);
   177 
   169 
   178 	EAP_FUNC_IMPORT u32_t snprintf(u8_t * const buffer, u32_t buffer_size, eap_format_string format, ...);
   170 	EAP_FUNC_IMPORT u32_t snprintf(u8_t * const buffer, u32_t buffer_size, eap_format_string format, ...);