Add retcode.h

This commit is contained in:
Ilja Kartašov 2019-06-19 21:03:58 +02:00
parent b90c42182d
commit d72aebcd09
1 changed files with 27 additions and 0 deletions

27
retcode.h Normal file
View File

@ -0,0 +1,27 @@
/******************************************************************************
*
* Copyright (c) 2017-2019 by Löwenware Ltd
* Please, refer LICENSE file for legal information
*
******************************************************************************/
/**
* @file retcode.h
* @author Ilja Kartašov <ik@lowenware.com>
* @brief cStuff return codes
*
* @see https://lowenware.com/
*/
#ifndef CSTUFF_RETCODE_H_CBA3C16B_88D6_49F4_966D_DBDA727583FE
#define CSTUFF_RETCODE_H_CBA3C16B_88D6_49F4_966D_DBDA727583FE
typedef enum {
CSTUFF_MALLOC_ERROR = -2
, CSTUFF_SYSCALL_ERROR = -1
, CSTUFF_SUCCESS = 0
, CSTUFF_IDLE = 1
} CStuffRetcode;
#endif /* !CSTUFF_RETCODE_H */