Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
elosdep.h File Reference

(/usr/bin/git)

Header related to elos connection. More...

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

Go to the source code of this file.

Macros

#define CRINIT_ELOSDEP_FEATURE_NAME   "elos"
 

Functions

int crinitElosdepTaskAdded (struct crinitTask *task)
 
int crinitElosdepActivate (struct crinitTaskDB *taskDb, bool e)
 

Detailed Description

Header related to elos connection.

Macro Definition Documentation

◆ CRINIT_ELOSDEP_FEATURE_NAME

#define CRINIT_ELOSDEP_FEATURE_NAME   "elos"

Function Documentation

◆ crinitElosdepActivate()

int crinitElosdepActivate ( struct crinitTaskDB taskDb,
bool  e 
)

Specify if Elos should be used.

By default, Crinit will not connect to elos. If this is set to true, however, Crinit will connect to the elos daemon.

Parameters
taskDbTask database to be informed if event occurs.
etrue if elos should be used, false otherwise.
Returns
Returns 0 on success, -1 otherwise.

◆ crinitElosdepTaskAdded()

int crinitElosdepTaskAdded ( struct crinitTask task)

Hook which will be invoked if a new task has been added and will register the elos filters for this task.

Modifies errno.

Parameters
taskTask that has been added to elos.
Returns
Returns 0 on success, -1 otherwise.