|
@@ -49,6 +49,7 @@ typedef enum {
|
|
|
KTP_STATUS_ERROR = (uint32_t)0x00000001,
|
|
|
KTP_STATUS_INCOMPLETED = (uint32_t)0x00000002,
|
|
|
KTP_STATUS_INTERACTIVE = (uint32_t)0x00000100,
|
|
|
+ KTP_STATUS_TTY = (uint32_t)0x00000200,
|
|
|
KTP_STATUS_DRY_RUN = (uint32_t)0x00010000,
|
|
|
KTP_STATUS_EXIT = (uint32_t)0x80000000,
|
|
|
} ktp_status_e;
|
|
@@ -56,6 +57,7 @@ typedef enum {
|
|
|
#define KTP_STATUS_IS_ERROR(status) (status & KTP_STATUS_ERROR)
|
|
|
#define KTP_STATUS_IS_INCOMPLETED(status) (status & KTP_STATUS_INCOMPLETED)
|
|
|
#define KTP_STATUS_IS_INTERACTIVE(status) (status & KTP_STATUS_INTERACTIVE)
|
|
|
+#define KTP_STATUS_IS_TTY(status) (status & KTP_STATUS_TTY)
|
|
|
#define KTP_STATUS_IS_DRY_RUN(status) (status & KTP_STATUS_DRY_RUN)
|
|
|
#define KTP_STATUS_IS_EXIT(status) (status & KTP_STATUS_EXIT)
|
|
|
|