83df5b3e318751ecdd95e8cc31157bc00d073a47
[platform/upstream/connectedhomeip.git] / examples / tv-app / tv-common / gen / CHIPClientCallbacks.h
1 /*
2  *
3  *    Copyright (c) 2021 Project CHIP Authors
4  *
5  *    Licensed under the Apache License, Version 2.0 (the "License");
6  *    you may not use this file except in compliance with the License.
7  *    You may obtain a copy of the License at
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *    Unless required by applicable law or agreed to in writing, software
12  *    distributed under the License is distributed on an "AS IS" BASIS,
13  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *    See the License for the specific language governing permissions and
15  *    limitations under the License.
16  */
17
18 // THIS FILE IS GENERATED BY ZAP
19
20 #pragma once
21
22 #include <inttypes.h>
23
24 // Global Response Callbacks
25 typedef void (*DefaultSuccessCallback)(void * context);
26 typedef void (*DefaultFailureCallback)(void * context, uint8_t status);
27 typedef void (*BooleanAttributeCallback)(void * context, bool value);
28 typedef void (*Int8uAttributeCallback)(void * context, uint8_t value);
29 typedef void (*Int8sAttributeCallback)(void * context, int8_t value);
30 typedef void (*Int16uAttributeCallback)(void * context, uint16_t value);
31 typedef void (*Int16sAttributeCallback)(void * context, int16_t value);
32 typedef void (*Int32uAttributeCallback)(void * context, uint32_t value);
33 typedef void (*Int32sAttributeCallback)(void * context, int32_t value);
34 typedef void (*Int64uAttributeCallback)(void * context, uint64_t value);
35 typedef void (*Int64sAttributeCallback)(void * context, int64_t value);
36 typedef void (*ReadReportingConfigurationReportedCallback)(void * context, uint16_t minInterval, uint16_t maxInterval);
37 typedef void (*ReadReportingConfigurationReceivedCallback)(void * context, uint16_t timeout);
38
39 // Cluster Specific Response Callbacks
40 typedef void (*DoorLockClusterLockDoorResponseCallback)(void * context);
41 typedef void (*DoorLockClusterUnlockDoorResponseCallback)(void * context);