1
0
Fork 0
mirror of https://github.com/CovidBraceletPrj/CovidBracelet.git synced 2025-07-04 12:26:50 +02:00

Implement error codes and use them throughout ens_fs

This commit is contained in:
H1ghBre4k3r 2021-04-24 16:03:43 +02:00 committed by Patrick Rathje
parent c8607507b7
commit b2d89d5d03
3 changed files with 52 additions and 39 deletions

8
src/ens/ens_error.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef ENS_ERROR_H
#define ENS_ERROR_H
#define ENS_INTERR 1 // internal error
#define ENS_NOENT 2 // entry not found or invalid
#define ENS_INVARG 3 // invalid argument
#endif