feat: inject pipeline env and dont use system
This commit is contained in:
@ -13,7 +13,10 @@ typedef optional_type(pipeline_conf*) optional_pipeline_conf;
|
||||
|
||||
typedef struct {
|
||||
const struct inotify_event* event;
|
||||
const char* command;
|
||||
char* name;
|
||||
char* url;
|
||||
char* trigger;
|
||||
char* command;
|
||||
} pipeline_event;
|
||||
|
||||
// create a new pipeline_conf struct instance based on a configuration line.
|
||||
|
@ -22,4 +22,6 @@ char* trim(const char* const str);
|
||||
typedef void(*line_handler)(const char*);
|
||||
void per_line(const char* file, line_handler handler);
|
||||
|
||||
char* join(const char* a, const char* b);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user