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.
24 lines
813 B
24 lines
813 B
5 years ago
|
////////////////////////////////////////////////////////////////////////////////
|
||
4 years ago
|
/// \file webfuse/status.h
|
||
5 years ago
|
/// \brief Generic status code.
|
||
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
6 years ago
|
#ifndef WF_STATUS_H
|
||
|
#define WF_STATUS_H
|
||
|
|
||
5 years ago
|
#define WF_GOOD 0 ///< Positive status code.
|
||
|
#define WF_BAD 1 ///< Generic negative status code.
|
||
6 years ago
|
|
||
5 years ago
|
#define WF_BAD_NOTIMPLEMENTED 2 ///< The called function is not implemented (yet).
|
||
|
#define WF_BAD_TIMEOUT 3 ///< A timeout occured.
|
||
|
#define WF_BAD_BUSY 4 ///< Resource is busy, try again later.
|
||
|
#define WF_BAD_FORMAT 5 ///< Invalid format.
|
||
6 years ago
|
|
||
5 years ago
|
#define WF_BAD_NOENTRY 101 ///< Entry not found.
|
||
|
#define WF_BAD_ACCESS_DENIED 102 ///< Access is denied.
|
||
6 years ago
|
|
||
5 years ago
|
/// Status code.
|
||
6 years ago
|
typedef int wf_status;
|
||
|
|
||
|
#endif
|