package version up to 1.7.7
[platform/core/uifw/libtdm.git] / ut / stubs / wayland-tbm-drm-auth-client-protocol.h
1 #ifndef TBM_DRM_AUTH_CLIENT_PROTOCOL_H
2 #define TBM_DRM_AUTH_CLIENT_PROTOCOL_H
3
4 #include <stdint.h>
5 #include <stddef.h>
6
7 struct wl_client;
8 struct wl_resource;
9
10 struct wl_tbm_drm_auth;
11
12 extern const struct wl_interface wl_tbm_drm_auth_interface;
13
14 struct wl_tbm_drm_auth_listener {
15         void (*authentication_info)(void *data,
16                                     struct wl_tbm_drm_auth *wl_tbm_drm_auth,
17                                     const char *device_name,
18                                     uint32_t capabilities,
19                                     int32_t auth_fd);
20 };
21
22 static inline int
23 wl_tbm_drm_auth_add_listener(struct wl_tbm_drm_auth *wl_tbm_drm_auth,
24                              const struct wl_tbm_drm_auth_listener *listener, void *data)
25 {
26 }
27
28 #define WL_TBM_DRM_AUTH_GET_AUTHENTICATION_INFO 0
29
30 static inline void
31 wl_tbm_drm_auth_set_user_data(struct wl_tbm_drm_auth *wl_tbm_drm_auth, void *user_data)
32 {
33 }
34
35 static inline void *
36 wl_tbm_drm_auth_get_user_data(struct wl_tbm_drm_auth *wl_tbm_drm_auth)
37 {
38 }
39
40 static inline void
41 wl_tbm_drm_auth_destroy(struct wl_tbm_drm_auth *wl_tbm_drm_auth)
42 {
43 }
44
45 static inline void
46 wl_tbm_drm_auth_get_authentication_info(struct wl_tbm_drm_auth *wl_tbm_drm_auth)
47 {
48 }
49
50 #endif