index: bulk delete

This commit is contained in:
Yatao Li
2022-01-20 03:08:13 +08:00
parent 679e12f786
commit 2cb57f3634
3 changed files with 52 additions and 25 deletions

View File

@@ -3,9 +3,13 @@
#include "src/sist.h"
#define ES_BULK_LINE_INDEX 0
#define ES_BULK_LINE_DELETE 1
typedef struct es_bulk_line {
struct es_bulk_line *next;
char path_md5_str[MD5_STR_LENGTH];
int type;
char line[0];
} es_bulk_line_t;