Microsoft Information Protection SDK - C 1.17
API Reference Documentation for C
Loading...
Searching...
No Matches
telemetry_configuration_cc.h
Go to the documentation of this file.
1/*
2 *
3 * Copyright (c) Microsoft Corporation.
4 * All rights reserved.
5 *
6 * This code is licensed under the MIT License.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files(the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions :
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 *
26 */
33#ifndef API_MIP_TELEMETRY_CONFIGURATION_CC_H_
34#define API_MIP_TELEMETRY_CONFIGURATION_CC_H_
35
36#include <memory>
37
40#include "mip_cc/error_cc.h"
43
45
54MIP_CC_API(mip_cc_result) MIP_CC_CreateTelemetryConfiguration(
55 mip_cc_telemetry_configuration* telemetryConfig,
57
70MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetHostName(
71 const mip_cc_telemetry_configuration telemetryConfig,
72 const char* hostName,
74
87MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetLibraryName(
88 const mip_cc_telemetry_configuration telemetryConfig,
89 const char* libraryName,
91
103MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetHttpDelegate(
104 const mip_cc_telemetry_configuration telemetryConfig,
107
117MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetTaskDispatcherDelegate(
118 const mip_cc_telemetry_configuration telemetryConfig,
121
133MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetIsNetworkDetectionEnabled(
134 const mip_cc_telemetry_configuration telemetryConfig,
137
149MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetIsLocalCachingEnabled(
150 const mip_cc_telemetry_configuration telemetryConfig,
153
166MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetIsTraceLoggingEnabled(
167 const mip_cc_telemetry_configuration telemetryConfig,
170
182MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetIsTelemetryOptedOut(
183 const mip_cc_telemetry_configuration telemetryConfig,
186
198MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetIsFastShutdownEnabled(
199 const mip_cc_telemetry_configuration telemetryConfig,
202
212MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetCustomSettings(
213 const mip_cc_telemetry_configuration telemetryConfig,
216
227MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_AddMaskedProperty(
228 const mip_cc_telemetry_configuration telemetryConfig,
229 const char* eventName,
230 const char* propertyName,
232
242MIP_CC_API(mip_cc_result) MIP_CC_TelemetryConfiguration_SetTaskDispatcherDelegate(
243 const mip_cc_telemetry_configuration telemetryConfig,
246
252MIP_CC_API(void) MIP_CC_ReleaseTelemetryConfiguration(mip_cc_telemetry_configuration telemetryConfig);
253
254#endif // API_MIP_TELEMETRY_CONFIGURATION_CC_H_
255
A file Containing the common types used by the upe, file and protection modules.
Contains C API definitions for common string dictionary.
Error definition and functions.
Defines HTTP callback functions.
mip_cc_result
API success/failure result.
Definition result_cc.h:44
Error information.
Definition error_cc.h:79
Opaque handle to MIP object.
Definition common_types_cc.h:44
Defines task dispatcher callback functions.
MIP_CC_API(void) MIP_CC_ReleaseTelemetryConfiguration(mip_cc_telemetry_configuration telemetryConfig)
Release resources associated with a protection profile settings.
const char * eventName
Definition telemetry_configuration_cc.h:229
mip_cc_error * errorInfo
Definition telemetry_configuration_cc.h:56
const bool isMinimalTelemetryEnabled
Definition telemetry_configuration_cc.h:184
const bool isCachingEnabled
Definition telemetry_configuration_cc.h:151
const mip_cc_dictionary customSettings
Definition telemetry_configuration_cc.h:214
const char * hostName
Definition telemetry_configuration_cc.h:72
const char const char * propertyName
Definition telemetry_configuration_cc.h:230
const mip_cc_http_delegate httpDelegate
Definition telemetry_configuration_cc.h:105
const char * libraryName
Definition telemetry_configuration_cc.h:89
const bool isTraceLoggingEnabled
Definition telemetry_configuration_cc.h:168
const mip_cc_task_dispatcher_delegate taskDispatcherDelegate
Definition telemetry_configuration_cc.h:119
const bool isFastShutdownEnabled
Definition telemetry_configuration_cc.h:200
const bool isNetworkDetectionEnabled
Definition telemetry_configuration_cc.h:135
mip_cc_handle * mip_cc_telemetry_configuration
Definition telemetry_configuration_cc.h:44