JULEA
Loading...
Searching...
No Matches
joperation.h
Go to the documentation of this file.
1/*
2 * JULEA - Flexible storage framework
3 * Copyright (C) 2010-2024 Michael Kuhn
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
23#ifndef JULEA_OPERATION_H
24#define JULEA_OPERATION_H
25
26#if !defined(JULEA_H) && !defined(JULEA_COMPILATION)
27#error "Only <julea.h> can be included directly."
28#endif
29
30#include <glib.h>
31
32#include <core/jlist.h>
33#include <core/jsemantics.h>
34
35G_BEGIN_DECLS
36
43typedef gboolean (*JOperationExecFunc)(JList*, JSemantics*);
44typedef void (*JOperationFreeFunc)(gpointer);
45
57
58typedef struct JOperation JOperation;
59
69
80void j_operation_free(JOperation*);
81
86G_END_DECLS
87
88#endif
void(* JOperationFreeFunc)(gpointer)
Definition joperation.h:44
gboolean(* JOperationExecFunc)(JList *, JSemantics *)
Definition joperation.h:43
JOperation * j_operation_new(void)
Definition joperation.c:38
Definition jlist.c:43
Definition joperation.h:50
JOperationFreeFunc free_func
Definition joperation.h:55
gconstpointer key
Definition joperation.h:51
gpointer data
Definition joperation.h:52
JOperationExecFunc exec_func
Definition joperation.h:54
Definition jsemantics.c:42