Merge branch 'refs/heads/t/format-signedness'
[paraslash.git] / sideband.h
index 4f4ed0ac219d826e6d76aa0fded9a9fa13dd57c0..c9b698f978634858ae3ff8c95150975677be35ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2012 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
        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 +118,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 \