Mercurial > sci
comparison lib/apic.h @ 23:2cb228f23f53
misc: rework todo/jobs HTTP requests
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 21 Jul 2022 21:55:02 +0200 |
parents | dd078aea5d02 |
children | dae2de19ca5d |
comparison
equal
deleted
inserted
replaced
22:dd078aea5d02 | 23:2cb228f23f53 |
---|---|
1 #ifndef SCI_APIC_H | 1 #ifndef SCI_APIC_H |
2 #define SCI_APIC_H | 2 #define SCI_APIC_H |
3 | 3 |
4 #include <sys/types.h> | 4 #include <sys/types.h> |
5 #include <stdint.h> | |
6 | 5 |
7 #include <jansson.h> | 6 #include <jansson.h> |
8 | 7 |
9 #include "config.h" | 8 #include "config.h" |
10 | 9 |
45 | 44 |
46 int | 45 int |
47 apic_job_add(struct apic *, struct job *); | 46 apic_job_add(struct apic *, struct job *); |
48 | 47 |
49 ssize_t | 48 ssize_t |
50 apic_job_todo(struct apic *, struct job *, size_t, intmax_t); | 49 apic_job_todo(struct apic *, struct job *, size_t, const char *); |
51 | 50 |
52 int | 51 int |
53 apic_jobresult_add(struct apic *, struct jobresult *); | 52 apic_jobresult_add(struct apic *, struct jobresult *); |
54 | 53 |
55 int | 54 int |