Code

plugin: Make sdb_plugin_info_t public.
[sysdb.git] / src / frontend / connection-private.h
index 574049e3dde05b42d1dc1e0dd326242d45ff43bc..ae9cbbc91ba0cfa2dd532cb55795de95164a96fe 100644 (file)
@@ -64,6 +64,10 @@ struct sdb_conn {
        uint32_t cmd;
        uint32_t cmd_len;
 
+       /* amount of data to skip, e.g., after receiving invalid commands; if this
+        * is non-zero, the 'skip_len' first bytes of 'buf' are invalid */
+       size_t skip_len;
+
        sdb_strbuf_t *errbuf;
 
        /* user information */