mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 10:20:24 -05:00
15 lines
461 B
C
15 lines
461 B
C
/*
|
|
* Copyright (c) 2014-2020 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 <stdio.h>
|
|
#include "cbor.h"
|
|
|
|
int main(void) {
|
|
printf("Hello from libcbor %s\n", CBOR_VERSION);
|
|
printf("Pretty-printer support: %s\n", CBOR_PRETTY_PRINTER ? "yes" : "no");
|
|
printf("Buffer growth factor: %f\n", (float)CBOR_BUFFER_GROWTH);
|
|
}
|