summaryrefslogtreecommitdiffstats
path: root/src/procedures.h
blob: 79e23eb0fc697cd2358d00b2eb59e8085be2ceb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * eulogium_procedures, available procedures
 *
 * Copyright (c) 2015 Ultimaker B.V.
 * Author: Olliver Schinagl <o.schinagl@ultimaker.com>
 *
 * SPDX-License-Identifier:	AGPL-3.0+
 */

#ifndef _EULOGIUM_PROCEDURES_H
#define _EULOGIUM_PROCEDURES_H

#include <Eina.h>
#include <Eldbus.h>
#include <stdint.h>

#include "print_data.h"

struct procedure_data {
	char *key;
	uint_fast16_t keylen;
	Eina_Bool available;
	Eina_Bool executable;
};

struct procedure_data *procedures_init(void);
Eldbus_Pending *procedure_start_print(Eldbus_Proxy *proxy, struct print_data *print);

#endif /* _EULOGIUM_PRIVATE_H */