string-input-visitor.h 597 B

12345678910111213141516171819202122232425
  1. /*
  2. * String parsing Visitor
  3. *
  4. * Copyright Red Hat, Inc. 2012
  5. *
  6. * Author: Paolo Bonzini <pbonzini@redhat.com>
  7. *
  8. * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
  9. * See the COPYING.LIB file in the top-level directory.
  10. *
  11. */
  12. #ifndef STRING_INPUT_VISITOR_H
  13. #define STRING_INPUT_VISITOR_H
  14. #include "qapi-visit-core.h"
  15. typedef struct StringInputVisitor StringInputVisitor;
  16. StringInputVisitor *string_input_visitor_new(const char *str);
  17. void string_input_visitor_cleanup(StringInputVisitor *v);
  18. Visitor *string_input_get_visitor(StringInputVisitor *v);
  19. #endif