summaryrefslogtreecommitdiff
path: root/src/assuan-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-defs.h')
-rw-r--r--src/assuan-defs.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/assuan-defs.h b/src/assuan-defs.h
index 1d1617f..b9a0e8b 100644
--- a/src/assuan-defs.h
+++ b/src/assuan-defs.h
@@ -96,8 +96,13 @@ struct assuan_context_s
unsigned int convey_comments : 1;
unsigned int no_logging : 1;
unsigned int force_close : 1;
- /* From here, it's internal flag. */
+ /* From here, we have internal flags, not defined by assuan_flag_t. */
unsigned int is_socket : 1;
+ unsigned int is_server : 1; /* Set if this is context belongs to a server */
+ unsigned int in_inquire : 1;
+ unsigned int in_process_next : 1;
+ unsigned int process_complete : 1;
+ unsigned int in_command : 1;
} flags;
/* If set, this is called right before logging an I/O line. */
@@ -136,12 +141,6 @@ struct assuan_context_s
gpg_error_t err_no;
const char *err_str;
- int is_server; /* Set if this is context belongs to a server */
- int in_inquire;
- int in_process_next;
- int process_complete;
- int in_command;
-
/* The following members are used by assuan_inquire_ext. */
gpg_error_t (*inquire_cb) (void *cb_data, gpg_error_t rc,
unsigned char *buf, size_t len);