wlmaker
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
task_list.h File Reference
#include <stdint.h>
#include <libbase/plist.h>
#include "toolkit/toolkit.h"
Include dependency graph for task_list.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wlmaker_task_list_style
 

Typedefs

typedef struct _wlmaker_task_list_t wlmaker_task_list_t
 
typedef struct _wlmaker_server_t wlmaker_server_t
 

Functions

wlmaker_task_list_twlmaker_task_list_create (wlmaker_server_t *server_ptr, const struct wlmaker_task_list_style *style_ptr)
 
void wlmaker_task_list_destroy (wlmaker_task_list_t *task_list_ptr)
 

Variables

const bspl_desc_t wlmaker_task_list_style_desc []
 

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

◆ wlmaker_server_t

A handle for a wlmaker server.

◆ wlmaker_task_list_t

Forward definition: Task list handle.

Function Documentation

◆ wlmaker_task_list_create()

wlmaker_task_list_t * wlmaker_task_list_create ( wlmaker_server_t server_ptr,
const struct wlmaker_task_list_style style_ptr 
)

Creates a task list for the server.

Will allocate the task list handle, and register signal handlers so the task list reacts to task_list_enabled_event and task_list_disabled_event of the wlmaker_server_t.

Parameters
server_ptr
style_ptr
Returns
The task list handle or NULL on error. Must be released by calling wlmaker_task_list_destroy.

◆ wlmaker_task_list_destroy()

void wlmaker_task_list_destroy ( wlmaker_task_list_t task_list_ptr)

Destroys the task list, as created by wlmaker_task_list_create.

Parameters
task_list_ptr

Variable Documentation

◆ wlmaker_task_list_style_desc

const bspl_desc_t wlmaker_task_list_style_desc[]
extern

Descriptor for decoding the "TaskList" dictionary.