1*5dd36a3bSchristos /* 2*5dd36a3bSchristos * Copyright (c) 2014-2019 Pavel Kalvoda <me@pavelkalvoda.com> 3*5dd36a3bSchristos * 4*5dd36a3bSchristos * libcbor is free software; you can redistribute it and/or modify 5*5dd36a3bSchristos * it under the terms of the MIT license. See LICENSE for details. 6*5dd36a3bSchristos */ 7*5dd36a3bSchristos 8*5dd36a3bSchristos #include <stdio.h> 9*5dd36a3bSchristos #include "cbor.h" 10*5dd36a3bSchristos main(int argc,char * argv[])11*5dd36a3bSchristosint main(int argc, char* argv[]) { 12*5dd36a3bSchristos printf("Hello from libcbor %s\n", CBOR_VERSION); 13*5dd36a3bSchristos printf("Custom allocation support: %s\n", CBOR_CUSTOM_ALLOC ? "yes" : "no"); 14*5dd36a3bSchristos printf("Pretty-printer support: %s\n", CBOR_PRETTY_PRINTER ? "yes" : "no"); 15*5dd36a3bSchristos printf("Buffer growth factor: %f\n", (float)CBOR_BUFFER_GROWTH); 16*5dd36a3bSchristos } 17