projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: Do not decode the pressed key multiple times.
[paraslash.git]
/
sideband.h
diff --git
a/sideband.h
b/sideband.h
index 4f4ed0ac219d826e6d76aa0fded9a9fa13dd57c0..6973b845e01527d609bd0ce3b3eac9336e4398ba 100644
(file)
--- a/
sideband.h
+++ b/
sideband.h
@@
-1,8
+1,4
@@
-/*
- * Copyright (C) 2012 Andre Noll <maan@systemlinux.org>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* Copyright (C) 2012 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
/** \file sideband.h exported symbols from sideband.c */
/** \file sideband.h exported symbols from sideband.c */
@@
-58,6
+54,10
@@
DESIGNATOR(EXIT__SUCCESS), \
/* Command failed. */ \
DESIGNATOR(EXIT__FAILURE), \
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
/** Just prefix with \p SBD_. */
#define DESIGNATOR(x) SBD_ ## x
@@
-97,7
+97,7
@@
struct sb_context;
/**
* The type of a sideband transformation.
*
/**
* The type of a sideband transformation.
*
- * The sideband API allows t
o filter all
data through an arbitrary
+ * The sideband API allows t
he filtering of
data through an arbitrary
* transformation, which is useful for crypto purposes. The transformation may
* either transform the data in place, or return a pointer to a new buffer
* which contains the transformed source buffer. The internal sideband
* transformation, which is useful for crypto purposes. The transformation may
* either transform the data in place, or return a pointer to a new buffer
* which contains the transformed source buffer. The internal sideband
@@
-114,7
+114,7
@@
typedef void (*sb_transformation)(struct iovec *src, struct iovec *dst,
/** Initialize a sideband buffer. */
#define SBB_INIT(_band, _buf, _numbytes) \
{ \
/** Initialize a sideband buffer. */
#define SBB_INIT(_band, _buf, _numbytes) \
{ \
- .band = band, \
+ .band =
_
band, \
.iov = { \
.iov_base = _buf, \
.iov_len = _numbytes \
.iov = { \
.iov_base = _buf, \
.iov_len = _numbytes \