task.h (90ce6e2644db2c47d72f364b4de57342e50bd10a) | task.h (cb8d4c8f54b8271f642f02382eec29d468bb1c77) |
---|---|
1/* 2 * QEMU I/O task 3 * 4 * Copyright (c) 2015 Red Hat, Inc. 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 205 unchanged lines hidden (view full) --- 214 QIOTaskWorker worker, 215 gpointer opaque, 216 GDestroyNotify destroy); 217 218/** 219 * qio_task_complete: 220 * @task: the task struct 221 * | 1/* 2 * QEMU I/O task 3 * 4 * Copyright (c) 2015 Red Hat, Inc. 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 205 unchanged lines hidden (view full) --- 214 QIOTaskWorker worker, 215 gpointer opaque, 216 GDestroyNotify destroy); 217 218/** 219 * qio_task_complete: 220 * @task: the task struct 221 * |
222 * Mark the operation as succesfully completed | 222 * Mark the operation as successfully completed |
223 * and free the memory for @task. 224 */ 225void qio_task_complete(QIOTask *task); 226 227/** 228 * qio_task_abort: 229 * @task: the task struct 230 * @err: the error to record for the operation --- 25 unchanged lines hidden --- | 223 * and free the memory for @task. 224 */ 225void qio_task_complete(QIOTask *task); 226 227/** 228 * qio_task_abort: 229 * @task: the task struct 230 * @err: the error to record for the operation --- 25 unchanged lines hidden --- |