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
Add gitreview file for guppy branch
[src/app-framework-binder.git]
/
src
/
jobs.h
diff --git
a/src/jobs.h
b/src/jobs.h
index
e61b2c7
..
1a91968
100644
(file)
--- a/
src/jobs.h
+++ b/
src/jobs.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017
, 2018
"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,9
+39,14
@@
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 void jobs_terminate();
-extern int jobs_start(int allowed_count, int start_count, int waiter_count, void (*start)(int signum));
+extern int jobs_start(
+ int allowed_count,
+ int start_count,
+ int waiter_count,
+ void (*start)(int signum, void* arg),
+ void *arg);
+struct sd_event;
+extern struct sd_event *jobs_get_sd_event();