repo.or.cz
/
libisds.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add AIFOTicket to isds_DbUserInfo as aifo_ticket
[libisds.git]
/
client
/
version.c
blob
b162e77dee5464df23d83702c8c40a1768606f09
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"
9
10
11
int
main
(
void
) {
12
isds_error err
;
13
14
setlocale
(
LC_ALL
,
""
);
15
16
err
=
isds_init
();
17
if
(
err
) {
18
printf
(
"isds_init() failed: %s
\n
"
,
isds_strerror
(
err
));
19
exit
(
EXIT_FAILURE
);
20
}
21
22
printf
(
"libisds version: %s
\n
"
,
isds_version
());
23
24
err
=
isds_cleanup
();
25
if
(
err
) {
26
printf
(
"isds_cleanup() failed: %s
\n
"
,
isds_strerror
(
err
));
27
}
28
29
exit
(
EXIT_SUCCESS
);
30
}