#ifndef _DS_ERR_H_ #define _DS_ERR_H_ /* error code definition */ #define DS_ERR_OK 0 #define DS_ERR_MEM -1 #define DS_ERR_EMPTY -2 #define DS_ERR_TARGET_NOT_FOUND -3 #define DS_ERR_PARAMS -4 #define DS_ERR_TARGET_EXISTS -5 #endif