Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
system & jobs: Reverse link and acquiring events
[src/app-framework-binder.git]
/
src
/
jobs.h
diff --git
a/src/jobs.h
b/src/jobs.h
index
7be9e69
..
a99c962
100644
(file)
--- a/
src/jobs.h
+++ b/
src/jobs.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016
, 2017
"IoT.bzh"
+ * Copyright (C) 2016
-2019
"IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-17,7
+17,6
@@
#pragma once
#pragma once
-struct sd_event;
struct jobloop;
extern int jobs_queue(
struct jobloop;
extern int jobs_queue(
@@
-40,8
+39,6
@@
extern int jobs_call(
void (*callback)(int, void*),
void *arg);
void (*callback)(int, void*),
void *arg);
-extern struct sd_event *jobs_get_sd_event();
-
extern void jobs_terminate();
extern int jobs_start(
extern void jobs_terminate();
extern int jobs_start(
@@
-51,3
+48,5
@@
extern int jobs_start(
void (*start)(int signum, void* arg),
void *arg);
void (*start)(int signum, void* arg),
void *arg);
+extern void jobs_acquire_event_manager();
+