summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/Ecore_Con_Ssh.h
blob: 31a7139c9672a447e94050a051f0447bbadb42b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef _ECORE_CON_SSH_H
#define _ECORE_CON_SSH_H

#include <time.h>
#include <libgen.h>
#ifdef _WIN32
# include <ws2tcpip.h>
#else
# include <netdb.h>
#endif
#include <Eina.h>
#include <Eo.h>

#ifdef EAPI
# undef EAPI
#endif

#ifdef _WIN32
# ifdef EFL_ECORE_CON_BUILD
#  ifdef DLL_EXPORT
#   define EAPI __declspec(dllexport)
#  else
#   define EAPI
#  endif
# else
#  define EAPI __declspec(dllimport)
# endif
#else
# ifdef __GNUC__
#  if __GNUC__ >= 4
#   define EAPI __attribute__ ((visibility("default")))
#  else
#   define EAPI
#  endif
# else
#  define EAPI
# endif
#endif

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _Efl_Network_Ssh_Request Efl_Network_Ssh_Request;
typedef Eo Efl_Network_Ssh_Channel_Interactive_Session;

#ifndef EFL_NOLEGACY_API_SUPPORT
# include "efl_network_ssh_client.eo.legacy.h"
# include "efl_network_ssh_channel_base.eo.legacy.h"
# include "efl_network_ssh_channel_interactive_session.eo.legacy.h"
#endif
#ifdef EFL_EO_API_SUPPORT
# include "efl_network_ssh_client.eo.h"
# include "efl_network_ssh_channel_base.eo.h"
# include "efl_network_ssh_channel_interactive_session.eo.h"
#endif

#ifdef __cplusplus
}
#endif

#undef EAPI
#define EAPI

#endif