00001 #ifndef FEDEV_H 00002 #define FEDEV_H 00003 00004 00005 #ifdef __cplusplus 00006 extern "C" { 00007 #endif 00008 00026 00030 typedef enum 00031 { 00032 FEDEV_RC_OK=0, 00033 FEDEV_RC_FAILURE, 00034 FEDEV_RC_INVALID_PARAM, 00035 FEDEV_RC_DEVICE_UNKNOWN, 00036 FEDEV_RC_QUEUE_FULL, 00037 FEDEV_RC_I_ERROR_000=100, 00038 FEDEV_RC_I_ERROR_001, 00039 FEDEV_RC_I_ERROR_002, 00040 FEDEV_RC_I_ERROR_003, 00041 FEDEV_RC_I_ERROR_004, 00042 FEDEV_RC_I_ERROR_005, 00043 FEDEV_RC_I_ERROR_006, 00044 FEDEV_RC_I_ERROR_007, 00045 FEDEV_RC_I_ERROR_008, 00046 FEDEV_RC_I_ERROR_009, 00047 FEDEV_RC_I_ERROR_010, 00048 FEDEV_RC_I_ERROR_011, 00049 FEDEV_RC_I_ERROR_012, 00050 FEDEV_RC_I_ERROR_013, 00051 FEDEV_RC_I_ERROR_014, 00052 FEDEV_RC_I_ERROR_015, 00053 FEDEV_RC_I_ERROR_016, 00054 FEDEV_RC_I_ERROR_017, 00055 FEDEV_RC_I_ERROR_018, 00056 FEDEV_RC_I_ERROR_019, 00057 FEDEV_RC_MAX = 0xFFFFFFFF 00058 } fedev_completion_e; 00059 00073 int fedev_setDeviceInfoSynch( const char *deviceName, const char *deviceModel, 00074 const char *devManName, char *errMsg, unsigned int errLen ); 00075 00091 int fedev_setDeviceInfo( const char *deviceName, const char *deviceModel, 00092 const char *devManName, char *errMsg, unsigned int errLen ); 00093 00101 int fedev_getDump( char *dumpBuf, int bufLen ); 00102 00120 int fedev_getDeviceInfo( char *deviceName, 00121 char *deviceModel, int deviceModelLen, 00122 char *devManName, int devManNameLen, 00123 char *seName, int seNameLen, 00124 char *errMsg, int errLen ); 00127 #ifdef __cplusplus 00128 } 00129 #endif 00130 00131 #endif 00132