Internalfunctions - SmartSlog KP Library
Main Page
Modules
Data Structures
Files
File List
Globals
ss_multisib.h
Go to the documentation of this file.
1
/*
2
* ss_multisib.h - interface for functions for work with SS.
3
* This file is part of PetrSU KP library.
4
*
5
* Copyright (C) 2009 - Alexandr A. Lomov. All rights reserved.
6
*
7
* PetrSU KP library is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* PetrSU KP library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with PetrSU KP library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor,
20
* Boston, MA 02110-1301 USA
21
*/
22
23
24
#ifdef KPI_LOW
25
#include <kpilow/kpi_low.h>
26
#else
27
#include <ckpi/ckpi.h>
28
#endif
29
30
#include "utils/list.h"
31
32
#ifndef _SS_MSIB_H
33
#define _SS_MSIB_H
34
35
#if defined(WIN32) || defined(WINCE) || defined(SMARTSLOG_WIN_EXPORTS)
36
#define SSLOG_EXTERN __declspec(dllexport)
37
#else
38
#define SSLOG_EXTERN
39
#endif
40
41
#ifdef __cplusplus
42
extern
"C"
{
43
#endif
44
45
SSLOG_EXTERN
ss_info_t*
sslog_get_ss_info
();
46
47
SSLOG_EXTERN
int
sslog_ss_init_new_session
(
const
char
*name_id);
48
SSLOG_EXTERN
int
sslog_ss_init_new_session_with_parameters
(
const
char
*space_id,
const
char
*ss_address,
int
ss_port,
const
char
*name_id);
49
50
SSLOG_EXTERN
int
sslog_switch_sib
(
const
char
*name_id);
51
SSLOG_EXTERN
int
sslog_ss_leave_session
(ss_info_t * ss_info);
52
SSLOG_EXTERN
int
sslog_ss_leave_session_all
();
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#endif
/* _SS_MSIB_H */
59
Generated on Mon Dec 17 2012 16:22:49 for Internalfunctions - SmartSlog KP Library by
1.8.1.1