Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
external-tools
libcbor
Commits
97f03234
Commit
97f03234
authored
9 years ago
by
PJK
Browse files
Options
Download
Email Patches
Plain Diff
Add license notice
parent
9a64c1c6
No related merge requests found
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
bench/ints_cbor.c
+7
-0
bench/ints_cbor.c
bench/ints_json.c
+7
-0
bench/ints_json.c
demo/build_demo.c
+7
-0
demo/build_demo.c
demo/demo.c
+7
-0
demo/demo.c
src/cbor.c
+7
-0
src/cbor.c
src/cbor_internal.c
+7
-0
src/cbor_internal.c
test/assertions.c
+7
-0
test/assertions.c
test/cbor_serialize_test.c
+7
-0
test/cbor_serialize_test.c
test/cbor_stream_decode_test.c
+7
-0
test/cbor_stream_decode_test.c
test/stream_expectations.c
+7
-0
test/stream_expectations.c
test/type_0_encoders_test.c
+7
-0
test/type_0_encoders_test.c
test/type_0_test.c
+7
-0
test/type_0_test.c
test/type_1_encoders_test.c
+7
-0
test/type_1_encoders_test.c
test/type_1_test.c
+7
-0
test/type_1_test.c
test/type_2_encoders_test.c
+7
-0
test/type_2_encoders_test.c
test/type_2_test.c
+7
-0
test/type_2_test.c
test/type_3_encoders_test.c
+7
-0
test/type_3_encoders_test.c
test/type_3_test.c
+7
-0
test/type_3_test.c
test/type_4_encoders_test.c
+7
-0
test/type_4_encoders_test.c
test/type_4_test.c
+7
-0
test/type_4_test.c
with
140 additions
and
0 deletions
+140
-0
bench/ints_cbor.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "cbor.h"
//#include <cbor.h>
...
...
This diff is collapsed.
Click to expand it.
bench/ints_json.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <jansson.h>
...
...
This diff is collapsed.
Click to expand it.
demo/build_demo.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <cbor.h>
#include <stdio.h>
...
...
This diff is collapsed.
Click to expand it.
demo/demo.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "cbor.h"
#include <stdio.h>
...
...
This diff is collapsed.
Click to expand it.
src/cbor.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "cbor.h"
#include "cbor_internal.h"
...
...
This diff is collapsed.
Click to expand it.
src/cbor_internal.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "cbor_internal.h"
#include "cbor/internal/unicode.h"
#include <assert.h>
...
...
This diff is collapsed.
Click to expand it.
test/assertions.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "assertions.h"
void
assert_uint8
(
cbor_item_t
*
item
,
uint8_t
num
)
...
...
This diff is collapsed.
Click to expand it.
test/cbor_serialize_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/cbor_stream_decode_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/stream_expectations.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "stream_expectations.h"
/* Ordered from 0 to queue_size - 1 */
...
...
This diff is collapsed.
Click to expand it.
test/type_0_encoders_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_0_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_1_encoders_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_1_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_2_encoders_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_2_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_3_encoders_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_3_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_4_encoders_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
test/type_4_test.c
View file @
97f03234
/*
* Copyright (c) 2014-2015 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help