search for: nbdkit_protostrings_h

Displaying 2 results from an estimated 2 matches for "nbdkit_protostrings_h".

2019 Sep 24
0
[PATCH nbdkit 2/4] common/protocol: Remove protostrings.sed, use bash+sed instead.
...PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#ifndef NBDKIT_PROTOSTRINGS_H +#define NBDKIT_PROTOSTRINGS_H + +/* The corresponding functions are generated by + * generate-protostrings.sh from the nbd-protocol.h header file. + */ + +extern const char *name_of_nbd_global_flag (int); +extern const char *name_of_nbd_flag (int); +extern const char *name_of_nbd_opt (int); +exter...
2019 Sep 24
11
[PATCH nbdkit 0/4] common/protocol: Unify public <nbd-protocol.h>
We should have only one NBD protocol file. Let's make nbdkit's version the canonical one, and use it in libnbd. Rich.