X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sideband.h;h=20e195b364b3d8bffcce3df4cd2c48f9e6afe4a8;hp=4f4ed0ac219d826e6d76aa0fded9a9fa13dd57c0;hb=d87806284b9f6be9aab71ccbf0280d273b57eeb3;hpb=1745a87654ce08b57c46ce0870d8571eacbe27c9 diff --git a/sideband.h b/sideband.h index 4f4ed0ac..20e195b3 100644 --- a/sideband.h +++ b/sideband.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Andre Noll + * Copyright (C) 2012-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -58,6 +58,8 @@ DESIGNATOR(EXIT__SUCCESS), \ /* Command failed. */ \ DESIGNATOR(EXIT__FAILURE), \ + /* The next chunk of the blob (addblob commands only) */ \ + DESIGNATOR(BLOB_DATA), \ /** Just prefix with \p SBD_. */ #define DESIGNATOR(x) SBD_ ## x @@ -114,7 +116,7 @@ typedef void (*sb_transformation)(struct iovec *src, struct iovec *dst, /** Initialize a sideband buffer. */ #define SBB_INIT(_band, _buf, _numbytes) \ { \ - .band = band, \ + .band = _band, \ .iov = { \ .iov_base = _buf, \ .iov_len = _numbytes \