Statistics
| Branch: | Revision:

root / libcacard / link_test.c @ 992aeb8e

History | View | Annotate | Download (572 Bytes)

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