Export isds_PersonName_free(), isds_BirthInfo_free(), isds_Address_free()
[libisds.git] / client / version.c
blob73c500a5939fee7e98d0f733f557cde67c6f90c1
1 #define _XOPEN_SOURCE 500
2 #include <stdlib.h>
3 #include <stdio.h>
4 #include <locale.h>
5 #include <time.h>
6 #include <string.h>
7 #include <isds.h>
8 #include "common.h"
11 int main(int argc, char **argv) {
12 isds_error err;
14 setlocale(LC_ALL, "");
16 err = isds_init();
17 if (err) {
18 printf("isds_init() failed: %s\n", isds_strerror(err));
19 exit(EXIT_FAILURE);
22 printf("libisds version: %s\n", isds_version());
24 err = isds_cleanup();
25 if (err) {
26 printf("isds_cleanup() failed: %s\n", isds_strerror(err));
29 exit (EXIT_SUCCESS);