X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sideband.h;h=3023c7b6aee8c60a365362cc5083e703d3e3e187;hp=4f4ed0ac219d826e6d76aa0fded9a9fa13dd57c0;hb=7f08e8b0eb9570f1eb787dbb4e10d56585b36bbf;hpb=02dd632ab2a6696aff7b6c6d108069704cfe871a diff --git a/sideband.h b/sideband.h index 4f4ed0ac..3023c7b6 100644 --- a/sideband.h +++ b/sideband.h @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2012 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2012 Andre Noll , see file COPYING. */ /** \file sideband.h exported symbols from sideband.c */ @@ -58,6 +54,10 @@ DESIGNATOR(EXIT__SUCCESS), \ /* Command failed. */ \ DESIGNATOR(EXIT__FAILURE), \ + /* The next chunk of the blob (addblob commands only) */ \ + DESIGNATOR(BLOB_DATA), \ + /* An afs callback failed. */ \ + DESIGNATOR(AFS_CB_FAILURE), \ /** Just prefix with \p SBD_. */ #define DESIGNATOR(x) SBD_ ## x @@ -114,7 +114,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 \