Name Date Size #Lines LOC

..14-Nov-2023-

src/H31-Dec-2022-6,2673,879

LICENSE.mdH A D08-May-20221 KiB2217

MakefileH A D31-Dec-20221.5 KiB5133

README.mdH A D31-Dec-20222.4 KiB5138

README.openbsdH A D31-Dec-2022395 107

shlib_versionH A D31-Dec-202216 32

README.md

1# [libcbor](https://github.com/PJK/libcbor)
2
3[![Build Status](https://travis-ci.org/PJK/libcbor.svg?branch=master)](https://travis-ci.org/PJK/libcbor)
4[![Build status](https://ci.appveyor.com/api/projects/status/8kkmvmefelsxp5u2?svg=true)](https://ci.appveyor.com/project/PJK/libcbor)
5[![Documentation Status](https://readthedocs.org/projects/libcbor/badge/?version=latest)](https://readthedocs.org/projects/libcbor/?badge=latest)
6
7**libcbor** is a C library for parsing and generating [CBOR](http://tools.ietf.org/html/rfc7049), the general-purpose schema-less binary data format.
8
9## Main features
10 - Complete RFC conformance
11 - Robust C99 implementation
12 - Layered architecture offers both control and convenience
13 - Flexible memory management
14 - No shared global state - threading friendly
15 - Proper handling of UTF-8
16 - Full support for streams & incremental processing
17 - Extensive documentation and test suite
18 - No runtime dependencies, small footprint
19
20## Documentation
21Get the latest documentation at [libcbor.readthedocs.org](http://libcbor.readthedocs.org/)
22
23## Contributions
24
25Bug reports and contributions are welcome. Please see [CONTRIBUTING.md](https://github.com/PJK/libcbor/blob/master/CONTRIBUTING.md) for more info.
26
27Kudos to all the [contributors](https://github.com/PJK/libcbor/graphs/contributors)!
28
29## License
30The MIT License (MIT)
31
32Copyright (c) Pavel Kalvoda, 2014–2017
33
34Permission is hereby granted, free of charge, to any person obtaining a copy
35of this software and associated documentation files (the "Software"), to deal
36in the Software without restriction, including without limitation the rights
37to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
38copies of the Software, and to permit persons to whom the Software is
39furnished to do so, subject to the following conditions:
40
41The above copyright notice and this permission notice shall be included in all
42copies or substantial portions of the Software.
43
44THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
49OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
50SOFTWARE.
51

README.openbsd

1This is an import of https://github.com/pjk/libcbor v0.10.0 with
2e308674c5d to fix https://github.com/PJK/libcbor/issues/259
3
4Apart from README.md and LICENSE.md, only the src/ directory has been
5imported.
6
7Note that the custom allocator feature (cbor_set_allocs()) has been
8disabled in this import and the allocation functions _cbor_malloc, etc.
9are #defined to the usual libc implementations.
10