1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/lib/wsfs/status.h

31 lines
502 B
C
Raw Normal View History

2019-01-27 02:45:03 +00:00
#ifndef _WSFS_STATUS_H
#define _WSFS_STATUS_H
#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;
#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
extern char const * wsfs_status_tostring(wsfs_status status);
#ifdef __cplusplus
}
#endif
2019-01-27 02:45:03 +00:00
#endif