wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions
lock.h File Reference
#include "element.h"
#include "root.h"
Include dependency graph for lock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmtk_lock_t wlmtk_lock_t
 

Functions

wlmtk_lock_twlmtk_lock_create (struct wlr_session_lock_v1 *wlr_session_lock_v1_ptr, wlmtk_root_t *root_ptr, wlmtk_env_t *env_ptr)
 
void wlmtk_lock_destroy (wlmtk_lock_t *lock_ptr)
 
wlmtk_element_twlmtk_lock_element (wlmtk_lock_t *lock_ptr)
 

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ wlmtk_lock_t

typedef struct _wlmtk_lock_t wlmtk_lock_t

Forward declaration: Lock.

Function Documentation

◆ wlmtk_lock_create()

wlmtk_lock_t * wlmtk_lock_create ( struct wlr_session_lock_v1 * wlr_session_lock_v1_ptr,
wlmtk_root_t * root_ptr,
wlmtk_env_t * env_ptr )

Creates a session lock handle.

Parameters
wlr_session_lock_v1_ptr
root_ptr
env_ptr
Returns
The lock handle or NULL on error.

◆ wlmtk_lock_destroy()

void wlmtk_lock_destroy ( wlmtk_lock_t * lock_ptr)

Destroys the session lock handle.

Parameters
lock_ptr

◆ wlmtk_lock_element()

wlmtk_element_t * wlmtk_lock_element ( wlmtk_lock_t * lock_ptr)