Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

buffer.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                                   buffer.h
00003                              -------------------
00004     begin                : Thu Nov 27 2001
00005     copyright            : (C) 2001,2002 by Christian Hoenig & Gunter Ohrner
00006     email                : pdepp@CustomCDROM.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00023 #ifndef BUFFER_H_FLAG
00024 #define BUFFER_H_FLAG
00025 
00026 #include "common.h"
00027 
00028 #include <sys/types.h>
00029 
00031 struct Buffer
00032 {
00033   char* data;     
00034   size_t len;     
00035   size_t pos;     
00036 };
00037 
00050 struct Buffer bufInit(char* data, size_t len, size_t pos);
00051 
00064 struct Buffer* bufpInit(char* data, size_t len, size_t pos);
00065 
00066 #endif

Generated on Fri Jan 25 22:40:30 2002 for PDepp Webserver by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001