Code

sysdb: Use the asynchronous readline interface; handle asynch server replies.
[sysdb.git] / src / tools / sysdb / input.h
index ef60bf4d22fa47c0f800c60d4c7da9e192daf02a..80f1bb5aeb669b6085c0b33c5c3daf65df6426f1 100644 (file)
@@ -37,9 +37,11 @@ typedef struct {
        sdb_strbuf_t *input;
        size_t tokenizer_pos;
        size_t query_len;
+
+       _Bool eof;
 } sdb_input_t;
 
-#define SDB_INPUT_INIT { NULL, NULL, 0, 0 }
+#define SDB_INPUT_INIT { NULL, NULL, 0, 0, 0 }
 
 /*
  * sysdb_input: