paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Structures | Functions
stdin.h File Reference

The standard in task structure. More...

Data Structures

struct  stdin_task
 The task structure used for reading from stdin. More...
 

Functions

void stdin_task_register (struct stdin_task *sit, struct sched *s)
 Register a stdin task structure. More...
 

Detailed Description

The standard in task structure.

Function Documentation

◆ stdin_task_register()

void stdin_task_register ( struct stdin_task sit,
struct sched s 
)

Register a stdin task structure.

Parameters
sitThe stdin task structure to register.
sThe task will be added to this scheduler's task list.

This allocates a buffer tree pool for I/O, sets up sit and registers a task with sit as context pointer.