Changed file and key-value API according GENIVI naming conventions
[profile/ivi/persistence-client-library.git] / test / persistence_client_library_dbus_test.c
1 /******************************************************************************
2  * Project         Persistency
3  * (c) copyright   2012
4  * Company         XS Embedded GmbH
5  *****************************************************************************/
6 /******************************************************************************
7  * This Source Code Form is subject to the terms of the
8  * Mozilla Public License, v. 2.0. If a  copy of the MPL was not distributed
9  * with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 ******************************************************************************/
11  /**
12  * @file           persistence_client_library_dbus_test.c
13  * @ingroup        Persistence client library test
14  * @author         Ingo Huerner
15  * @brief          Test of persistence client library
16  * @see            
17  */
18
19 #include "../include/persistence_client_library_key.h"
20 #include "../include/persistence_client_library_file.h"
21
22
23 #include <stdio.h>
24
25
26 int main(int argc, char *argv[])
27 {
28    int ret = 0;
29    char buffer[128];
30
31    printf("Dbus interface test application\n");
32
33    ret = pclKeyReadData(0,    "/language/current_language", 3, 0, (unsigned char*)buffer, 128);
34
35    getchar();
36
37
38    printf("By\n");
39    return ret;
40 }