mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
Add an enum for status code returned by functions
This commit is contained in:
parent
67f5e91a41
commit
f4e6919c58
1 changed files with 11 additions and 0 deletions
|
|
@ -1188,5 +1188,16 @@ typedef struct _LinphoneIntRange {
|
|||
int max; /**< Maximum value */
|
||||
} LinphoneIntRange;
|
||||
|
||||
/**
|
||||
* Status code returned by some functions to
|
||||
* notify whether the execution has been succesfully
|
||||
* done or not.
|
||||
* @ingroup misc
|
||||
*/
|
||||
typedef enum _LinphoneStatus {
|
||||
LinphoneStatusOk = 0, /**< The function has successfully returned. */
|
||||
LinphoneStatusError = -1 /**< An error has occured while executing the function. */
|
||||
} LinphoneStatus;
|
||||
|
||||
|
||||
#endif /* LINPHONE_TYPES_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue