AnyConnect Secure Mobility Client
5.0.01242
ClientIfcCommon.h
1
/**************************************************************************
2
* Copyright (c) 2022 Cisco Systems, Inc.
3
* All Rights Reserved. Cisco Highly Confidential.
4
***************************************************************************
5
*
6
* File: ClientIfcCommon.h
7
* Author: Chris Fitzgerald
8
* Date: 03/2022
9
*
10
***************************************************************************
11
* Client Interface Common defines for the Client API.
12
***************************************************************************/
13
#ifndef _CLIENTIFCCOMMON_
14
#define _CLIENTIFCCOMMON_
15
16
/*
17
* SCRIPTING_SUPPORTED, INTERPROCESS_COMMUNICATION_SUPPORTED macro is a copy of corresponding
18
* #define from GenDefs.h. Any change in #define for the macro in GenDefs.h must propogated to
19
* this header file too. We duplicate this definition here due to the manner in which we distribute
20
* our code to partners; we cannot include GenDefs.h from here.
21
*/
22
#if !defined(PLATFORM_APPLE_SSLVPN) && !defined(PLATFORM_ANDROID) && !defined(PLATFORM_WIN_APP)
23
#define SCRIPTING_SUPPORTED
24
#endif
25
#if !defined(PLATFORM_WIN_APP)
26
#define INTERPROCESS_COMMUNICATION_SUPPORTED
27
#endif
28
29
/*
30
* SCEP_CERTIFICATE_ENROLLMENT_SUPPORTED macro is a copy of corresponding #define from GenDefs.h.
31
* Any change in #define for the macro in GenDefs.h must propogated to this header file too. We
32
* duplicate this definition here due to the manner in which we distribute our code to partners;
33
* we cannot include GenDefs.h from here.
34
*/
35
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(PLATFORM_DARWIN) || defined(PLATFORM_LINUX) || defined(PLATFORM_ANDROID) || defined(PLATFORM_APPLE_SSLVPN)
36
#define SCEP_CERTIFICATE_ENROLLMENT_SUPPORTED
37
#endif
38
39
/*
40
* HOST_DATA_SUPPORTED macro is a copy of corresponding #define from GenDefs.h. Any change
41
* in #define for the macro in GenDefs.h must propogated to this header file too. We duplicate
42
* this definition here due to the manner in which we distribute our code to partners;
43
* we cannot include GenDefs.h from here.
44
*/
45
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_APPLE_SSLVPN) || defined(PLATFORM_CHROMEBOOK)
46
#define HOST_DATA_SUPPORTED
47
#endif
48
49
/*
50
* MANUAL_PKCS12_IMPORT_SUPPORTED macro is a copy of corresponding #define from GenDefs.h.
51
* Any change in #define for the macro in GenDefs.h must propogated to this header file too.
52
* We duplicate this definition here due to the manner in which we distribute our
53
* code to partners; we cannot include GenDefs.h from here.
54
*/
55
#if defined(PLATFORM_APPLE_SSLVPN) || defined(PLATFORM_ANDROID) || defined(PRODUCT_TYPE_SSA)
56
#define MANUAL_PKCS12_IMPORT_SUPPORTED
57
#endif
58
59
/*
60
* PROGRAM_DATA_IMPORT_SUPPORTED macro is a copy of corresponding #define from GenDefs.h.
61
* Any change in #define for the macro in GenDefs.h must propogated to this header file too.
62
* We duplicate this definition here due to the manner in which we distribute our
63
* code to partners; we cannot include GenDefs.h from here.
64
*/
65
#if defined(PLATFORM_ANDROID)
66
#define PROGRAM_DATA_IMPORT_SUPPORTED
67
#endif
68
69
/*
70
* CREDENTIAL_PREFILL_SUPPORTED macro is a copy of corresponding #define from GenDefs.h.
71
* Any change in #define for the macro in GenDefs.h must propogated to this header file too.
72
* We duplicate this definition here due to the manner in which we distribute our
73
* code to partners; we cannot include GenDefs.h from here.
74
*/
75
#if defined(PLATFORM_ANDROID)
76
#define CREDENTIAL_PREFILL_SUPPORTED
77
#endif
78
79
#if defined(MANUAL_PKCS12_IMPORT_SUPPORTED) && !defined(__GENDEFS_H)
80
#if defined(HAVE_STDINT_H)
81
#include <stdint.h>
82
#else
83
typedef
unsigned
char
uint8_t;
84
#endif // HAVE_STDINT_H
85
#endif // MANUAL_PKCS12_IMPORT_SUPPORTED
86
87
#if defined(PLATFORM_WIN_APP)
88
typedef
unsigned
char
uint8_t;
89
#endif
90
91
92
#endif // _CLIENTIFCCOMMON_
AnyConnect C++ API Documentation by
Cisco Systems