main: switch qemu_set_fd_handler to g_io_add_watch
[qemu.git] / libcacard / link_test.c
blob6f67a23d954853a00f61fa07a06f7dc43373f326
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 */
6 #include <stdio.h>
7 #include "vcard.h"
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);
14 * this will crash... just test the linkage right now
17 main(int argc, char **argv)
19 VCard *card; /* no constructor yet */
20 cac_card_init("", card, NULL, 0, NULL, 0);