6 #ifndef __CRINIT_CLIENT_H__
7 #define __CRINIT_CLIENT_H__
9 #include <bits/types/FILE.h>
105 int sd_notify(
int unset_environment,
const char *state);
112 int sd_notifyf(
int unset_environment,
const char *format, ...);
138 int crinitClientTaskAdd(
const char *configFilePath,
bool overwrite,
const char *forceDeps);
int crinitClientTaskDisable(const char *taskName)
Definition: crinit-client.c:245
void crinitClientSetErrStream(FILE *errStream)
Definition: crinit-client.c:82
void crinitClientSetSocketPath(const char *sockFile)
Definition: crinit-client.c:96
int crinitClientTaskAdd(const char *configFilePath, bool overwrite, const char *forceDeps)
Definition: crinit-client.c:162
int crinitClientTaskGetStatus(crinitTaskState_t *s, pid_t *pid, const char *taskName)
Definition: crinit-client.c:340
int crinitClientGetVersion(crinitVersion_t *v)
Definition: crinit-client.c:473
int sd_notify(int unset_environment, const char *state)
Definition: crinit-client.c:106
void crinitClientFreeTaskList(crinitTaskList_t *tl)
Definition: crinit-client.c:441
int crinitClientSetVerbose(bool v)
Definition: crinit-client.c:78
int crinitClientTaskEnable(const char *taskName)
Definition: crinit-client.c:221
int crinitClientTaskStop(const char *taskName)
Definition: crinit-client.c:268
int crinitClientGetTaskList(crinitTaskList_t **tl)
Definition: crinit-client.c:369
const crinitVersion_t * crinitClientLibGetVersion(void)
Definition: crinit-client.c:102
void crinitClientSetNotifyTaskName(const char *taskName)
Definition: crinit-client.c:90
int crinitClientSeriesAdd(const char *seriesFilePath, bool overwriteTasks)
Definition: crinit-client.c:195
int crinitClientTaskKill(const char *taskName)
Definition: crinit-client.c:292
int sd_notifyf(int unset_environment, const char *format,...)
Definition: crinit-client.c:135
void crinitClientSetInfoStream(FILE *infoStream)
Definition: crinit-client.c:86
int crinitClientTaskRestart(const char *taskName)
Definition: crinit-client.c:316
int crinitClientShutdown(crinitShutdownCmd_t sCmd)
Definition: crinit-client.c:452
Definitions shared between crinit's public and internal APIs.
crinitShutdownCmd_t
Definition: crinit-sdefs.h:39
unsigned long crinitTaskState_t
Type to store Task state bitmask.
Definition: crinit-sdefs.h:17
Definition: crinit-sdefs.h:33
Header definitions related to component versioning.