2002-09-13 Michael Meeks <michael@ximian.com>
[platform/upstream/at-spi2-core.git] / cspi / spi_streamablecontent.c
index 5fe36a5..91df494 100644 (file)
@@ -1,3 +1,26 @@
+/*
+ * AT-SPI - Assistive Technology Service Provider Interface
+ * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
+ *
+ * Copyright 2001, 2002 Sun Microsystems Inc.,
+ * Copyright 2001, 2002 Ximian, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
 #include <cspi/spi-private.h>
 
 /**
@@ -54,9 +77,6 @@ AccessibleStreamableContent_getContentTypes (AccessibleStreamableContent *obj)
  * @obj: a pointer to the #AccessibleStreamableContent implementor on which to operate.
  * @content_type: a string specifying the content type to retrieve (should match one
  * of the return strings from #AccessibleStreamableContent_getContentTypes ()).
- * @fp: a pointer to a FILE pointer into which is placed a file handle suitable for
- *      reading the content, if possible.  Not all content types support file-handle
- *      interaction, so check this parameter for NULL before use.
  *
  * Open a streaming connection to an AccessibleStreamableContent implementor,
  *       of a particular content type
@@ -88,7 +108,8 @@ AccessibleStreamableContent_open (AccessibleStreamableContent *obj,
  **/
 SPIBoolean
 AccessibleStreamableContent_seek (AccessibleStreamableContent *obj,
-                                 long int offset)
+                                 long int offset,
+                                 unsigned int seek_type)
 {
   /* TODO: connect this to the correct libspi implementation code */
   return FALSE;