Modify sharing plugin template for CLI
[sharing-cli] / src / validate.h
1 /*
2  * This file is part of sharing-plugin-template
3  *
4  * Copyright (C) 2008-2009 Nokia Corporation. All rights reserved.
5  *
6  * This maemo code example is licensed under a MIT-style license,
7  * that can be found in the file called "COPYING" in the root
8  * directory.
9  *
10  */
11
12 #ifndef _VALIDATE_H_
13 #define _VALIDATE_H_
14
15 #include <glib.h>
16 #include <sharing-entry.h>
17 #include <sharing-plugin-interface.h>
18 #include <conicconnection.h>
19
20 G_BEGIN_DECLS
21
22 SharingPluginInterfaceAccountValidateResult validate (SharingAccount* account,
23     ConIcConnection* con, gboolean *cont, gboolean* dead_mans_switch);
24
25 G_END_DECLS
26
27 #endif // _VALIDATE_H_
28