Qemu-devel Digest, Vol 120, Issue 943
Sent from Samsung tablet
-------- Original message --------
From: [email protected]
Date: 28/03/2013 2:39 PM (GMT+03:00)
To: [email protected]
Subject: Qemu-devel Digest, Vol 120, Issue 943
Send Qemu-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/qemu-devel
or, via email, send a message with subject or body 'help' to [email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of Qemu-devel digest..."
Today's Topics:
1. [PATCH v5 6/8] ASN.1 input visitor (Stefan Berger)
----------------------------------------------------------------------
Message: 1
Date: Thu, 28 Mar 2013 07:38:17 -0400
From: Stefan Berger <[email protected]>
To: [email protected], [email protected], [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: [Qemu-devel] [PATCH v5 6/8] ASN.1 input visitor Message-ID:
<[email protected]>
Implement an input visitor for ASN.1 BER and CER encoding.
---include/qapi/ber-input-visitor.h | 30 +
qapi/Makefile.objs | 2 +- qapi/ber-input-visitor.c | 1153 ++++++++++++++++++++++++++++++++++++++
3 files changed, 1184 insertions(+), 1 deletion(-)
create mode 100644 include/qapi/ber-input-visitor.h create mode 100644 qapi/ber-input-visitor.c
include/qapi/ber-input-visitor.h new file +30 -0
@@ -0,0 +1,30 @@ +/* +* BER Input Visitor header +* +* Copyright IBM, Corp. 2013 +* +* Authors: +* Anthony Liguori <[email protected]> +* Stefan Berger <[email protected]> +* +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. +* +*/ + +#ifndef BER_INPUT_VISITOR_H +#define BER_INPUT_VISITOR_H + +#include "qapi/visitor.h" + +typedef struct BERInputVisitor BERInputVisitor ; + +BERInputVisitor *ber_input_visitor_new (QEMUFile *, + uint64_t max_allowd_buffer_size); +void ber_input_visitor_cleanup (BERInputVisitor *v); +uint64_t ber_input_get_parser_position (BERInputVisitor *v); +uint64_t ber_input_get_largest_needed_buffer (BERInputVisitor *v); + +Visitor *ber_input_get_visitor (BERInputVisitor *v); + +#endif
qapi/Makefile.objs +0 -0
@@ -3,4 +3,4 @@ util-obj-y += qmp-output-visitor.o qmp-registry.o qmp-dispatch.o
util-obj-y += string-input-visitor.o string-output-visitor.o
util-obj-y += opts-visitor.o
-util-obj-y += ber-common.o ber-output-visitor.o +util-obj-y += ber-common.o ber-output-visitor.o ber-input-visitor.o
qapi/ber-input-visitor.c new file +1153 -0
1,153 lines not on this page · raw message
Signature · 15 lines
1.7.11.7 ------------------------------ _______________________________________________ Qemu-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/qemu-devel End of Qemu-devel Digest, Vol 120, Issue 943 ********************************************