You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
502 B
31 lines
502 B
6 years ago
|
#ifndef _WSFS_STATUS_H
|
||
|
#define _WSFS_STATUS_H
|
||
|
|
||
|
#define WSFS_GOOD 0
|
||
6 years ago
|
#define WSFS_BAD 1
|
||
6 years ago
|
|
||
6 years ago
|
#define WSFS_BAD_NOTIMPLEMENTED 2
|
||
|
#define WSFS_BAD_TIMEOUT 3
|
||
6 years ago
|
#define WSFS_BAD_BUSY 4
|
||
|
#define WSFS_BAD_FORMAT 5
|
||
6 years ago
|
|
||
6 years ago
|
#define WSFS_BAD_NOENTRY 101
|
||
|
#define WSFS_BAD_NOACCESS 102
|
||
6 years ago
|
|
||
|
typedef int wsfs_status;
|
||
|
|
||
6 years ago
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
6 years ago
|
extern int wsfs_status_to_rc(wsfs_status status);
|
||
6 years ago
|
|
||
6 years ago
|
extern char const * wsfs_status_tostring(wsfs_status status);
|
||
|
|
||
6 years ago
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
6 years ago
|
#endif
|
||
|
|