diff options
| author | “pengxuanzheng” <[email protected]> | 2022-03-02 10:35:26 +0000 |
|---|---|---|
| committer | “pengxuanzheng” <[email protected]> | 2022-03-02 10:35:26 +0000 |
| commit | d4e8b149c85b7310d3073b3eea2b0d5f90c0c351 (patch) | |
| tree | d35b72f632bb9b0ab0a3c25f43994f08a9a1d991 /src/hos_client.h | |
| parent | e7f4277894c8654e47565f01f22d4ffba3db661e (diff) | |
🐞 fix(TSG-9807): 规范错误信息输出,并增加返回的错误码
Diffstat (limited to 'src/hos_client.h')
| -rw-r--r-- | src/hos_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hos_client.h b/src/hos_client.h index 7e3b048a..4b2c13c3 100644 --- a/src/hos_client.h +++ b/src/hos_client.h @@ -10,6 +10,7 @@ struct hos_instance_s; typedef struct hos_instance_s *hos_instance; #define HOS_CLIENT_OK 0 +#define HOS_IN_CACHE 0xFF /* fd mode */ #define FILE_MODE 0x00 @@ -30,6 +31,7 @@ enum hoserrors HOS_INSTANCE_NOT_INIT = -9, HOS_INSTANCE_NOT_ENABLE = -10, HOS_FD_OVER_POSITION = -11, + HOS_FD_CLOSE_BUT_SEND_FAILED = -12, }; /* s3 的错误码 */ |
