Browse Source

Add retcode.h

master
Ilja Kartašov 2 years ago
parent
commit
d72aebcd09
1 changed files with 27 additions and 0 deletions
  1. +27
    -0
      retcode.h

+ 27
- 0
retcode.h 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 */

Loading…
Cancel
Save