X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=blob.c;h=a5ea93aa9ffbb29fe6171bcf7dc28649ec081e3f;hp=3539453ec0e5a174e0e962ae3b84946e4f837f25;hb=045273c289eb3d972eea99df99967f680b06940f;hpb=02d818d9e4d816d6decb319b522f0074038e68e2 diff --git a/blob.c b/blob.c index 3539453e..a5ea93aa 100644 --- a/blob.c +++ b/blob.c @@ -54,7 +54,9 @@ enum blob_ls_flags { /** Structure passed to the \p print_blob function. */ struct lsblob_action_data { + /* The flags given at the command line. */ uint32_t flags; + /** Message buffer. */ struct para_buffer pb; }; @@ -205,8 +207,11 @@ static int com_catblob(callback_function *f, int fd, int argc, return ret; } +/** Used for removing rows from a blob table. */ struct rmblob_data { + /** Message buffer. */ struct para_buffer pb; + /** Number of removed blobs. */ unsigned num_removed; }; @@ -534,6 +539,7 @@ static int blob_open(struct osl_table **table, t->close = table_name ## _close; \ t->create = table_name ## _create;\ t->event_handler = table_name ##_event_handler; \ + table_name ## _table = NULL; \ }