X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Ftaper-mem-port-source.h;fp=server-src%2Ftaper-mem-port-source.h;h=0000000000000000000000000000000000000000;hb=538ae376635af705ebcd686f3b4b7b72a6652985;hp=7dc062e1bc609a5688840edbbc4ad0843dc1671d;hpb=11425c69eb58b6103beb68adc13912735ba36975;p=debian%2Famanda diff --git a/server-src/taper-mem-port-source.h b/server-src/taper-mem-port-source.h deleted file mode 100644 index 7dc062e..0000000 --- a/server-src/taper-mem-port-source.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Amanda, The Advanced Maryland Automatic Network Disk Archiver - * Copyright (c) 2005-2008 Zmanda Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/* The taper memory port source is a taper source (see taper-source.h) - used for the case where we are reading directly from a client - (PORT-WRITE) and are using an in-memory buffer to hold split dump parts. */ - -#include -#include - -#include "taper-port-source.h" - -#ifndef __TAPER_MEM_PORT_SOURCE_H__ -#define __TAPER_MEM_PORT_SOURCE_H__ - - -/* - * Type checking and casting macros - */ -#define TAPER_TYPE_MEM_PORT_SOURCE (taper_mem_port_source_get_type()) -#define TAPER_MEM_PORT_SOURCE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), taper_mem_port_source_get_type(), TaperMemPortSource) -#define TAPER_MEM_PORT_SOURCE_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), taper_mem_port_source_get_type(), TaperMemPortSource const) -#define TAPER_MEM_PORT_SOURCE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), taper_mem_port_source_get_type(), TaperMemPortSourceClass) -#define TAPER_IS_MEM_PORT_SOURCE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), taper_mem_port_source_get_type ()) - -#define TAPER_MEM_PORT_SOURCE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), taper_mem_port_source_get_type(), TaperMemPortSourceClass) - -/* Private structure type */ -typedef struct _TaperMemPortSourcePrivate TaperMemPortSourcePrivate; - -/* - * Main object structure - */ -#ifndef __TYPEDEF_TAPER_MEM_PORT_SOURCE__ -#define __TYPEDEF_TAPER_MEM_PORT_SOURCE__ -typedef struct _TaperMemPortSource TaperMemPortSource; -#endif -struct _TaperMemPortSource { - TaperPortSource __parent__; - /*< private >*/ - TaperMemPortSourcePrivate *_priv; -}; - -/* - * Class definition - */ -typedef struct _TaperMemPortSourceClass TaperMemPortSourceClass; -struct _TaperMemPortSourceClass { - TaperPortSourceClass __parent__; -}; - - -/* - * Public methods - */ -GType taper_mem_port_source_get_type (void); - -#endif