2019-02-25 20:35:38 +00:00
|
|
|
#ifndef WSFS_ADAPTER_STATUS_H
|
|
|
|
#define WSFS_ADAPTER_STATUS_H
|
2019-01-27 02:45:03 +00:00
|
|
|
|
|
|
|
#define WSFS_GOOD 0
|
2019-01-27 11:01:01 +00:00
|
|
|
#define WSFS_BAD 1
|
2019-01-27 02:45:03 +00:00
|
|
|
|
2019-01-27 11:01:01 +00:00
|
|
|
#define WSFS_BAD_NOTIMPLEMENTED 2
|
|
|
|
#define WSFS_BAD_TIMEOUT 3
|
2019-02-09 02:08:02 +00:00
|
|
|
#define WSFS_BAD_BUSY 4
|
|
|
|
#define WSFS_BAD_FORMAT 5
|
2019-01-27 02:45:03 +00:00
|
|
|
|
2019-01-27 11:01:01 +00:00
|
|
|
#define WSFS_BAD_NOENTRY 101
|
|
|
|
#define WSFS_BAD_NOACCESS 102
|
2019-01-27 02:45:03 +00:00
|
|
|
|
|
|
|
typedef int wsfs_status;
|
|
|
|
|
2019-01-30 21:28:50 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-01-29 22:11:46 +00:00
|
|
|
extern int wsfs_status_to_rc(wsfs_status status);
|
2019-01-27 02:45:03 +00:00
|
|
|
|
2019-02-09 11:01:58 +00:00
|
|
|
extern char const * wsfs_status_tostring(wsfs_status status);
|
|
|
|
|
2019-01-30 21:28:50 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2019-01-27 02:45:03 +00:00
|
|
|
#endif
|
|
|
|
|