wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions
task_list.h File Reference
#include "config.h"
#include "server.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.

Typedefs

typedef struct _wlmaker_task_list_t wlmaker_task_list_t
 

Functions

wlmaker_task_list_twlmaker_task_list_create (wlmaker_server_t *server_ptr, const wlmaker_config_style_t *style_ptr)
 
void wlmaker_task_list_destroy (wlmaker_task_list_t *task_list_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

◆ 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 wlmaker_config_style_t 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