This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
gplib
Watch
1
Star
1
Fork
0
Code
Issues
8
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Moved cbor tags to config
They are pretty project dependent after all
master
Ludovic 'Archivist' Lagouardette
3 years ago
parent
64817741b5
commit
6e7905ab9a
1 changed files
with
1 additions
and
26 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-26
include/gp/ipc/envelope/cbor.hpp
+ 1
- 26
include/gp/ipc/envelope/cbor.hpp
View File
@ -36,31 +36,6 @@ namespace gp {
terminator
=
31
}
;
enum
class
cbor_tags
{
datetime
=
0
,
unix_time
=
1
,
ubignum
=
2
,
nbignum
=
3
,
decimal
=
4
,
bigfloat
=
5
,
cose_encrypt0
=
16
,
cose_mac0
=
17
,
cose_sign1
=
18
,
expected_base64url
=
21
,
expected_base64
=
22
,
expected_base16
=
23
,
encoded_cbor
=
24
,
url
=
32
,
base64url
=
33
,
base64
=
34
,
regexp
=
35
,
mime
=
36
,
cose_encrypt
=
96
,
cose_mac
=
97
,
cose_sign
=
98
,
signature
=
55799
}
;
struct
cbor_number
final
{
bool
sign
;
uint64_t
value
;
@ -227,7 +202,7 @@ namespace gp {
struct
cbor_tag_initiator
{
union
{
size_t
as_integer
;
cbor_tag
s
tag
;
gp_config
:
:
cbor_tag
tag
;
}
;
}
;
Write
Preview
Loading…
Cancel
Save