tree: 55b84a9bceec03b3829835decc70508a749019e8 [path history] [tgz]
  1. docs/
  2. attribute.h
  3. attribute_test.cc
  4. binary_content.cc
  5. binary_content.h
  6. BUILD.gn
  7. builder.cc
  8. builder.h
  9. builder_test.cc
  10. colls_view.cc
  11. colls_view.h
  12. colls_view_test.cc
  13. CPPLINT.cfg
  14. DIR_METADATA
  15. errors.cc
  16. errors.h
  17. errors_test.cc
  18. frame.cc
  19. frame.h
  20. frame_test.cc
  21. ipp_attribute.cc
  22. ipp_attribute.h
  23. ipp_attribute_test.cc
  24. ipp_encoding.h
  25. ipp_encoding_test.cc
  26. ipp_enums.cc
  27. ipp_enums.h
  28. ipp_enums_test.cc
  29. ipp_export.h
  30. ipp_frame.h
  31. ipp_fuzzer.cc
  32. ipp_parser.cc
  33. ipp_parser.h
  34. ipp_test.cc
  35. libipp.pc
  36. OWNERS
  37. parser.cc
  38. parser.h
  39. parser_test.cc
  40. README.md
  41. validator.cc
  42. validator.h
  43. validator_test.cc
libipp/README.md

libipp

What is this?

General C++ library for building and parsing IPP frames. IPP stands for Internet Printing Protocol and is defined in several documents. This implementation is based mainly on the following sources:

How to use it?

All required C++ classes, types and functions are declared in ipp namespace.

IPP frames are sent/received as a payload of HTTP POST requests/responses. This library helps to build and parse raw IPP frames, but does not support the HTTP protocol. You have to use some other library to process HTTP packages, like libbrillo or libcurl. You can also dump a raw IPP frame to a file and send it from the command line with curl, e.g.:

curl -X POST "http://my.server:631/mypath" --header "Content-Type: application/ipp" --data-binary @ipp.frame

Then obtained response can be read from the file and parsed by libipp.

Documentation conventions

In this documentation, the following typographical conventions are used:

  • boldface denotes entities defined in the IPP specifications (see the links mentioned above);
  • italics indicates a name of a library or a (shell) command;
  • monospace is used to mark entities from the source code.

Link to documentation