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

24 lines
816 B
C
Raw Normal View History

2020-02-17 20:53:42 +00:00
////////////////////////////////////////////////////////////////////////////////
/// \file status.h
/// \brief Generic status code.
////////////////////////////////////////////////////////////////////////////////
#ifndef WFP_STATUS_H
#define WFP_STATUS_H
2019-03-26 22:04:53 +00:00
#define WFP_GOOD 0 ///< Positive status code.
#define WFP_BAD 1 ///< Generic negative status code.
2019-03-26 22:04:53 +00:00
#define WFP_BAD_NOTIMPLEMENTED 2 ///< The called function is not implemented (yet).
#define WFP_BAD_TIMEOUT 3 ///< A timeout occured.
#define WFP_BAD_BUSY 4 ///< Resource is busy, try again later.
#define WFP_BAD_FORMAT 5 ///< Invalid format.
2019-03-26 22:04:53 +00:00
#define WFP_BAD_NOENTRY 101 ///< Entry not found.
#define WFP_BAD_ACCESS_DENIED 102 ///< Access is denied.
2019-03-26 22:04:53 +00:00
2020-02-17 20:53:42 +00:00
/// Status code.
typedef int wfp_status;
2019-03-26 22:04:53 +00:00
#endif