File:  [Qemu by Fabrice Bellard] / qemu / libcacard / link_test.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:03:08 2018 UTC (3 years, 7 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, qemu1000, qemu0151, HEAD
qemu 0.15.1

    1: /*
    2:  * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
    3:  * See the COPYING.LIB file in the top-level directory.
    4:  */
    5: 
    6: #include <stdio.h>
    7: #include "vcard.h"
    8: 
    9: VCardStatus cac_card_init(const char *flags, VCard *card,
   10:                 const unsigned char *cert[],
   11:                 int cert_len[], VCardKey *key[] /* adopt the keys*/,
   12:                 int cert_count);
   13: /*
   14:  * this will crash... just test the linkage right now
   15:  */
   16: 
   17: main(int argc, char **argv)
   18: {
   19:     VCard *card; /* no constructor yet */
   20:     cac_card_init("", card, NULL, 0, NULL, 0);
   21: }
   22: 

unix.superglobalmegacorp.com