1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-09-29 14:20:44 +00:00
falk-werner_webfuse-provider/src/wsfs/status.h

28 lines
405 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
#define WSFS_BAD_FORMAT 4
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
#ifdef __cplusplus
}
#endif
2019-01-27 02:45:03 +00:00
#endif