milk  1.01
Modular Image processing Library toolKit
streamCTRL.h File Reference

Data streams control panel. More...

#include <stdint.h>
#include <unistd.h>
Include dependency graph for streamCTRL.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  STREAMINFO
 
struct  STREAMINFOPROC
 

Macros

#define STRINGLENMAX   32
 
#define streamNBID_MAX   10000
 
#define streamOpenNBpid_MAX   100
 
#define STRINGMAXLEN_STREAMINFO_NAME   100
 
#define PIDnameStringLen   12
 

Functions

int get_process_name_by_pid (const int pid, char *pname)
 
int streamCTRL_CatchSignals ()
 
int find_streams (STREAMINFO *streaminfo, int filter, const char *namefilter)
 find shared memory streams on system More...
 
void * streamCTRL_scan (void *thptr)
 
errno_t streamCTRL_CTRLscreen ()
 
long image_ID_from_images (IMAGE *images, const char *name)
 
long image_get_first_ID_available_from_images (IMAGE *images)
 

Detailed Description

Data streams control panel.

Manages data streams

Function Documentation

◆ find_streams()

int find_streams ( STREAMINFO streaminfo,
int  filter,
const char *  namefilter 
)

find shared memory streams on system

If filter is set to 1, require stream name to contain namefilter string streaminfo needs to be pre-allocated

◆ get_process_name_by_pid()

int get_process_name_by_pid ( const int  pid,
char *  pname 
)

INITIALIZE ncurses

◆ streamCTRL_CTRLscreen()

errno_t streamCTRL_CTRLscreen ( )

Purpose

Control screen for stream structures

Description

Relies on ncurses for display