Statistics
| Branch: | Revision:

root / libcacard / link_test.c @ 2542bfd5

History | View | Annotate | Download (572 Bytes)

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