00001 #ifndef foooperationhfoo 00002 #define foooperationhfoo 00003 00004 /* $Id: operation.h 1426 2007-02-13 15:35:19Z ossman $ */ 00005 00006 /*** 00007 This file is part of PulseAudio. 00008 00009 Copyright 2004-2006 Lennart Poettering 00010 00011 PulseAudio is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU Lesser General Public License as published 00013 by the Free Software Foundation; either version 2 of the License, 00014 or (at your option) any later version. 00015 00016 PulseAudio is distributed in the hope that it will be useful, but 00017 WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 General Public License for more details. 00020 00021 You should have received a copy of the GNU Lesser General Public License 00022 along with PulseAudio; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00024 USA. 00025 ***/ 00026 00027 #include <pulse/cdecl.h> 00028 #include <pulse/def.h> 00029 00033 PA_C_DECL_BEGIN 00034 00036 typedef struct pa_operation pa_operation; 00037 00039 pa_operation *pa_operation_ref(pa_operation *o); 00040 00042 void pa_operation_unref(pa_operation *o); 00043 00045 void pa_operation_cancel(pa_operation *o); 00046 00048 pa_operation_state_t pa_operation_get_state(pa_operation *o); 00049 00050 PA_C_DECL_END 00051 00052 #endif